mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
66978a1a95kernel: remove btck_chain_get_tip (stickies-v)4dd7e6dc48kernel: remove btck_chain_get_genesis (stickies-v) Pull request description: Removes `btck_chain_get_genesis` and `btck_chain_get_tip`. They are trivially replaced with `btck_chain_get_by_height` (as indicated in the updated `bitcoinkernel_wrapper.h`), so I think it makes sense to trim the interface. For `btck_chain_get_tip`: on `master` we don't provide any guarantees that the returned block index still corresponds to the actual tip, so the extra call doesn't seem like a regression to me. ACKs for top commit: TheCharlatan: ACK66978a1a95janb84: ACK66978a1a95Tree-SHA512: f583fbb7f2e3f8f23afb57732b2cbe9e1d550bfc43c9a2619895ee30c27f5f3c5cd9e4ecb7e05b1f6ab9e11c368596ec9b733d67e06cfafb12326d88e8e4dd7d