github.com/Bytom/bytom@v1.1.2-0.20210127130405-ae40204c0b09/test/testdata/wallet_tests/wt_invalid_txs.json (about) 1 { 2 "keys": [ 3 {"name": "alice", "password": "alice"}, 4 {"name": "bob", "password": "bob"}, 5 {"name": "default", "password": "default"} 6 ], 7 "accounts": [ 8 {"name": "alice", "keys": ["alice"], "quorum": 1}, 9 {"name": "bob", "keys": ["bob"], "quorum": 1}, 10 {"name": "default", "keys": ["default"], "quorum": 1} 11 ], 12 "blocks": [ 13 { 14 "coinbase_account": "alice", 15 "post_states": [ 16 {"name": "alice", "asset": "BTM", "amount": 41250000000} 17 ], 18 "append": 100 19 }, 20 { 21 "coinbase_account": "bob", 22 "transactions": [ 23 { 24 "passwords": ["alice"], 25 "inputs": [ 26 {"type": "spend_account", "name": "alice", "amount": 1000000000, "asset": "BTM"}, 27 {"type": "issue", "name": "alice", "amount": 100, "asset": "GOLD"} 28 ], 29 "outputs": [ 30 {"type": "output", "name": "alice", "amount": 100, "asset": "GOLD"} 31 ] 32 } 33 ], 34 "post_states": [ 35 {"name": "alice", "asset": "BTM", "amount": 40250000000}, 36 {"name": "alice", "asset": "GOLD", "amount": 100}, 37 {"name": "bob", "asset": "BTM", "amount": 42250000000} 38 ], 39 "append": 0 40 }, 41 { 42 "coinbase_account": "default", 43 "transactions": [ 44 { 45 "passwords": ["alice"], 46 "inputs": [ 47 {"type": "spend_account", "name": "alice", "amount": 700000000000, "asset": "BTM"} 48 ], 49 "outputs": [ 50 {"type": "output", "name": "alice", "amount": 400000000000, "asset": "BTM"}, 51 {"type": "output", "name": "bob", "amount": 299000000000, "asset": "BTM"} 52 ] 53 }, 54 { 55 "passwords": ["alice"], 56 "inputs": [ 57 {"type": "spend_account", "name": "alice", "amount": 1000000000, "asset": "BTM"}, 58 {"type": "spend_account", "name": "alice", "amount": 100, "asset": "GOLD"} 59 ], 60 "outputs": [ 61 {"type": "retire", "name": "alice", "amount": 100, "asset": "GOLD"} 62 ] 63 } 64 ], 65 "post_states": [ 66 {"name": "alice", "asset": "BTM", "amount": 39250000000}, 67 {"name": "alice", "asset": "GOLD", "amount": 0}, 68 {"name": "bob", "asset": "BTM", "amount": 42250000000} 69 ], 70 "append": 0 71 }, 72 { 73 "coinbase_account": "default", 74 "transactions": [ 75 { 76 "passwords": ["alice"], 77 "inputs": [ 78 {"type": "spend_account", "name": "alice", "amount": 1000000000, "asset": "BTM"}, 79 {"type": "spend_account", "name": "alice", "amount": 20, "asset": "GOLD"} 80 ], 81 "outputs": [ 82 {"type": "output", "name": "bob", "amount": 20, "asset": "GOLD"} 83 ] 84 } 85 ], 86 "post_states": [ 87 {"name": "alice", "asset": "BTM", "amount": 39250000000}, 88 {"name": "alice", "asset": "GOLD", "amount": 0}, 89 {"name": "bob", "asset": "BTM", "amount": 42250000000}, 90 {"name": "bob", "asset": "GOLD", "amount": 0} 91 ], 92 "append": 0 93 }, 94 { 95 "coinbase_account": "default", 96 "transactions": [ 97 { 98 "passwords": ["alice"], 99 "inputs": [ 100 {"type": "spend_account", "name": "alice", "amount": 1000000000, "asset": "BTM"} 101 ] 102 } 103 ], 104 "post_states": [ 105 {"name": "alice", "asset": "BTM", "amount": 39250000000}, 106 {"name": "alice", "asset": "GOLD", "amount": 0}, 107 {"name": "bob", "asset": "BTM", "amount": 42250000000}, 108 {"name": "bob", "asset": "GOLD", "amount": 0} 109 ], 110 "append": 0 111 } 112 ] 113 }