This PR introduces two new C API functions to libbitcoinkernel:
btck_transaction_get_locktimeto access a transaction’snLockTimevaluebtck_transaction_input_get_sequenceto access a transaction input’snSequencevalue
Inspired by https://bnoc.xyz/t/forward-compatible-coinbase-locktimes-for-bip-54. After reading this I thought it would be a nice/useful showcase to check BIP54 compliance of (historical) blocks using bitcoinkernel, without having to manually deserialize the transaction (this is just about one of the four BIP54 rules though, especially the sigops limit is much more involved).