profile
viewpoint
Cryptcoin Junkey cryptcoin-junkey @monaco-ex @monaparty @monacoinproject UTXO Just a BOT.

cryptcoin-junkey/counterwallet 2

Counterparty web wallet

cryptcoin-junkey/docker-bitcoind 1

💰 Bitcoind Docker image that runs the Bitcoin node in a container for easy deployment

cryptcoin-junkey/blue-app-btc 0

Bitcoin wallet application for Ledger Blue and Nano S

cryptcoin-junkey/cips 0

Counterparty Improvement Proposals

cryptcoin-junkey/connect-azuretables 0

An Azure Table Storage based session store for express-session

cryptcoin-junkey/counterblock 0

Provides extended API services to Counterwallet, as well as Counterparty 3rd-party applications

cryptcoin-junkey/counterparty-lib 0

Counterparty Protocol Reference Implementation

cryptcoin-junkey/docker-rippled 0

Docker ubuntu based rippled image

cryptcoin-junkey/Documentation 0

Official Documentation of the Counterparty Project

cryptcoin-junkey/eosio.cdt 0

EOSIO.CDT (Contract Development Toolkit) is a suite of tools used to build EOSIO contracts

release CounterpartyXCP/counterparty-lib

v9.59.1

released time in 13 hours

created tagCounterpartyXCP/counterparty-lib

tagv9.59.1

Counterparty Protocol Reference Implementation

created time in 13 hours

push eventCounterpartyXCP/counterparty-lib

chiguireitor

commit sha 25a1c11b07ee8be7454cff9c2c188cf6fbe2c931

Bumped up version number

view details

push time in 13 hours

PR merged CounterpartyXCP/counterparty-lib

fix: string indices must be integers

Fix https://github.com/CounterpartyXCP/counterparty-lib/issues/1100

pubkeyhash: mi6fCpyaPBN39ixyYbXdjEMqPntV89RMJc

