Example #1
0
def test_issuance_divisible():
    unsigned_tx_hex = bitcoin.transaction(
        issuance.compose(db, source_default, None, 'BBBB', quantity * 10, True,
                         False, 0, 0.0, ''), True)

    parse_hex(unsigned_tx_hex)

    output_new[inspect.stack()[0][3]] = unsigned_tx_hex
Example #2
0
def test_issuance_indivisible_callable():
    unsigned_tx_hex = bitcoin.transaction(issuance.compose(
        db, source_default, None, 'BBBC', round(quantity / 1000), False, True,
        17, 0.015, 'foobar'),
                                          encoding='multisig')

    parse_hex(unsigned_tx_hex)

    output_new[inspect.stack()[0][3]] = unsigned_tx_hex
Example #3
0
def test_issuance_indivisible_callable ():
    unsigned_tx_hex = bitcoin.transaction(issuance.compose(db, source_default, None, 'BBBC', round(quantity / 1000), False, True, 17, 0.015, 'foobar'), encoding='multisig')

    parse_hex(unsigned_tx_hex)

    output_new[inspect.stack()[0][3]] = unsigned_tx_hex
Example #4
0
def test_issuance_divisible ():
    unsigned_tx_hex = bitcoin.transaction(issuance.compose(db, source_default, None, 'BBBB', quantity * 10, True, False, 0, 0.0, ''), encoding='multisig')

    parse_hex(unsigned_tx_hex)

    output_new[inspect.stack()[0][3]] = unsigned_tx_hex