-
Notifications
You must be signed in to change notification settings - Fork 146
Update contracts to current staging + fix #729 #754
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
Open
jwinterm
wants to merge
113
commits into
mimblewimble:staging
Choose a base branch
from
jwinterm:contracts-merge
base: staging
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 49 commits
Commits
Show all changes
113 commits
Select commit
Hold shift + click to select a range
f0cf8b0
Simple contracts restructured v3 (#675)
2c38081
contract test fixes (#676)
23baff1
Merge branch 'master' into contracts
063e91d
[Contracts] Experimental Slate v5 (#677)
ddd3e01
Merge branch 'master' into contracts
54ee12a
update
e674c4a
Merge branch 'master' into contracts
1c6442c
commit cargo.lock
58659d8
Merge branch 'contracts' of https://github.com/mimblewimble/grin-wall…
e3148d0
[WIP] [Contracts] Early payment proofs (#681)
3da7695
fix Cargo.lock
fa78d72
Contracts - Test fixes + warning cleanups (#694)
008d2a8
added explicit payment proof tests for both rsr and srs (#695)
165632b
Basic mwmixnet send (#696)
febffd4
[Contracts] Add self spend transaction state (#697)
b3d90c9
[Contracts] Slatepack v5 Deserialization fix (#698)
02af391
update cargo lock, use latest grin packages
074fa24
addition of self-spend cancel + tests (#699)
f94a0a4
add tests + legacy self send cancel (#702)
6f226ea
[Contracts] Cancel self-spend TX Pt. 2 (#703)
57bf8be
merge from 5.3.0 master release
d8d1269
Merge branch 'master' into contracts
c06c91d
Update grin to latest master, change versioning label to include cont…
93464a8
Add owner_api_listen_interface as hidden configuration field (#714)
5e69881
updates for rust 1.80
d022f26
updates for rust 1.80
0b24640
update from 1_80 branch
96b5d24
[CONTRACTS] update/rename mwixnet onion classes (#719)
5327f2c
[CONTRACTS] Add Owner API function to create mwixnet request (#720)
602d79e
Update rust edition to 2021 (#749)
ardocrat 129ad2f
Save last scanned block info for wallet scanning (#748)
ardocrat f7d3692
Merge branch 'master' into contracts
jwinterm 79a4031
Fix VersionedSlate::version() misreporting V5 slates as V4
jwinterm 475db1d
Fix contract_srs_mwmixnet test import after merge
jwinterm 46999ce
Make payment proofs opt-in to fix #729
jwinterm 25dab9f
Harden v5 payment-proof deserialization against malformed input
jwinterm 311140f
De-panic contract CLI argument parsing
jwinterm 3a86bb4
Replace reachable panics in contract flow with typed errors
jwinterm 9d040b4
Harden the contract signing-context forget invariant
jwinterm 2e3b044
De-panic and validate contract CLI input handling
jwinterm 3fcf3b7
De-panic output_amounts(): fallible make-outputs parsing
jwinterm b7b7a6d
Merge upstream staging into contracts
jwinterm 4fcb605
Make contract slatepack encryption optional
jwinterm 9570ed4
Bump openssl from 0.10.68 to 0.10.80 (#752)
dependabot[bot] 8c7c0d0
Contracts: derive output keys under the contract's account
jwinterm 382cf86
Contracts: parse amounts exactly, not via f64
jwinterm 571b1f9
Contracts: only create a context on a genuine miss
jwinterm 15cbbc9
Contracts: validate net_change instead of unwrapping
jwinterm 62ede41
Contracts: emit the lowest slatepack version needed
jwinterm 502d2ae
Contracts: revoke under the inputs' account, not the active one
jwinterm d4d5f97
Contracts: validate net_change in the foreign sign path
jwinterm 5cc1683
Contracts: validate num_participants before fee math
jwinterm b3f75ee
Contracts: use checked conversions for amount -> i64
jwinterm 62fc942
Contracts: use Error::Fee for the fee-overshoot error
jwinterm 9bf11fb
Contracts: derive the proof address under the contract's account
jwinterm 7982f17
Contracts: reject a slate that already has all participants
jwinterm 5569d38
Contracts: test selection-args consistency and fee splitting
jwinterm 756664e
Contracts: remove the unused target_slate_version field
jwinterm bcea98b
Contracts: remove the commented-out contract_setup
jwinterm 1d89ec2
Contracts: report agreed_net_change in contract view
jwinterm 1b3d773
Contracts: delete the canceled context on revoke
jwinterm 18167be
Contracts: tidy review TODOs, document the owner API, simplify get_ne…
jwinterm db52b2e
Contracts: resolve remaining review TODOs
jwinterm 06ab92a
Update lmdb (#755)
ardocrat 3fba131
Merge upstream staging (#755 multi-LMDB backend) into contracts
jwinterm f13ea7f
Contracts: make_outputs takes nanogrin amounts (Vec<u64>), not a string
jwinterm 1489874
Contracts: replace reachable panics with errors
jwinterm 25a5434
Slate: length-check ed25519/uuid fields in the JSON serde path
jwinterm a134158
Contracts: store the signed tx after the wallet-state commit
jwinterm c7acc8e
Contracts: make revoke idempotent and resumable
jwinterm 55a0d43
Contracts: deterministic self-spend id so an interrupted revoke resumes
jwinterm a9cf8ef
Contracts: validate the slate in contract view
jwinterm 2106c08
Slate: document that the proof-downgrade placeholder key is inert
jwinterm 178deac
Contracts: remove the stale contract_setup RPC stubs and tidy the README
jwinterm ca5686a
Node submodules (#758)
ardocrat 411bcff
Integrated Tor arti Client (#750)
ardocrat 4587eb9
Global Tor client state (#762)
ardocrat f92a2d6
slatepack: return concrete error on sync workflow instead of none, op…
ardocrat 3f89cbc
api: output slatepack file after tor finalization for invoice, update…
ardocrat 91da4e7
Merge branch 'master' into staging_master
ardocrat 86bae1c
build: update cargo wallet version
ardocrat 1806098
tor: inverse check skip send to send tor
ardocrat 1825e66
fix: lock on process invoice while updating slate state
ardocrat 2292cb3
api: log errors on update tx slate state and slatepack file output af…
ardocrat 5cc54f4
Merge pull request #764 from ardocrat/staging_master
wiesche89 a1d5287
Merge branch 'staging' into pay_tor_result
ardocrat 6119093
tx: update slate state after tor sync flow at command
ardocrat 547675d
Merge pull request #763 from ardocrat/pay_tor_result
wiesche89 876ee1c
Connection timeout (#765)
ardocrat e9e27f4
Update deps (#768)
ardocrat 7fb4764
Bump lodash from 4.17.21 to 4.18.1 (#774)
wiesche89 d2fe2b9
Global config instance (#769)
ardocrat 894023a
Merge upstream staging into contracts
jwinterm fb10280
Contracts: apply rustfmt to the contract module
jwinterm 6c70266
Contracts: clear the warnings introduced by this PR
jwinterm 1f035e3
Contracts: replace the deprecated chrono calls
jwinterm cd6285f
Wrong Slatepack address fix (#773)
ardocrat 5397cef
Slate: validate the declared version when deserializing
jwinterm 80e1c29
Contracts: emit the lowest slate version that fits the payment proof
jwinterm f594bb0
Slate: match a participant on both keys and validate the count
jwinterm 43d14eb
Contracts: sign and store the same payment proof timestamp
jwinterm 78aa41c
Contracts: return errors for the remaining reachable panics
jwinterm 87be8a3
Use native tls for client (#779)
ardocrat 949066e
Contracts: reject an inconsistent participant list and slate state
jwinterm 8bf7a9b
expose mwixnet onion apis (#781)
wiesche89 9539d34
Contracts: cancel every tx log entry for a slate in one batch
jwinterm cf82e2c
Contracts: propagate slatepack output and stdin errors
jwinterm 6d6e198
Contracts: wire up the contract view command
jwinterm f420e39
Contracts: remove the unused contract test module
jwinterm 370cd4f
Contracts: make the invoice proof reader fully fallible
jwinterm 51583ac
Contracts: document the stored tx window and record the tx location
jwinterm 7f03f95
Contracts: bring the actions README in line with the code
jwinterm 4883c91
Merge upstream staging into contracts
jwinterm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| [target.x86_64-pc-windows-msvc] | ||
| rustflags = ["-Ctarget-feature=+crt-static"] | ||
| [target.i686-pc-windows-msvc] | ||
| rustflags = ["-Ctarget-feature=+crt-static"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.