Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade UniValue code in rpc/blockchain.cpp (Bitcoin-ABC#51)
Brings `rpc/blockchain.cpp` in line with latest Bitcoin-ABC#51 tech. Also removes some casts (a surprising number of these casts is actually wrong; depends on !870) and contains a few other nits that should be self-explanatory. This MR includes some changes to `rest.cpp` where it uses functions defined in `rpc/blockchain.cpp`. A few lines in `rpc/blockchain.cpp` are not upgraded yet because they require changes to `core_write.cpp`, to be done later. Test plan: `ninja check check-univalue`
- Loading branch information