raw_transactions: {
'eda58dae634fd81e0647a4a85785e1ae6edd06d127ad333165639f70d2924e0b': {'vout': [{'value': 0.0, 'scriptPubKey': {'type': 'nulldata', 'hex': '6a2ed9daf1e7efa7afa25e14d54b0c0f9ea4fda6d5494293b9f4d5009ce57ce5ecd4064664a4bc06844ad697854831cf', 'asm': 'OP_RETURN d9daf1e7efa7afa25e14d54b0c0f9ea4fda6d5494293b9f4d5009ce57ce5ecd4064664a4bc06844ad697854831cf'}, 'n': 0}, {'value': 0.97732863, 'scriptPubKey': {'type': 'pubkeyhash', 'addresses': ['mi6fCpyaPBN39ixyYbXdjEMqPntV89RMJc'], 'hex': '76a9141c5020cf9c04fdd8229dcced2e8e026b62b83f1d88ac', 'asm': 'OP_DUP OP_HASH160 1c5020cf9c04fdd8229dcced2e8e026b62b83f1d OP_EQUALVERIFY OP_CHECKSIG', 'reqSigs': 1}, 'n': 1}], 'vin': [{'vout': 1, 'scriptSig': {'hex': '47304402200be4c33845a44f56b4f19304b66963493bc9d00545e07694b19ec2dbe4f73da5022046a3ca7da63f2379d432d481a0c353f6f94d31ca07804b87120b6b30a4cfbb9301210346f73bedbf53b75b149d58cad16a3257163eb4022c8e0a3d366db2bfcc369dc9', 'asm': '304402200be4c33845a44f56b4f19304b66963493bc9d00545e07694b19ec2dbe4f73da5022046a3ca7da63f2379d432d481a0c353f6f94d31ca07804b87120b6b30a4cfbb93[ALL] 0346f73bedbf53b75b149d58cad16a3257163eb4022c8e0a3d366db2bfcc369dc9'}, 'txid': 'f86c1e410f6ec7a013251277839b2804d7c52385bfd58d5bee214051ab15236a', 'sequence': 4294967295}], 'txid': 'eda58dae634fd81e0647a4a85785e1ae6edd06d127ad333165639f70d2924e0b', 'weight': 992, 'hex': '01000000016a2315ab514021ee5b8dd5bf8523c5d704289b8377122513a0c76e0f411e6cf8010000006a47304402200be4c33845a44f56b4f19304b66963493bc9d00545e07694b19ec2dbe4f73da5022046a3ca7da63f2379d432d481a0c353f6f94d31ca07804b87120b6b30a4cfbb9301210346f73bedbf53b75b149d58cad16a3257163eb4022c8e0a3d366db2bfcc369dc9ffffffff020000000000000000306a2ed9daf1e7efa7afa25e14d54b0c0f9ea4fda6d5494293b9f4d5009ce57ce5ecd4064664a4bc06844ad697854831cfff48d305000000001976a9141c5020cf9c04fdd8229dcced2e8e026b62b83f1d88ac00000000', 'version': 1, 'hash': 'eda58dae634fd81e0647a4a85785e1ae6edd06d127ad333165639f70d2924e0b', 'vsize': 248, 'blocktime': 1585628298, 'size': 248, 'time': 1585628298, 'locktime': 0, 'blockhash': '00000000000004a0fa44951cc5c720d71c6d989f898db929df743fc0a211eeb9', 'confirmations': 210139}, '193183501906e7274d057729e0d570df4a2f5747753a1e02a1302db7f343145a': {'vout': [{'value': 0.0, 'scriptPubKey': {'type': 'nulldata', 'hex': '6a2e0bcefc223d163382ef40e3b075feccc6b47b5307f822c6b107c5ebbafd777d326335edeecc05aa3d90d77e51e8dd', 'asm': 'OP_RETURN 0bcefc223d163382ef40e3b075feccc6b47b5307f822c6b107c5ebbafd777d326335edeecc05aa3d90d77e51e8dd'}, 'n': 0}, {'value': 0.11991402, 'scriptPubKey': {'type': 'pubkeyhash', 'addresses': ['mi6fCpyaPBN39ixyYbXdjEMqPntV89RMJc'], 'hex': '76a9141c5020cf9c04fdd8229dcced2e8e026b62b83f1d88ac', 'asm': 'OP_DUP OP_HASH160 1c5020cf9c04fdd8229dcced2e8e026b62b83f1d OP_EQUALVERIFY OP_CHECKSIG', 'reqSigs': 1}, 'n': 1}], 'vin': [{'vout': 1, 'scriptSig': {'hex': '47304402203d1194d1345abcc01aa8ecc8e5dc73b1d49d21c73359f95c6edb8be5fdea1a2302205f622ed94795a8ac9a2d0dcb0707bd41be9ca98c60455ee23a62b01e4bd4cf0c01210346f73bedbf53b75b149d58cad16a3257163eb4022c8e0a3d366db2bfcc369dc9', 'asm': '304402203d1194d1345abcc01aa8ecc8e5dc73b1d49d21c73359f95c6edb8be5fdea1a2302205f622ed94795a8ac9a2d0dcb0707bd41be9ca98c60455ee23a62b01e4bd4cf0c[ALL] 0346f73bedbf53b75b149d58cad16a3257163eb4022c8e0a3d366db2bfcc369dc9'}, 'txid': 'c00b12eb0a7adeae9eb49a7e1b00a1a3bac5da0c9dee0fba5fdf1d465874dfb3', 'sequence': 4294967295}], 'txid': '193183501906e7274d057729e0d570df4a2f5747753a1e02a1302db7f343145a', 'weight': 992, 'hex': '0100000001b3df7458461ddf5fba0fee9d0cdac5baa3a1001b7e9ab49eaede7a0aeb120bc0010000006a47304402203d1194d1345abcc01aa8ecc8e5dc73b1d49d21c73359f95c6edb8be5fdea1a2302205f622ed94795a8ac9a2d0dcb0707bd41be9ca98c60455ee23a62b01e4bd4cf0c01210346f73bedbf53b75b149d58cad16a3257163eb4022c8e0a3d366db2bfcc369dc9ffffffff020000000000000000306a2e0bcefc223d163382ef40e3b075feccc6b47b5307f822c6b107c5ebbafd777d326335edeecc05aa3d90d77e51e8dd6af9b600000000001976a9141c5020cf9c04fdd8229dcced2e8e026b62b83f1d88ac00000000', 'version': 1, 'hash': '193183501906e7274d057729e0d570df4a2f5747753a1e02a1302db7f343145a', 'vsize': 248, 'blocktime': 1547723434, 'size': 248, 'time': 1547723434, 'locktime': 0, 'blockhash': '00000000000774c0aac48dda4e54968eb89d5228a368581f0a2743f1093e2e1b', 'confirmations': 449827}

raw_transactions is a hash map { key1: {/*tx info*/}, key2: {/*tx info*/} } with key1, key2 are String therefore we can't key1['vin']

+2 -1

1 comment

1 changed file

longhoangwkm

pr closed time in 14 hours

issue closedCounterpartyXCP/counterparty-lib

MPMA bug: Error composing send transaction via API: string indices must be integers

When I create mpma txn with over 2 outputs. I got this error:

source: 'mi6fCpyaPBN39ixyYbXdjEMqPntV89RMJc',
destination: ["mypcUU2fYyJav7XUpPLtMVhuPupArLJtiM", "mqx4WiVrGoc3HVg1pDEz6VbjvT9UJqpXtM", "mzQvNPAQQbZDBzhe3SaqncGpATzuqhcUDQ", "mrSdMHTurgPZyE8PtBtmRGmsuzDTU83DGs"],
asset: ["A16706933873489120704", "A16706933873489120704", "A16706933873489120704", "A16706933873489120704"],
quantity: [1999790, 4999790, 9999790, 9999790],
fee: 840)
({"code"=>-32001, "message"=>"Error composing send transaction via API: string indices must be integers"})


