Open fuxingloh opened 3 years ago
Working on blockchain.cpp
Working on blockchain.cpp
Working on blockhain.cpp
Will be working on various rawtransaction.cpp
rpc for wallet integration.
Updated RPC typing prioritization, removed prioritization for RPC that are going to be created with jellyfish-transaction
.
All RPC without side effect/mutating properties (get
, list
) should be prioritized over those with side effect (create
, update
)
rpc_tokens.cpp
rpc_poolpair.cpp
rpc_accounts.cpp
mining.ccp
Working on (late update, DONE)
blockhain.cpp
wallet.cpp
Working on rpc_tokens.cpp
(improving tests)
Working on rpc_poolpair.cpp
(improving tests)
Working rpc_accounts.cpp
Working on net.cpp
getconnectioncount getpeerinfo getnetworkinfo
@jingyi2811 mentioned that it's hard to test multi node setup (e.g. getpeerinfo
) without https://github.com/DeFiCh/jellyfish/issues/40 implemented. Hence some RPC implementations are blocked by that.
Working on blockchain.cpp
getchaintips
Please priotize in this order:
rpc_accounts.cpp
rpc_tokens.cpp
rpc_accounts.cpp
Working on rpc_accounts.cpp
utxostoaccount (Done) accounttoaccount (Done) accounttoutxos (Done)
Working on rpc_tokens.cpp
getcustomtx (Put this aside as this rpc requires docker networking to be enabled) minttokens (Done)
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
mining.ccp
getmintinginfo#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` - COMPLETED
- [x] getrpcinfo #330 - [x] ~~help~~ - [x] ~~stop~~ - [x] uptime #340src/spv
spv_rpc.cpp
src/wallet
rpcwallet.cpp
### `mn_rpc.cpp` - COMPLETED
- [x] setgov #456 - [x] getgov #456### `rpc_accounts.cpp` - COMPLETED
- [x] listaccounts #162 - [x] getaccount #162 - [x] gettokenbalances #162 - [x] utxostoaccount #215 - [x] accounttoaccount #284 - [x] accounttoutxos #289 - [x] listaccounthistory #162 - [x] accounthistorycount #265 - [x] listcommunitybalances #368 - [x] sendtokenstoaddress #323 - [x] listburnhistory #444 - [x] getburninfo #540### `rpc_masternodes.cpp` - COMPLETED
- [x] createmasternode #372 - [x] resignmasternode #419 - [x] updatemasternode #1847 - [x] listmasternodes #372 - [x] getmasternode #372 - [x] getmasternodeblocks #861 - [x] ~~listcriminalproofs~~ deprecated - [x] getanchorteams #923 - [x] getactivemasternodecount #648 - [x] listanchors #921 - [x] isappliedcustomtx #957### `rpc_poolpair.cpp` - COMPLETED
- [x] listpoolpairs #121 - [x] getpoolpair #121 - [x] addpoolliquidity #121 - [x] removepoolliquidity #420 - [x] createpoolpair #121 - [x] updatepoolpair #1958 - [x] poolswap #413 - [x] listpoolshares #121 - [x] testpoolswap #411### `rpc_tokens.cpp` - COMPLETED
- [x] createtoken #120 - [x] updatetoken #120 - [x] listtokens #120 - [x] gettoken #120 - [x] getcustomtx #1878 - [x] minttokens #290 - [x] decodecustomtx #1878