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
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
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
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