[2021-01-06 09:02:56][WARNING] Error composing send transaction via API: string indices must be integers
[2021-01-06 09:02:56][WARNING] Traceback (most recent call last):
  File "/counterparty-lib/counterpartylib/lib/api.py", line 540, in create_method
    return compose_transaction(self.db, name=tx, params=transaction_args, **common_args)
  File "/counterparty-lib/counterpartylib/lib/api.py", line 405, in compose_transaction
    segwit=segwit)
  File "/counterparty-lib/counterpartylib/lib/transaction.py", line 427, in construct
    dust_return_pubkey = get_dust_return_pubkey(source, provided_pubkeys, encoding)
  File "/counterparty-lib/counterpartylib/lib/transaction.py", line 123, in get_dust_return_pubkey
    dust_return_pubkey_hex = backend.pubkeyhash_to_pubkey(source, provided_pubkeys)
  File "/counterparty-lib/counterpartylib/lib/backend/__init__.py", line 221, in pubkeyhash_to_pubkey
    for vin in tx['vin']:
TypeError: string indices must be integers

But If I remove any two elements in an array. The error has gone.

(source: 'mi6fCpyaPBN39ixyYbXdjEMqPntV89RMJc',
destination: ["mqx4WiVrGoc3HVg1pDEz6VbjvT9UJqpXtM", "mrSdMHTurgPZyE8PtBtmRGmsuzDTU83DGs"],
asset: ["A16706933873489120704", "A16706933873489120704"],
quantity: [1999790, 499979],
fee: 840)
0100000001e4ac9a366427e3de0da55d681e1dbd1fdcc662675fc7bd7f2e348e2f972b2420040000001976a9141c5020cf9c04fdd8229dcced2e8e026b62b83f1d88acffffffff020000000000000000516a4c4e112225494fa6792413840933116a9c5067aa6de758ffd4a154323b2ff4469c2d73c163abb28298ff1be54c5a423f627ed64388536cb5273bea688ec5c07ed0b83dc61c8fcfaff38f9a8de378d40e18f39e00000000001976a9141c5020cf9c04fdd8229dcced2e8e026b62b83f1d88ac00000000

closed time in 14 hours

longhoangwkm

push eventCounterpartyXCP/counterparty-lib

longhoang.wkm

commit sha 988b4078e7ce49a516d62c1418e770301e6c8509

fix: string indices must be integers

view details

chiguireitor

commit sha d822436e0d97ddd23cd0c765e2f59b90fe7815ee

Merge branch 'fix/mpma_3_destinations' of https://github.com/longhoangwkm/counterparty-lib

view details

push time in 14 hours

issue closedCounterpartyXCP/counterparty-lib

[Help] Get infor of unconfirmed CP send txn

