When using `listsinceblock` to fetch transactions since the last record observed, there is a relevant detail missed that I would like to record in the ledger: `blockheight`.

It is unreasonable for my wallet interface to do an RPC lookup for every new blockhash just to get the height number. There could be hundreds of transactions or even thousands and they could all be processed with a simple call to `listsinceblock` if it wasn't for the lack of `blockheight`.

Currently it looks like:

> "blockhash": "0000000000000000000549800794b27ab10d5e16ac6ad16a7c4a13dae756f80d",
> "blockindex": 1120,
> "blocktime": 1572073467,

I would like it to look like:

> "blockhash": "0000000000000000000549800794b27ab10d5e16ac6ad16a7c4a13dae756f80d",
> "blockindex": 1120,
> "blocktime": 1572073467,
> "blockheight": 601091,

I have the same request regarding the output of `gettransaction` also.

Thanks in advance.


{
    return "    \"confirmations\": n,                        (numeric) The number of confirmations for the transaction. Negative confirmations means the\n"
           "                                                       transaction conflicted that many blocks ago.\n"
           "    \"generated\": xxx,                          (bool) Only present if transaction only input is a coinbase one.\n"
           "    \"trusted\": xxx,                            (bool) Only present if we consider transaction to be trusted and so safe to spend from.\n"
           "    \"blockhash\": \"hashvalue\",                  (string) The block hash containing the transaction.\n"
           "    \"blockindex\": n,                           (numeric) The index of the transaction in the block that includes it.\n"
           "    \"blocktime\": xxx,                          (numeric) The block time in seconds since epoch (1 Jan 1970 GMT).\n"
           "    \"txid\": \"transactionid\",                   (string) The transaction id.\n"
           "    \"walletconflicts\": [                       (array) Conflicting transaction ids.\n"
           "      \"txid\",                                  (string) The transaction id.\n"
           "      ...\n"
           "    ],\n"
           "    \"time\": xxx,                               (numeric) The transaction time in seconds since epoch (midnight Jan 1 1970 GMT).\n"
           "    \"timereceived\": xxx,                       (numeric) The time received in seconds since epoch (midnight Jan 1 1970 GMT).\n"
           "    \"comment\": \"...\",                          (string) If a comment is associated with the transaction, only present if not empty.\n"
           "    \"bip125-replaceable\": \"yes|no|unknown\",    (string) Whether this transaction could be replaced due to BIP125 (replace-by-fee);\n"
           "                                                     may be unknown for unconfirmed transactions not in the mempool\n";
}
UniValue listtransactions(const JSONRPCRequest& request)