-
Notifications
You must be signed in to change notification settings - Fork 94
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(sia): initial Sia integration #2086
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a great start :)
No major issues at all so I just left some comments that I am sure you are aware of, but I am leaving them just in case. Don't forget doc comments on pub structs/enums/functions/traits/etc.. please also try to fix merge conflicts quickly before they get too much. I guess the next step would be deriving address from pubkey.
All review comments addressed. Thanks for the feedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
* dev: docs(README): remove outdated information from the README (KomodoPlatform#2097) fix(sia): fix sia compilation after hd wallet PR merge (KomodoPlatform#2103) feat(hd_wallet): utxo and evm hd wallet and trezor (KomodoPlatform#1962) feat(sia): initial Sia integration (KomodoPlatform#2086) fix(BCH): deserialize BCH header that uses KAWPOW version correctly (KomodoPlatform#2099) fix(eth_tests): remove ETH_DEV_NODE from tests (KomodoPlatform#2101)
* dev: feat(app-dir): implement root application dir `.kdf` (KomodoPlatform#2102) fix tendermint fee calculation (KomodoPlatform#2106) update dockerfile (KomodoPlatform#2104) docs(README): remove outdated information from the README (KomodoPlatform#2097) fix(sia): fix sia compilation after hd wallet PR merge (KomodoPlatform#2103) feat(hd_wallet): utxo and evm hd wallet and trezor (KomodoPlatform#1962) feat(sia): initial Sia integration (KomodoPlatform#2086) fix(BCH): deserialize BCH header that uses KAWPOW version correctly (KomodoPlatform#2099) fix(eth_tests): remove ETH_DEV_NODE from tests (KomodoPlatform#2101) feat(coin): support nucleus as an alternative to iris HTLC (KomodoPlatform#2079)
Changelog
Added skeleton Sia integration to demonstrate the code organization.
Mocked the minimal amount of functionality to support enabling a "sia protocol" coin
PoC of HTTP(s) interface between mm2 and Sia's walletd node software
Implemented 2 walletd endpoints, GET
api/consensus/tip
and GETapi/addresses/<address>/balance
Conditional compilation of all sia features
Planned for next sprint:
Add config option for HTTP timeout
Implement sensitization of
let endpoint_path = format!("api/addresses/{}/balance", address);
or similar patterns.Re-enable docker unit tests