示例#1
0
def test_burn():
    unsigned_tx_hex = bitcoin.transaction(
        burn.compose(db, source_default, int(.62 * quantity)), True)

    parse_hex(unsigned_tx_hex)

    output_new[inspect.stack()[0][3]] = unsigned_tx_hex
示例#2
0
def test_overburn():
    unsigned_tx_hex = bitcoin.transaction(
        burn.compose(db, source_default, (1 * config.UNIT), overburn=True),
        encoding='multisig')  # Try to burn a whole 'nother BTC.

    parse_hex(unsigned_tx_hex)

    output_new[inspect.stack()[0][3]] = unsigned_tx_hex
示例#3
0
def test_overburn ():
    unsigned_tx_hex = bitcoin.transaction(burn.compose(db, source_default, (1 * config.UNIT), overburn=True), encoding='multisig')  # Try to burn a whole 'nother BTC.

    parse_hex(unsigned_tx_hex)

    output_new[inspect.stack()[0][3]] = unsigned_tx_hex
示例#4
0
def test_burn ():
    unsigned_tx_hex = bitcoin.transaction(burn.compose(db, source_default, int(.62 * quantity)), encoding='multisig')

    parse_hex(unsigned_tx_hex)

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