-
Notifications
You must be signed in to change notification settings - Fork 153
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 KIP-10 Transaction Introspection Opcodes, 8-byte arithmetic and Hard Fork Support #487
Add KIP-10 Transaction Introspection Opcodes, 8-byte arithmetic and Hard Fork Support #487
Commits on Jun 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0e6e748 - Browse repository at this point
Copy the full SHA 0e6e748View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2076757 - Browse repository at this point
Copy the full SHA 2076757View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50fd953 - Browse repository at this point
Copy the full SHA 50fd953View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7afb955 - Browse repository at this point
Copy the full SHA 7afb955View commit details -
Configuration menu - View commit details
-
Copy full SHA for 993e91e - Browse repository at this point
Copy the full SHA 993e91eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0be8af - Browse repository at this point
Copy the full SHA a0be8afView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1eed92 - Browse repository at this point
Copy the full SHA f1eed92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b02bb2 - Browse repository at this point
Copy the full SHA 7b02bb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a679525 - Browse repository at this point
Copy the full SHA a679525View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e61b44 - Browse repository at this point
Copy the full SHA 2e61b44View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7a3f77 - Browse repository at this point
Copy the full SHA f7a3f77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4afb1dc - Browse repository at this point
Copy the full SHA 4afb1dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd5c169 - Browse repository at this point
Copy the full SHA cd5c169View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96cfd54 - Browse repository at this point
Copy the full SHA 96cfd54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 399fcd7 - Browse repository at this point
Copy the full SHA 399fcd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cff7fe - Browse repository at this point
Copy the full SHA 8cff7feView commit details -
Configuration menu - View commit details
-
Copy full SHA for c882d32 - Browse repository at this point
Copy the full SHA c882d32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c19ae1 - Browse repository at this point
Copy the full SHA 1c19ae1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4147473 - Browse repository at this point
Copy the full SHA 4147473View commit details -
Configuration menu - View commit details
-
Copy full SHA for c32c34b - Browse repository at this point
Copy the full SHA c32c34bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 915b5d3 - Browse repository at this point
Copy the full SHA 915b5d3View commit details
Commits on Jun 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7294020 - Browse repository at this point
Copy the full SHA 7294020View commit details
Commits on Sep 28, 2024
-
Merge branch 'master' into kip-10-mutual-tx
# Conflicts: # consensus/src/processes/transaction_validator/transaction_validator_populated.rs # crypto/txscript/Cargo.toml
Configuration menu - View commit details
-
Copy full SHA for 3c4e029 - Browse repository at this point
Copy the full SHA 3c4e029View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b4d0be - Browse repository at this point
Copy the full SHA 8b4d0beView commit details
Commits on Oct 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2892374 - Browse repository at this point
Copy the full SHA 2892374View commit details
Commits on Oct 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c86881f - Browse repository at this point
Copy the full SHA c86881fView commit details -
Implement one-time and two-times threshold borrowing scenarios
- Add threshold_scenario_limited_one_time function - Add threshold_scenario_limited_2_times function - Create generate_limited_time_script for reusable script generation - Implement nested script structure for two-times borrowing - Update documentation for both scenarios - Add tests for owner spending, borrowing, and invalid attempts in both cases - Ensure consistent error handling and logging across scenarios - Refactor to use more generic script generation approach
Configuration menu - View commit details
-
Copy full SHA for e5e8b64 - Browse repository at this point
Copy the full SHA e5e8b64View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef4e7ee - Browse repository at this point
Copy the full SHA ef4e7eeView commit details
Commits on Oct 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7b6cf0d - Browse repository at this point
Copy the full SHA 7b6cf0dView commit details -
Merge branch 'master' into kip-10-mutual-tx
# Conflicts: # consensus/src/processes/transaction_validator/transaction_validator_populated.rs # crypto/txscript/src/lib.rs # crypto/txscript/src/opcodes/mod.rs # crypto/txscript/src/standard/multisig.rs # wallet/pskt/src/pskt.rs
Configuration menu - View commit details
-
Copy full SHA for 77f0719 - Browse repository at this point
Copy the full SHA 77f0719View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdb43ae - Browse repository at this point
Copy the full SHA cdb43aeView commit details
Commits on Oct 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e39a2db - Browse repository at this point
Copy the full SHA e39a2dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 730df36 - Browse repository at this point
Copy the full SHA 730df36View commit details
Commits on Nov 2, 2024
-
remove borrow scenario from tests.
run tests against both kip1- enabled/disabled engine
Configuration menu - View commit details
-
Copy full SHA for a777a12 - Browse repository at this point
Copy the full SHA a777a12View commit details -
introduce method that converts spk to bytes.
add tests covering new opcodes
Configuration menu - View commit details
-
Copy full SHA for c216370 - Browse repository at this point
Copy the full SHA c216370View commit details -
return comment describing where invalid opcodes starts from.
add comments describing why 2 files are used.
Configuration menu - View commit details
-
Copy full SHA for 20a8df6 - Browse repository at this point
Copy the full SHA 20a8df6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a9c508 - Browse repository at this point
Copy the full SHA 1a9c508View commit details
Commits on Nov 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 164d044 - Browse repository at this point
Copy the full SHA 164d044View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91298d5 - Browse repository at this point
Copy the full SHA 91298d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a117c0e - Browse repository at this point
Copy the full SHA a117c0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b2849f - Browse repository at this point
Copy the full SHA 3b2849fView commit details
Commits on Nov 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d1cb457 - Browse repository at this point
Copy the full SHA d1cb457View commit details -
Standartize fork activation logic (kaspanet#588)
* Use ForkActivation for all fork activations * Avoid using negation in some ifs * Add is_within_range_from_activation * Move 'is always' check inside is_within_range_from_activation * lints
Configuration menu - View commit details
-
Copy full SHA for 8069be5 - Browse repository at this point
Copy the full SHA 8069be5View commit details -
Refactoring for cleaner pruning proof module (kaspanet#589)
* Cleanup manual block level calc There were two areas in pruning proof mod that manually calculated block level. This replaces those with a call to calc_block_level * Refactor pruning proof build functions * Refactor apply pruning proof functions * Refactor validate pruning functions * Add comments for clarity
Configuration menu - View commit details
-
Copy full SHA for dced99f - Browse repository at this point
Copy the full SHA dced99fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2974b97 - Browse repository at this point
Copy the full SHA 2974b97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 186db46 - Browse repository at this point
Copy the full SHA 186db46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96fb3df - Browse repository at this point
Copy the full SHA 96fb3dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2810a88 - Browse repository at this point
Copy the full SHA 2810a88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 246537b - Browse repository at this point
Copy the full SHA 246537bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a432e96 - Browse repository at this point
Copy the full SHA a432e96View commit details -
Configuration menu - View commit details
-
Copy full SHA for a09fdb7 - Browse repository at this point
Copy the full SHA a09fdb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 372a7ad - Browse repository at this point
Copy the full SHA 372a7adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e81eb2 - Browse repository at this point
Copy the full SHA 7e81eb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a30976d - Browse repository at this point
Copy the full SHA a30976dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25243f5 - Browse repository at this point
Copy the full SHA 25243f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66d6bad - Browse repository at this point
Copy the full SHA 66d6badView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ba5d47 - Browse repository at this point
Copy the full SHA 2ba5d47View commit details -
Merge branch 'master' into kip-10-mutual-tx
# Conflicts: # consensus/core/src/config/params.rs # consensus/src/consensus/services.rs # consensus/src/processes/transaction_validator/mod.rs # testing/integration/src/consensus_integration_tests.rs
Configuration menu - View commit details
-
Copy full SHA for 658782a - Browse repository at this point
Copy the full SHA 658782aView commit details
Commits on Nov 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3eae88a - Browse repository at this point
Copy the full SHA 3eae88aView commit details
Commits on Nov 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8422331 - Browse repository at this point
Copy the full SHA 8422331View commit details -
Configuration menu - View commit details
-
Copy full SHA for 046308f - Browse repository at this point
Copy the full SHA 046308fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 828a5bc - Browse repository at this point
Copy the full SHA 828a5bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3259cc6 - Browse repository at this point
Copy the full SHA 3259cc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f8351d - Browse repository at this point
Copy the full SHA 5f8351dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 955424c - Browse repository at this point
Copy the full SHA 955424cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5689ed5 - Browse repository at this point
Copy the full SHA 5689ed5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9829e2 - Browse repository at this point
Copy the full SHA e9829e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7705ba3 - Browse repository at this point
Copy the full SHA 7705ba3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f38b64 - Browse repository at this point
Copy the full SHA 1f38b64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a3a44b - Browse repository at this point
Copy the full SHA 4a3a44bView commit details -
refactor(txscript): Enforce input index invariant via assertion
Change TxScriptEngine::from_transaction_input to assert valid input index instead of returning Result. This better reflects that an invalid index is a caller's (transaction validation) error rather than a script engine error, since the input must be part of the transaction being validated. An invalid index signifies a mismatch between the transaction and the input being validated - this is a programming error in the transaction validator layer, not a script engine concern. The script engine should be able to assume it receives valid inputs from its caller. The change simplifies error handling by enforcing this invariant early, while maintaining identical behavior for valid inputs. The function is now documented to panic on malformed inputs. This is a breaking change for code that previously handled InvalidIndex errors, though such handling was likely incorrect as it indicated an inconsistency in transaction validation.
Configuration menu - View commit details
-
Copy full SHA for 5a00231 - Browse repository at this point
Copy the full SHA 5a00231View commit details -
Configuration menu - View commit details
-
Copy full SHA for df7c243 - Browse repository at this point
Copy the full SHA df7c243View commit details -
Configuration menu - View commit details
-
Copy full SHA for 523ee9a - Browse repository at this point
Copy the full SHA 523ee9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5c6077 - Browse repository at this point
Copy the full SHA a5c6077View commit details
Commits on Nov 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for da7d81b - Browse repository at this point
Copy the full SHA da7d81bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4644179 - Browse repository at this point
Copy the full SHA 4644179View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fa920e - Browse repository at this point
Copy the full SHA 0fa920eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83ad761 - Browse repository at this point
Copy the full SHA 83ad761View commit details -
Update crypto/txscript/src/lib.rs
refactor vector filling Co-authored-by: Michael Sutton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 07b80dd - Browse repository at this point
Copy the full SHA 07b80ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for b50b7b3 - Browse repository at this point
Copy the full SHA b50b7b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78f2291 - Browse repository at this point
Copy the full SHA 78f2291View commit details -
verify that block is disqualified in case of it has tx which requires
block that contains the tx with kip10 opcode is accepted after daa score has being reached
Configuration menu - View commit details
-
Copy full SHA for 7fc9828 - Browse repository at this point
Copy the full SHA 7fc9828View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d79485 - Browse repository at this point
Copy the full SHA 4d79485View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fe40f8 - Browse repository at this point
Copy the full SHA 4fe40f8View commit details
Commits on Nov 11, 2024
-
Update crypto/txscript/src/opcodes/mod.rs
Fallible conversion of output amount (usize -> i64) Co-authored-by: Michael Sutton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 898a56a - Browse repository at this point
Copy the full SHA 898a56aView commit details -
Update crypto/txscript/src/opcodes/mod.rs
Fallible conversion of input amount (usize -> i64) Co-authored-by: Michael Sutton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3af28ed - Browse repository at this point
Copy the full SHA 3af28edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88399da - Browse repository at this point
Copy the full SHA 88399daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 863a9a1 - Browse repository at this point
Copy the full SHA 863a9a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 103684e - Browse repository at this point
Copy the full SHA 103684eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2db1df5 - Browse repository at this point
Copy the full SHA 2db1df5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e48ab4 - Browse repository at this point
Copy the full SHA 1e48ab4View commit details -
Configuration menu - View commit details
-
Copy full SHA for aaeed6d - Browse repository at this point
Copy the full SHA aaeed6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0befcaa - Browse repository at this point
Copy the full SHA 0befcaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19a8c52 - Browse repository at this point
Copy the full SHA 19a8c52View commit details -
Merge pull request #6 from biryukovmaxim/fallible-serialization
9 byte integers must fail to serialize
Configuration menu - View commit details
-
Copy full SHA for 08d57c0 - Browse repository at this point
Copy the full SHA 08d57c0View commit details
Commits on Nov 12, 2024
-
remove redundant mut in example
Co-authored-by: Michael Sutton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca02b61 - Browse repository at this point
Copy the full SHA ca02b61View commit details -
remove redundant mut in example
Co-authored-by: Michael Sutton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3323e24 - Browse repository at this point
Copy the full SHA 3323e24View commit details -
remove redundant mut in example
Co-authored-by: Michael Sutton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 83711f4 - Browse repository at this point
Copy the full SHA 83711f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74468e5 - Browse repository at this point
Copy the full SHA 74468e5View commit details