[rpc] mining: Omit uninitialized currentblockweight, currentblocktx

This commit is contained in:
MarcoFalke
2019-02-11 11:59:34 -05:00
parent ad039aa0d3
commit fa178a6385
7 changed files with 62 additions and 39 deletions

View File

@@ -263,6 +263,9 @@ in the Low-level Changes section below.
- See the [Mining](#mining) section for changes to `getblocktemplate`.
- The `getmininginfo` RPC now omits `currentblockweight` and `currentblocktx`
when a block was never assembled via RPC on this node.
- The `getrawtransaction` RPC & REST endpoints no longer check the
unspent UTXO set for a transaction. The remaining behaviors are as
follows: 1. If a blockhash is provided, check the corresponding block.