From b0fc6ad97e10f9d99dc6c1016e2ec45716b4b096 Mon Sep 17 00:00:00 2001 From: Shoham Chakraborty Date: Thu, 2 Mar 2023 19:18:22 +0800 Subject: [PATCH 1/5] Update help dialogue (#1785) --- src/wallet/rpcwallet.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 2d52b13108..2520a4653e 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -1425,6 +1425,10 @@ UniValue listtransactions(const JSONRPCRequest& request) " \"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.\n" + " \"generated\": \"...\", (boolean) If transaction is a coinbase transaction.\n" + " \"walletconflicts\": [\n" + " \"txid\": \"...\" (string) Conflicting transaction ID\n" + " ],\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" " \"abandoned\": xxx (bool) 'true' if the transaction has been abandoned (inputs are respendable). Only available for the \n" From d5b3aaecc7af85ce68e06a7773ee32e8bf257a8f Mon Sep 17 00:00:00 2001 From: Jouzo <15011228+Jouzo@users.noreply.github.com> Date: Thu, 2 Mar 2023 19:21:19 +0800 Subject: [PATCH 2/5] Cache getblockchaininfo result (#1791) --- src/rpc/blockchain.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index f0b0e8c1c5..0276457c59 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include