Hi, which APIs(counterparty API) I can use to get informations of unconfirmed CP send txn. Such as curl https://testnet.xchain.io/api/tx/6473585e3b3f9792dc31daa79f8dc259607d3684aa60d7d1e54b7a16124f0cfb | jq

{
  "asset": "A16706933873489120704",
  "asset_longname": "RAIZER.BTC",
  "destination": "mjtwweXS2u5q1Ybypb271Wmehmj9g1w2th",
  "memo": null,
  "quantity": "0.00400000",
  "sends": [
    [
      "mjtwweXS2u5q1Ybypb271Wmehmj9g1w2th",
      "A16706933873489120704",
      "RAIZER.BTC",
      400000,
      null,
      "Unconfirmed"
    ]
  ],
  "source": "mypcUU2fYyJav7XUpPLtMVhuPupArLJtiM",
  "status": "Unconfirmed",
  "timestamp": 1610533617,
  "tx_hash": "6473585e3b3f9792dc31daa79f8dc259607d3684aa60d7d1e54b7a16124f0cfb",
  "tx_type": "Send"
}

Or I have to get OP_RETURN data and unpack it myself

get_sends only works after tx is confirmed.

closed time in 5 days

longhoangwkm

issue commentCounterpartyXCP/counterparty-lib

[Help] Get infor of unconfirmed CP send txn

I did it by using get_tx_info(tx_hex: tx_hex) and .unpack(data_hex: data_hex) apis. Please let me know if we have better solution @chiguireitor

longhoangwkm

comment created time in 5 days

issue openedCounterpartyXCP/counterparty-lib

[Help] Get infor of unconfirmed CP send txn

Hi, which APIs(counterparty API) I can use to get information of unconfirmed CP send txn. Such as curl https://testnet.xchain.io/api/tx/6473585e3b3f9792dc31daa79f8dc259607d3684aa60d7d1e54b7a16124f0cfb | jq

{
  "asset": "A16706933873489120704",
  "asset_longname": "RAIZER.BTC",
  "destination": "mjtwweXS2u5q1Ybypb271Wmehmj9g1w2th",
  "memo": null,
  "quantity": "0.00400000",
  "sends": [
    [
      "mjtwweXS2u5q1Ybypb271Wmehmj9g1w2th",
      "A16706933873489120704",
      "RAIZER.BTC",
      400000,
      null,
      "Unconfirmed"
    ]
  ],
  "source": "mypcUU2fYyJav7XUpPLtMVhuPupArLJtiM",
  "status": "Unconfirmed",
  "timestamp": 1610533617,
  "tx_hash": "6473585e3b3f9792dc31daa79f8dc259607d3684aa60d7d1e54b7a16124f0cfb",
  "tx_type": "Send"
}

created time in 5 days

release CounterpartyXCP/counterparty-lib

v9.59.0

released time in 7 days

created tagCounterpartyXCP/counterparty-lib

tagv9.59.0

Counterparty Protocol Reference Implementation

created time in 7 days

push eventCounterpartyXCP/counterparty-lib

chiguireitor

commit sha 50db643fb1f2aa34ad6ed7c177ed5b6698f5abe1

Updated changelog

view details

push time in 7 days

created repositoryfujiwaraizuho/nimSampleTodoList

Nim の練習用サンプル | CUI Todo List

created time in 7 days

push eventCounterpartyXCP/counterparty-lib

chiguireitor

commit sha fe8c2c306527ebcec20edb894df42486b45866b5

Fixed dispenser opening on empty addresses

view details

push time in 8 days

push eventCounterpartyXCP/counterparty-lib

chiguireitor

commit sha 5248d359803e873b35ec62dbcd94c64f09bc64f8

Added txout ordering to the api call

view details

push time in 10 days

pull request commentCounterpartyXCP/counterparty-lib

fix: string indices must be integers

cc @chiguireitor

longhoangwkm

comment created time in 11 days

PR opened CounterpartyXCP/counterparty-lib

fix: string indices must be integers

Fix https://github.com/CounterpartyXCP/counterparty-lib/issues/1100

pubkeyhash: mi6fCpyaPBN39ixyYbXdjEMqPntV89RMJc

