forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* WIP. * WIP. Added SqliteTxHistoryStorage. * WIP. Implementing BCH and SLP tx history fetching as state machine. * WIP. * WIP. Tests fail. * WIP. Refactoring. * WIP. * WIP. * WIP. * WIP. * WIP. * WIP. Fixes after merging dev. * WIP. * WIP. Adding tests. * WIP. Updated toolchain. Adding block timestamp method to coins. * WIP. Implementing my_tx_history_v2_rpc. * WIP. Fixes after merging dev. * WIP. Implementing my_tx_history 2.0 RPC. * WIP. * WIP. Implementing querying history from SQLite. * WIP. Added db_common crate. * WIP. RPC 2.0 is ready. Some tests left todo. * Finish tests. Fix Clippy. * Fix WASM. * Add a couple of allows for my_tx_history_v2 under WASM.
- Loading branch information
1 parent
be163e1
commit 383878a
Showing
86 changed files
with
3,812 additions
and
911 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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 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,20 @@ | ||
#!/bin/bash | ||
source userpass | ||
curl --url "http://127.0.0.1:7783" --data '{ | ||
"userpass": "'$userpass'", | ||
"method": "enable_bch_with_tokens", | ||
"mmrpc": "2.0", | ||
"params": { | ||
"ticker": "tBCH", | ||
"allow_slp_unsafe_conf": true, | ||
"bchd_urls": [], | ||
"mode": { | ||
"rpc": "Electrum", | ||
"rpc_data":{ | ||
"servers": [{"url":"electroncash.de:50003"},{"url":"tbch.loping.net:60001"},{"url":"blackie.c3-soft.com:60001"},{"url":"bch0.kister.net:51001"},{"url":"testnet.imaginary.cash:50001"}] | ||
} | ||
}, | ||
"tx_history": true, | ||
"slp_tokens_requests": [{"ticker":"USDF"}] | ||
} | ||
}' |
This file contains 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 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 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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.