commit 0e5dedbc9eb54105ab9b0c4ce1f57afa55bcb5b6 Author: William Casarin Date: Tue Feb 22 09:15:52 2022 -0800 qt/wallettests: sort includes I split this out from an earlier commit to make it a bit less noisy. Signed-off-by: William Casarin commit eb8b22d5176d7abc6f93b4473df446105ca595e6 Author: William Casarin Date: Sun Dec 19 13:39:25 2021 -0800 block_connected: re-use previous GetTimeMicros Shave off an extra 100 or so instructions from the validation:block_connected tracepoint by reusing a nearby GetTimeMicros(). This brings the tracepoint down to 54 instructions. Still high, but much better than the previous ~154 and 8000 instructions which it was originally. Signed-off-by: William Casarin commit 80e1c55687aae61767f1ade0826746cda00d6a24 Author: William Casarin Date: Sun Dec 19 12:52:59 2021 -0800 block_connected: don't serialize block hash twice In the validation:block_connected tracepoint, we call block->GetHash(), which ends up calling CBlockHeader::GetHash(), executing around 8000 serialization instructions. We don't need to do this extra work, because block->GetHash() is already called further up in the function. Let's save that value as a local variable and re-use it in our tracepoint so there is no unnecessary tracepoint overhead. Signed-off-by: William Casarin commit 9bd46e24a67e000fdbd76dffde6da25c12e29dac Author: William Casarin Date: Wed Jan 5 15:50:26 2022 -0800 reviewers: add tracing Adding myself and 0xB10C to USDT tracing reviews Signed-off-by: William Casarin commit 2ba4ddf31d27bebc144b3729479967b40bbe0b6a Author: William Casarin Date: Fri May 1 20:03:43 2020 -0700 bloom: use Span instead of std::vector for `insert` and `contains` We can avoid many unnecessary std::vector allocations by changing CBloomFilter to take Spans instead of std::vector's for the `insert` and `contains` operations. CBloomFilter currently converts types such as CDataStream and uint256 to std::vector on `insert` and `contains`. This is unnecessary because CDataStreams and uint256 are already std::vectors internally. We just need a way to point to the right data within those types. Span gives us this ability. Signed-off-by: William Casarin commit da30c1bb05b245e7b56c4bb5a6a060e100d407c5 Author: William Casarin Date: Tue Feb 23 11:02:58 2021 -0800 wallet: fix doc typo in signer option Signed-off-by: William Casarin commit 22eb7930a6ae021438aa0b8e750170534944f296 Author: William Casarin Date: Wed May 20 13:35:27 2020 -0700 tracing: add tracing framework Signed-off-by: William Casarin commit 933ab8a720cb9b3341adec4109cffb6dc5b322a5 Author: William Casarin Date: Sat Sep 5 07:36:47 2020 -0700 build: detect sys/sdt.h for eBPF tracing commit 83a425d25af033086744c1c8c892015014ed46bd Author: William Casarin Date: Fri May 1 17:31:38 2020 -0700 compressor: use a prevector in compressed script serialization Use a prevector for stack allocation instead of heap allocation during script compression and decompression. These functions were doing millions of unnecessary heap allocations during IBD. We introduce a CompressedScript type alias for this prevector. It is size 33 as that is the maximum size of a compressed script. Fix the DecompressScript header to match the variable name from compressor.cpp Signed-off-by: William Casarin commit 72eaab073bc747425fe551777154b13a6c4c37c9 Author: William Casarin Date: Thu Jul 18 13:35:23 2019 -0700 tests: functional watch-only wallet tests These test the new watch-only defaults for rpcs with include_watchonly and includeWatching options. Signed-off-by: William Casarin commit 72ffbdc5799c1707ecad674d701b43fb80b031d0 Author: William Casarin Date: Tue Jul 16 13:23:21 2019 -0700 doc: add release note for include_watchonly default changes Signed-off-by: William Casarin commit 003a3c73c0450aa18ac2ab2ca47def2b8c53a7df Author: William Casarin Date: Sat Jul 13 11:48:50 2019 -0700 rpcwallet: document include_watchonly default for watchonly wallets Signed-off-by: William Casarin commit a50d9e6c0b8e8144d3deec58ec2e3449ba081151 Author: William Casarin Date: Sat Jul 13 08:34:49 2019 -0700 rpcwallet: default include_watchonly to true for watchonly wallets The logic before would only include watchonly addresses if it was explicitly set in the rpc argument. This changes the logic like so: If the include_watchonly argument is missing, check the WALLET_FLAG_DISABLE_PRIVATE_KEYS flag to determine if we're working with a watchonly wallet. If so, default include_watchonly to true. If the include_watchonly argument is explicit set to false, we still disable them from the listing. Although this would always return nothing, it might be still useful in situations where you want to explicitly filter out watchonly addresses regardless of what wallet you are dealing with. Signed-off-by: William Casarin commit ebcee1de263ea21acfd79e92dc874de65c9bae9b Author: William Casarin Date: Sat Dec 30 10:45:50 2017 -0800 bips: add bip176 (Bits Denomination) For the implementation in #12035. Note that this only applies to the QT GUI at this time. Signed-off-by: William Casarin commit 275b2eeed4050d8797bf127e5abf171c050e182a Author: William Casarin Date: Wed Dec 27 08:01:45 2017 -0800 [qt] change µBTC to bits * Now that we have bip176, change "µBTC" to the more colloquial "bits" * We retain the `µBTC (bits)` description in dropdowns and status bars. The more concise "bits" is used when appended to numbers. Signed-off-by: William Casarin