raw_transactions: {
'eda58dae634fd81e0647a4a85785e1ae6edd06d127ad333165639f70d2924e0b': {'vout': [{'value': 0.0, 'scriptPubKey': {'type': 'nulldata', 'hex': '6a2ed9daf1e7efa7afa25e14d54b0c0f9ea4fda6d5494293b9f4d5009ce57ce5ecd4064664a4bc06844ad697854831cf', 'asm': 'OP_RETURN d9daf1e7efa7afa25e14d54b0c0f9ea4fda6d5494293b9f4d5009ce57ce5ecd4064664a4bc06844ad697854831cf'}, 'n': 0}, {'value': 0.97732863, 'scriptPubKey': {'type': 'pubkeyhash', 'addresses': ['mi6fCpyaPBN39ixyYbXdjEMqPntV89RMJc'], 'hex': '76a9141c5020cf9c04fdd8229dcced2e8e026b62b83f1d88ac', 'asm': 'OP_DUP OP_HASH160 1c5020cf9c04fdd8229dcced2e8e026b62b83f1d OP_EQUALVERIFY OP_CHECKSIG', 'reqSigs': 1}, 'n': 1}], 'vin': [{'vout': 1, 'scriptSig': {'hex': '47304402200be4c33845a44f56b4f19304b66963493bc9d00545e07694b19ec2dbe4f73da5022046a3ca7da63f2379d432d481a0c353f6f94d31ca07804b87120b6b30a4cfbb9301210346f73bedbf53b75b149d58cad16a3257163eb4022c8e0a3d366db2bfcc369dc9', 'asm': '304402200be4c33845a44f56b4f19304b66963493bc9d00545e07694b19ec2dbe4f73da5022046a3ca7da63f2379d432d481a0c353f6f94d31ca07804b87120b6b30a4cfbb93[ALL] 0346f73bedbf53b75b149d58cad16a3257163eb4022c8e0a3d366db2bfcc369dc9'}, 'txid': 'f86c1e410f6ec7a013251277839b2804d7c52385bfd58d5bee214051ab15236a', 'sequence': 4294967295}], 'txid': 'eda58dae634fd81e0647a4a85785e1ae6edd06d127ad333165639f70d2924e0b', 'weight': 992, 'hex': '01000000016a2315ab514021ee5b8dd5bf8523c5d704289b8377122513a0c76e0f411e6cf8010000006a47304402200be4c33845a44f56b4f19304b66963493bc9d00545e07694b19ec2dbe4f73da5022046a3ca7da63f2379d432d481a0c353f6f94d31ca07804b87120b6b30a4cfbb9301210346f73bedbf53b75b149d58cad16a3257163eb4022c8e0a3d366db2bfcc369dc9ffffffff020000000000000000306a2ed9daf1e7efa7afa25e14d54b0c0f9ea4fda6d5494293b9f4d5009ce57ce5ecd4064664a4bc06844ad697854831cfff48d305000000001976a9141c5020cf9c04fdd8229dcced2e8e026b62b83f1d88ac00000000', 'version': 1, 'hash': 'eda58dae634fd81e0647a4a85785e1ae6edd06d127ad333165639f70d2924e0b', 'vsize': 248, 'blocktime': 1585628298, 'size': 248, 'time': 1585628298, 'locktime': 0, 'blockhash': '00000000000004a0fa44951cc5c720d71c6d989f898db929df743fc0a211eeb9', 'confirmations': 210139}, '193183501906e7274d057729e0d570df4a2f5747753a1e02a1302db7f343145a': {'vout': [{'value': 0.0, 'scriptPubKey': {'type': 'nulldata', 'hex': '6a2e0bcefc223d163382ef40e3b075feccc6b47b5307f822c6b107c5ebbafd777d326335edeecc05aa3d90d77e51e8dd', 'asm': 'OP_RETURN 0bcefc223d163382ef40e3b075feccc6b47b5307f822c6b107c5ebbafd777d326335edeecc05aa3d90d77e51e8dd'}, 'n': 0}, {'value': 0.11991402, 'scriptPubKey': {'type': 'pubkeyhash', 'addresses': ['mi6fCpyaPBN39ixyYbXdjEMqPntV89RMJc'], 'hex': '76a9141c5020cf9c04fdd8229dcced2e8e026b62b83f1d88ac', 'asm': 'OP_DUP OP_HASH160 1c5020cf9c04fdd8229dcced2e8e026b62b83f1d OP_EQUALVERIFY OP_CHECKSIG', 'reqSigs': 1}, 'n': 1}], 'vin': [{'vout': 1, 'scriptSig': {'hex': '47304402203d1194d1345abcc01aa8ecc8e5dc73b1d49d21c73359f95c6edb8be5fdea1a2302205f622ed94795a8ac9a2d0dcb0707bd41be9ca98c60455ee23a62b01e4bd4cf0c01210346f73bedbf53b75b149d58cad16a3257163eb4022c8e0a3d366db2bfcc369dc9', 'asm': '304402203d1194d1345abcc01aa8ecc8e5dc73b1d49d21c73359f95c6edb8be5fdea1a2302205f622ed94795a8ac9a2d0dcb0707bd41be9ca98c60455ee23a62b01e4bd4cf0c[ALL] 0346f73bedbf53b75b149d58cad16a3257163eb4022c8e0a3d366db2bfcc369dc9'}, 'txid': 'c00b12eb0a7adeae9eb49a7e1b00a1a3bac5da0c9dee0fba5fdf1d465874dfb3', 'sequence': 4294967295}], 'txid': '193183501906e7274d057729e0d570df4a2f5747753a1e02a1302db7f343145a', 'weight': 992, 'hex': '0100000001b3df7458461ddf5fba0fee9d0cdac5baa3a1001b7e9ab49eaede7a0aeb120bc0010000006a47304402203d1194d1345abcc01aa8ecc8e5dc73b1d49d21c73359f95c6edb8be5fdea1a2302205f622ed94795a8ac9a2d0dcb0707bd41be9ca98c60455ee23a62b01e4bd4cf0c01210346f73bedbf53b75b149d58cad16a3257163eb4022c8e0a3d366db2bfcc369dc9ffffffff020000000000000000306a2e0bcefc223d163382ef40e3b075feccc6b47b5307f822c6b107c5ebbafd777d326335edeecc05aa3d90d77e51e8dd6af9b600000000001976a9141c5020cf9c04fdd8229dcced2e8e026b62b83f1d88ac00000000', 'version': 1, 'hash': '193183501906e7274d057729e0d570df4a2f5747753a1e02a1302db7f343145a', 'vsize': 248, 'blocktime': 1547723434, 'size': 248, 'time': 1547723434, 'locktime': 0, 'blockhash': '00000000000774c0aac48dda4e54968eb89d5228a368581f0a2743f1093e2e1b', 'confirmations': 449827}

raw_transactions is a hash map { key1: {/*tx info*/}, key2: {/*tx info*/} } with key1, key2 are String therefore we can't key1['vin']

+2 -1

0 comment

1 changed file

pr created time in 11 days

startedasdf-vm/asdf

started time in 12 days

issue commentCounterpartyXCP/counterparty-lib

MPMA bug: Error composing send transaction via API: string indices must be integers

That's because if you send an MPMA send for 2 addresses + 2 assets it fits in OP_RETURN, but more than that and you have to do the P2SH encoding, which involves 2 transactions

longhoangwkm

comment created time in 12 days

startedandreaferretti/rosencrantz

started time in 12 days

starteditsumura-h/nim-allographer

started time in 12 days

issue commentCounterpartyXCP/counterparty-lib

MPMA bug: Error composing send transaction via API: string indices must be integers

raw_transactions is a hash map and tx_id as key. https://github.com/wakumo/counterparty-lib/commit/09fb4aa73b0176e6b6457bf29b532b0d9dcd522a I'll make a PR soon

longhoangwkm

comment created time in 12 days

issue openedCounterpartyXCP/counterparty-lib

MPMA bug: Error composing send transaction via API: string indices must be integers

When I create mpma txn with over 2 outputs. I got this error:

source: 'mi6fCpyaPBN39ixyYbXdjEMqPntV89RMJc',
destination: ["mypcUU2fYyJav7XUpPLtMVhuPupArLJtiM", "mqx4WiVrGoc3HVg1pDEz6VbjvT9UJqpXtM", "mzQvNPAQQbZDBzhe3SaqncGpATzuqhcUDQ", "mrSdMHTurgPZyE8PtBtmRGmsuzDTU83DGs"],
asset: ["A16706933873489120704", "A16706933873489120704", "A16706933873489120704", "A16706933873489120704"],
quantity: [1999790, 4999790, 9999790, 9999790],
fee: 840)
[2021-01-06 09:02:56][WARNING] Error composing send transaction via API: string indices must be integers
[2021-01-06 09:02:56][WARNING] Traceback (most recent call last):
  File "/counterparty-lib/counterpartylib/lib/api.py", line 540, in create_method
    return compose_transaction(self.db, name=tx, params=transaction_args, **common_args)
  File "/counterparty-lib/counterpartylib/lib/api.py", line 405, in compose_transaction
    segwit=segwit)
  File "/counterparty-lib/counterpartylib/lib/transaction.py", line 427, in construct
    dust_return_pubkey = get_dust_return_pubkey(source, provided_pubkeys, encoding)
  File "/counterparty-lib/counterpartylib/lib/transaction.py", line 123, in get_dust_return_pubkey
    dust_return_pubkey_hex = backend.pubkeyhash_to_pubkey(source, provided_pubkeys)
  File "/counterparty-lib/counterpartylib/lib/backend/__init__.py", line 221, in pubkeyhash_to_pubkey
    for vin in tx['vin']:
