-
Notifications
You must be signed in to change notification settings - Fork 37
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
DeFi Blockchain RPC Implementations #48
Comments
Working on
|
Working on
|
Working on
|
Will be working on various
|
Updated RPC typing prioritization, removed prioritization for RPC that are going to be created with All RPC without side effect/mutating properties ( |
To prioritize:
|
Working on (late update, DONE)
|
Working on
|
Working on
|
Working
|
* added module.indexer * tsconfig.build.json to ignore /*.spec/ * refactor all snake_case to camelCase
<!-- Thanks for sending a pull request! --> #### What this PR does / why we need it: /kind feature #### Which issue(s) does this PR fixes?: <!-- (Optional) Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes part of #48 - Implements `gettxoutsetinfo` type for RPC.
<!-- Thanks for sending a pull request! --> #### What this PR does / why we need it: /kind feature #### Which issue(s) does this PR fixes?: <!-- (Optional) Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes part of #48 - Implements `getmempoolancestors` type for RPC. Signed-off-by: delphk <[email protected]> Co-authored-by: Fuxing Loh <[email protected]> Co-authored-by: Eli <[email protected]>
What this PR does / why we need it: /kind feature Which issue(s) does this PR fixes?: Fixes part of #48 - Implements `clearmempool` type for RPC.
<!-- Thanks for sending a pull request! --> #### What this PR does / why we need it: Implements blockchain.waitForBlock() from ain #### Which issue(s) does this PR fixes?: <!-- (Optional) Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes part of #48 #### Additional comments?:
<!-- Thanks for sending a pull request! --> #### What this PR does / why we need it: /kind feature #### Which issue(s) does this PR fixes?: <!-- (Optional) Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes part of #48 - Implements `getnettotals` type for RPC. Signed-off-by: Mark Tan <[email protected]> Co-authored-by: Fuxing Loh <[email protected]>
) <!-- Thanks for sending a pull request! --> #### What this PR does / why we need it: Adds getCustomTx and decodeCustomTx RPCs and associated tests. #### Which issue(s) does this PR fixes?: <!-- (Optional) Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes part of #48
**What this PR does / why we need it:** /kind feature **Which issue(s) does this PR fixes?:** Adding `signMessage()` from [Issue#48](#48) This features allow users to sign an arbitrary message using the private key of an address. It requires wallet passphrase to be set with `walletpassphrase` call if the wallet is encrypted. **Additional comments?:** The primary purpose of `signMessage()` is to present a signature to showcase that the funds are in the control of the private key holder. The holder may also generate a signature with custom prefixes to showcase proof of authorisation. Usage Example: [Here](https://bitcoin.stackexchange.com/a/3339/160)
…y RPCs (#1905) <!-- Thanks for sending a pull request! --> #### What this PR does / why we need it: Adds verifyMessage and signMessageWithPrivKey RPCs and tests. #### Which issue(s) does this PR fixes?: <!-- (Optional) Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes part of #48
Feel free to update this and tag yourself if you want to work on a feature. You will need to reference DeFiCh/ain code base, https://github.com/DeFiCh/ain/tree/master/src/rpc to be exact.
src/rpc
blockchain.cpp
blockchain.getBlockStats
,blockchain.getBestBlockHash
RPC #256blockchain.getBlockStats
,blockchain.getBestBlockHash
RPC #256blockchain.getDifficulty
RPC #285getMempoolDescendants
RPC #1796mining.ccp
getmintinginfojellyfish-core protocol adapter and error handling #41 deprecatedgeneratetoaddress(regtest only)estimaterawfeedeprecatedmisc.cpp
getmemoryinfo(utils only)logging(utils only)getdescriptorinfo(utils only)setmocktime(testing only)setmockcheckpoint(testing only)echo(testing only)echojson(testing only)net.cpp
rawtransaction.cpp
server.cpp
- COMPLETEDhelpstopsrc/spv
spv_rpc.cpp
listAnchors
,listAnchorsPending
,listAnchorAuths
andsetLastHeight
rpc #618listAnchors
,listAnchorsPending
,listAnchorAuths
andsetLastHeight
rpc #618listAnchorRewardConfirms
,listAnchorsUnrewarded
andlistAnchorRewards
rpc #620listAnchorRewardConfirms
,listAnchorsUnrewarded
andlistAnchorRewards
rpc #620listAnchorRewardConfirms
,listAnchorsUnrewarded
andlistAnchorRewards
rpc #620listAnchors
,listAnchorsPending
,listAnchorAuths
andsetLastHeight
rpc #618listAnchors
,listAnchorsPending
,listAnchorAuths
andsetLastHeight
rpc #618src/wallet
rpcwallet.cpp
wallet.dumpPrivKey
andwallet.importPrivKey
RPC #306wallet.getUnconfirmedBalance
RPC #354wallet.dumpPrivKey
andwallet.importPrivKey
RPC #306wallet.sendMany
RPC #269src/masternode
mn_rpc.cpp
- COMPLETEDgetGov
andsetGov
RPC #456getGov
andsetGov
RPC #456rpc_accounts.cpp
- COMPLETEDaccountToAccount
RPC #284account.historyCount
RPC #265sendTokensToAddress
RPC #323getBurnInfo
RPC #540rpc_masternodes.cpp
- COMPLETEDresignMasternode
RPC #419listcriminalproofsdeprecatedgetActiveMasternodeCount
RPC #648rpc_poolpair.cpp
- COMPLETEDremovePoolLiquidity
RPC #420PoolSwap
RPC #413testpoolswap
RPC #411rpc_tokens.cpp
- COMPLETEDThe text was updated successfully, but these errors were encountered: