Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OP_TXHASH and OP_CHECKTXHASHVERIFY #51

Closed
wants to merge 12 commits into from

Add deployment info for TXHASH

c3edafb
Select commit
Loading
Failed to load commit list.
Closed

Add OP_TXHASH and OP_CHECKTXHASHVERIFY #51

Add deployment info for TXHASH
c3edafb
Select commit
Loading
Failed to load commit list.
Cirrus CI / lint [bookworm] failed Mar 28, 2024 in 1m 35s

Task Summary

Instruction lint failed in 00:49

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:03 clone
✅ 00:10 merge_base
✅ 00:03 python
✅ 00:25 unshallow
❌ 00:49 lint

WARNING: You are using pip version 22.0.4; however, version 24.0 is available.
You should consider upgrading via the '/tmp/python/bin/python3.7 -m pip install --upgrade pip' command.
Requirement already satisfied: pyzmq==24.0.1 in /tmp/python/lib/python3.7/site-packages (24.0.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 22.0.4; however, version 24.0 is available.
You should consider upgrading via the '/tmp/python/bin/python3.7 -m pip install --upgrade pip' command.
Requirement already satisfied: vulture==2.6 in /tmp/python/lib/python3.7/site-packages (2.6)
Requirement already satisfied: toml in /tmp/python/lib/python3.7/site-packages (from vulture==2.6) (0.10.2)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 22.0.4; however, version 24.0 is available.
You should consider upgrading via the '/tmp/python/bin/python3.7 -m pip install --upgrade pip' command.

c3edafb53 Add deployment info for TXHASH
d7eac66e5 txhash: Provide TxHashCache to required contexts
11bb08f93 tests: Add txhash_test.cpp with OP_TXHASH test vectors
fe2d08e92 Make bare OP_CHECKTXHASHVERIFY transactions standard
e41d52245 Add OP_TXHASH and OP_CHECKTXHASHVERIFY opcodes
05abfeb68 Implement TxHash calculation
fccd4df24 hash: Expose hash context of HashWriter
58d5def31 interpreter: Move some constants up to script.h
5d1db21ce script: Add CScript::IsPayToTaproot fast getter
0e766ca7e core_io: Add DecodeHexTxOut function
f81d22cea uint256: Add getter/setter for big-endian hexadecimal strings
7878904aa Add SpanPopFront cfr SpanPopBack

src/crypto/ctaes in HEAD currently refers to tree 1b6c31139a71f80245c09597c343936a8e41d021
src/crypto/ctaes in HEAD was last updated in commit 8501bedd7508ac514385806e191aec21ee978891 (tree 1b6c31139a71f80245c09597c343936a8e41d021)
GOOD
src/secp256k1 in HEAD currently refers to tree cdde748a26bcebe89a68791964a811d9fe049d46
src/secp256k1 in HEAD was last updated in commit c981671e9b206de4681a2e0d06996b800fcc985b (tree cdde748a26bcebe89a68791964a811d9fe049d46)
GOOD
src/minisketch in HEAD currently refers to tree a749309e1b4edf48091edb57da6de2e8a16498a5
src/minisketch in HEAD was last updated in commit e9f1d8c27261070d209a28570ad36fe91531cdd2 (tree a749309e1b4edf48091edb57da6de2e8a16498a5)
GOOD
src/leveldb in HEAD currently refers to tree bd49d3c60051c1a8d8f030fa4ba7a29237fe7479
src/leveldb in HEAD was last updated in commit 1a463c70a368fb20316e03efac273438cf47baa3 (tree bd49d3c60051c1a8d8f030fa4ba7a29237fe7479)
GOOD
src/crc32c in HEAD currently refers to tree 5a1b5f7188bd2181e2a71d431fff282d50058e46
src/crc32c in HEAD was last updated in commit 08269e54a9a74e06c9fb72720a216d8c4d4532a2 (tree 5a1b5f7188bd2181e2a71d431fff282d50058e46)
GOOD
Args used        : 212
Args documented  : 224
Args undocumented: 0
set()
Args unknown     : 12
{'-zmqpubhashtx', '-zmqpubhashtxhwm', '-alertnotify', '-zmqpubhashblock', '-zmqpubrawtxhwm', '-zmqpubrawblock', '-zmqpubhashblockhwm', '-zmqpubsequence', '-zmqpubrawtx', '-zmqpubrawblockhwm', '-zmqpubsequencehwm', '-includeconf'}
Duplicate include(s) in src/script/interpreter.h:
#include <script/script_error.h> // IWYU pragma: export

Success: no issues found in 264 source files
src/psbt.cpp:321: cant ==> can't
^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
A new circular dependency in the form of "script/interpreter -> script/txhash -> script/interpreter" appears to have been introduced.

^---- failure generated from lint-includes.py
^---- failure generated from lint-circular-dependencies.py