Open roadscape opened 7 years ago
I don't think this is an issue any more.
Observed on testnet. When there is no op in a block, the vop gets an invalid trx_id
, which explains why it would be rarely observed on mainnet.
curl -s --data '{"jsonrpc":"2.0","id":"1","method":"condenser_api.get_ops_in_block","params":[417041,false]}' https://testnet.steemitdev.com
{
"jsonrpc":"2.0",
"result":[
{
"trx_id":"491201af771a086f3a520cb4c675d676fec62467",
"block":417041,
"trx_in_block":4294967295,
"op_in_trx":0,
"virtual_op":1,
"timestamp":"2018-10-14T03:30:24",
"op":[
"producer_reward",
{
"producer":"init-2",
"vesting_shares":"0.070454 VESTS"
}
]
}
],
"id":"1"
}
Note the trx_id: 491201af771a086f3a520cb4c675d676fec62467
The next block:
curl -s --data '{"jsonrpc":"2.0","id":"1","method":"condenser_api.get_ops_in_block","params":[417041,false]}' https://testnet.steemitdev.com
{
"jsonrpc": "2.0",
"result": [
{
"trx_id": "9f3aecd81c280414eabf39ad1a3b1926b933f866",
"block": 417042,
"trx_in_block": 0,
"op_in_trx": 0,
"virtual_op": 0,
"timestamp": "2018-10-14T03:30:24",
"op": [
"vote",
{
"voter": "bobtucks",
"author": "haejin",
"permlink": "4y4gyp-supervalu-inc-svu-analysis",
"weight": 5000
}
]
},
{
"trx_id": "0000000000000000000000000000000000000000",
"block": 417042,
"trx_in_block": 4294967295,
"op_in_trx": 0,
"virtual_op": 1,
"timestamp": "2018-10-14T03:30:27",
"op": [
"producer_reward",
{
"producer": "init-14",
"vesting_shares": "0.070454 VESTS"
}
]
}
],
"id": "1"
}
In account history for init-2
, a vop has trx_id: 491201af771a086f3a520cb4c675d676fec62467
curl -s --data '{"jsonrpc":"2.0","id":1,"method":"condenser_api.get_account_history","params":["init-2",-1,1000]}' https://testnet.steemitdev.com
.
.
.
[
17480,
{
"trx_id": "0000000000000000000000000000000000000000",
"block": 417026,
"trx_in_block": 4294967295,
"op_in_trx": 0,
"virtual_op": 1,
"timestamp": "2018-10-14T03:29:21",
"op": [
"producer_reward",
{
"producer": "init-2",
"vesting_shares": "0.070454 VESTS"
}
]
}
],
[
17481,
{
"trx_id": "491201af771a086f3a520cb4c675d676fec62467",
"block": 417041,
"trx_in_block": 4294967295,
"op_in_trx": 0,
"virtual_op": 1,
"timestamp": "2018-10-14T03:30:24",
"op": [
"producer_reward",
{
"producer": "init-2",
"vesting_shares": "0.070454 VESTS"
}
]
}
],
[
17482,
{
"trx_id": "0000000000000000000000000000000000000000",
"block": 417056,
"trx_in_block": 4294967295,
"op_in_trx": 0,
"virtual_op": 1,
"timestamp": "2018-10-14T03:31:27",
"op": [
"producer_reward",
{
"producer": "init-2",
"vesting_shares": "0.070454 VESTS"
}
]
}
]
.
.
.
Different nodes report different hashes, and none of them reference valid tx's.