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

feat: successful JS client proof of concept #25

Merged
merged 11 commits into from
May 15, 2024
Merged

Conversation

coolaj86
Copy link
Member

This parsers and packs all of the messages necessary for a successful CoinJoin session using SIGHASH_ALL (with SIGHASH_ANYONECANPAY soon to come).

@coolaj86 coolaj86 changed the base branch from fix-bootstrap to ref-util-cleanup May 15, 2024 05:44
Base automatically changed from ref-util-cleanup to main May 15, 2024 05:46
Copy link

socket-security bot commented May 15, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] None 0 77.7 kB coolaj86
npm/[email protected] None 0 71.5 kB coolaj86
npm/[email protected] None 0 45.1 kB coolaj86
npm/[email protected] network 0 18.4 kB coolaj86
npm/[email protected] None 0 0 B
npm/[email protected] environment, filesystem 0 79.1 kB motdotla

🚮 Removed packages: npm/@dashevo/[email protected], npm/@mentoc/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

@coolaj86 coolaj86 force-pushed the feat-proof-of-concept branch 7 times, most recently from 1b13280 to 4dd8c0f Compare May 15, 2024 06:40
@coolaj86 coolaj86 force-pushed the feat-proof-of-concept branch 3 times, most recently from 53156f3 to a2fb751 Compare May 15, 2024 07:55
coolaj86 and others added 10 commits May 15, 2024 02:45
- use rpc to select from MNs
- getverack response
- parse p2p message header
- parse p2p version response
- send verack
- read full messages
- get wallet + address info
- fill and denominate wallet
- create collateral tx
- ping/pong + unit test
- compose DSA and get responses
- test DSA packing
- senddsq
- add fixtures from observed-working regtest traffic
- pack DSI message
- split denominations
- create and test DSSU parser
- create and test DSQ parser
- add salt to wallets to create different 'users'
- sort evonodes so all 'users' join the same evonode
- add string time output for easy comparison / debugging
- create and test packDsi
- allow arbitrary whitespace in hex of test fixtures
- get and parse DSF, add test fixtures
- add known-working transaction to test fixtures
- add Packer.packDss()
- add test fixtures for known-good dsa, dsf, and dss messages
- add first-ever ALL|ANYONECANPAY test fixtures
@coolaj86 coolaj86 merged commit 0aee64f into main May 15, 2024
2 checks passed
@coolaj86 coolaj86 deleted the feat-proof-of-concept branch May 15, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant