Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/b/i/bitcoin-abe-HEAD/test/test_std_tx.py   bitcoin-abe(Download)
def gen(testdb, request):
    chain = Abe.Chain.create('Testnet')
    blocks = []
    gen = datagen.Gen(chain=chain, db=testdb, blocks=blocks)
 

src/b/i/bitcoin-abe-HEAD/test/datagen.py   bitcoin-abe(Download)
            rng = random.Random(rng)
        if chain is None:
            chain = Abe.Chain.create("Testnet")
 
        gen._rng = rng