mirror of
https://github.com/kaspanet/kaspad.git
synced 2026-03-04 00:08:22 +00:00
* Create a file * Add tests for lockTime - CLTV scripts conditioned by time and block height * Add a handle for an unhandled error. * Renamed the test file * Fix typo * Add a counter for current block height. * Change variable name * Adds a test for wrong lock time, removed fundingTransaction variable * Fix LockTimeThreshold constant, fix opcodeCheckLockTimeVerify and opcodeCheckSequenceVerify(padding in the end), add support for sequence and lock time number in the script builder, add more checks to the CLTV test. * Call AddData instead of addData. Rename fixedSize to unpaddedSize * Creating wrapper functions to lockTime&sequence numbers that call to a shared function in script builder. Co-authored-by: tal <tal@daglabs.com> Co-authored-by: Ori Newman <orinewman1@gmail.com>
10 KiB
10 KiB