使用比特币(以及BCH的BitcoinABC)和两者的版本0.16,在挖矿时,将生成金额为0.0000的Coinbase交易。这意味着整个节点无法产生金钱,并且用光了金钱。
我已经尝试挖掘100多个区块以确认币库交易。
示例:
curl --request POST \
--url http://my-node:8332/ \
--header 'authorization: Basic MyBasicAuth' \
--header 'content-type: application/json' \
--data '{
"jsonrpc": "1.0",
"id": "curltext",
"method": "generate",
"params": [
100
]
}'
然后在执行“交易清单”后,我得到:
{
"account": "",
"address": "mi43XK5gDRhAbsCysV21i27bHkj26PE7e3",
"category": "immature",
"amount": 0.00000000,
"vout": 0,
"confirmations": 35,
"generated": true,
"blockhash": "39d8b1483c9a3ced1e88ef7a8895a093733c4195dbc537cf9280975fcccc353a",
"blockindex": 0,
"blocktime": 1530002293,
"txid": "b0caf10e75496080d5b552f881f8b7aede93b927b1ba930f222ac5d0ee61228b",
"walletconflicts": [],
"time": 1530002293,
"timereceived": 1530002293,
"bip125-replaceable": "no"
}
我的配置是:
server=1
whitelist=0.0.0.0/0
txindex=1
addressindex=1
timestampindex=1
spentindex=1
zmqpubrawtx=tcp://127.0.0.1:28332
zmqpubhashblock=tcp://127.0.0.1:28332
rpcallowip=0.0.0.0/0
rpcport=8332
rpcuser=myuser
rpcpassword=mypass
addnode=my-other-node:port
port=8333
spendzeroconfchange=0