aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactionview.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2020-12-10 13:31:48 -0500
committerRussell Yanofsky <russ@yanofsky.org>2021-06-10 09:58:45 -0500
commit5c5d0b62648e1b144b7b93c199f45265dac100e5 (patch)
tree922b222273b4c8a1fc5710726c5c7f3c19f67acb /src/qt/transactionview.cpp
parent1704bbf2263f16c720604cfab4ccb775315df690 (diff)
downloadbitcoin-5c5d0b62648e1b144b7b93c199f45265dac100e5.tar.xz
Add FoundBlock.found member
This change lets IPC serialization code handle FoundBlock arguments more simply and efficiently. Without this change there was no way to determine from a FoundBlock object whether a block was found or not. So in order to correctly implement behavior of leaving FoundBlock output variables unmodified when a block was not found, IPC code would have to read preexisting output variable values from the local process, send them to the remote process, receive output values back from the remote process, and save them to output variables unconditionally. With FoundBlock.found method, the process is simpler. There's no need to read or send preexisting local output variable values, just to read final output values from the remote process and set them conditionally if the block was found.
Diffstat (limited to 'src/qt/transactionview.cpp')
0 files changed, 0 insertions, 0 deletions