TypeError: string indices must be integers

created time in 12 days

issue closedCounterpartyXCP/counterparty-lib

NameError: name 'address' is not defined

  • Latest version
  • Testnet
[2021-01-06 01:56:02][WARNING] ParseTransactionError for tx be2185fe8e7fd3f9d7c7273e0c59fd0e83db03cb6ddd3c83af75a29aef619132: name 'address' is not defined
[2021-01-06 01:56:02][ERROR] Unhandled Exception
Traceback (most recent call last):
  File "/counterparty-lib/counterpartylib/lib/blocks.py", line 128, in parse_tx
    dispenser.parse(db, tx, message)
  File "/counterparty-lib/counterpartylib/lib/messages/dispenser.py", line 142, in parse
    action_address = address.unpack(message[LENGTH:LENGTH+21])
NameError: name 'address' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/counterparty-server", line 9, in <module>
    load_entry_point('counterparty-cli', 'console_scripts', 'counterparty-server')()
  File "/counterparty-cli/counterpartycli/__init__.py", line 16, in server_main
    server.main()
  File "/counterparty-cli/counterpartycli/server.py", line 164, in main
    server.start_all(db)
  File "/counterparty-lib/counterpartylib/server.py", line 491, in start_all
    blocks.follow(db)
  File "/counterparty-lib/counterpartylib/lib/blocks.py", line 1405, in follow
    new_ledger_hash, new_txlist_hash, new_messages_hash, found_messages_hash = parse_block(db, block_index, block_time)
  File "/counterparty-lib/counterpartylib/lib/blocks.py", line 207, in parse_block
    raise e
  File "/counterparty-lib/counterpartylib/lib/blocks.py", line 201, in parse_block
    parse_tx(db, tx)
  File "/counterparty-lib/counterpartylib/lib/blocks.py", line 147, in parse_tx
    raise exceptions.ParseTransactionError("%s" % e)
counterpartylib.lib.exceptions.ParseTransactionError: name 'address' is not defined

cc @chiguireitor

closed time in 12 days

longhoangwkm

issue commentCounterpartyXCP/counterparty-lib

NameError: name 'address' is not defined

Ops, It seems cloud build cached problem. I removed and rebuild the trigger ok now. Thanks, @chiguireitor

longhoangwkm

comment created time in 12 days

issue commentCounterpartyXCP/counterparty-lib

NameError: name 'address' is not defined

"address.py" should be in your counterpartylib/lib/ directory, please check if you have the latest repo on your libraries dir

longhoangwkm

comment created time in 12 days

push eventCounterpartyXCP/counterparty-lib

chiguireitor

commit sha 74a457df36261e580b29161a26f0f561f95ce06e

Fixed some addresses not getting any utxos due to invalid outpoints

view details

push time in 12 days

issue commentCounterpartyXCP/counterparty-lib

NameError: name 'address' is not defined

Ops @chiguireitor I still got that error. It seem can't get address module hmm

longhoangwkm

comment created time in 12 days

issue commentCounterpartyXCP/counterparty-lib

NameError: name 'address' is not defined

Thanks, I will pull and rebuild

longhoangwkm

comment created time in 12 days

more