github.com/bytom/bytom@v1.1.2-0.20221014091027-bbcba3df6075/test/testdata/chain_tests/ct_rollback.json (about) 1 { 2 "rollback": 104, 3 "blocks": [ 4 { 5 "append": 100 6 }, 7 { 8 "transactions": [ 9 { 10 "inputs": [ 11 {"height": 1, "tx_index": 0, "output_index": 0} 12 ], 13 "outputs": [3000000000, 10000000, 3000000000] 14 } 15 ], 16 "append": 2 17 }, 18 { 19 "transactions": [ 20 { 21 "inputs": [ 22 {"height": 2, "tx_index": 0, "output_index": 0} 23 ], 24 "outputs": [3000000000, 10000000, 3000000000] 25 } 26 ] 27 }, 28 { 29 "transactions": [ 30 { 31 "inputs": [ 32 {"height": 102, "tx_index": 1, "output_index": 0}, 33 {"height": 3, "tx_index": 0, "output_index": 0} 34 ], 35 "outputs": [3000000000, 10000000, 3000000000] 36 }, 37 { 38 "inputs": [ 39 {"height": 105, "tx_index": 1, "output_index": 0}, 40 {"height": 4, "tx_index": 0, "output_index": 0} 41 ], 42 "outputs": [3000000000, 10000000, 3000000000] 43 } 44 ] 45 }, 46 { 47 "transactions": [ 48 { 49 "inputs": [ 50 {"height": 106, "tx_index": 1, "output_index": 0}, 51 {"height": 106, "tx_index": 2, "output_index": 0}, 52 {"height": 106, "tx_index": 2, "output_index": 2} 53 ], 54 "outputs": [3000000000, 10000000, 3000000000] 55 }, 56 { 57 "inputs": [ 58 {"height": 107, "tx_index": 1, "output_index": 0}, 59 {"height": 107, "tx_index": 1, "output_index": 2}, 60 {"height": 5, "tx_index": 0, "output_index": 0} 61 ], 62 "outputs": [3000000000, 10000000, 3000000000] 63 }, 64 { 65 "inputs": [ 66 {"height": 107, "tx_index": 2, "output_index": 0}, 67 {"height": 107, "tx_index": 1, "output_index": 1}, 68 {"height": 6, "tx_index": 0, "output_index": 0} 69 ], 70 "outputs": [3000000000, 10000000, 3000000000] 71 } 72 ] 73 } 74 ] 75 }