chore: initial function stubs
This commit is contained in:
parent
b190b349b3
commit
75cb094476
2 changed files with 18 additions and 3 deletions
|
|
@ -176,6 +176,12 @@ function supportsBatching (cryptoCode) {
|
|||
.then(() => SUPPORTS_BATCHING)
|
||||
}
|
||||
|
||||
function checkBlockchainStatus (cryptoCode) {
|
||||
return checkCryptoCode(cryptoCode)
|
||||
.then(() => fetch('getblockchaininfo'))
|
||||
.then(res => !!res['initialblockdownload'] ? 'ready' : 'syncing')
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
balance,
|
||||
sendCoins,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue