Skip to content

Commit

Permalink
Add support for all methods until Bitcoin Core 28
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobranco committed Jan 6, 2025
1 parent 5c7a863 commit 64cb79f
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 5 deletions.
6 changes: 2 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
version: '3.4'

services:
bitcoin-core:
image: ruimarinho/bitcoin-core:24.0.1
image: bitcoin/bitcoin:28.0
command:
-fallbackfee=0.0002
-printtoconsole
Expand All @@ -25,7 +23,7 @@ services:
timeout: 2s

bitcoin-core-multi-wallet:
image: ruimarinho/bitcoin-core:24.0.1
image: bitcoin/bitcoin:28.0
command:
-fallbackfee=0.0002
-printtoconsole
Expand Down
51 changes: 50 additions & 1 deletion src/methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ module.exports = {
category: 'wallet',
version: '>=0.17.0'
},
createWalletDescriptor: {
category: 'wallet',
features: {
multiwallet: '>=28.0.0'
},
version: '>=28.0.0'
},
createWitnessAddress: {
category: 'wallet',
version: '=0.13.0'
Expand All @@ -113,6 +120,13 @@ module.exports = {
category: 'util',
version: '>=0.18.0'
},
descriptorProcessPsbt: {
category: 'wallet',
features: {
multiwallet: '>=0.26.0'
},
version: '>=26.0.0'
},
disconnectNode: {
category: 'network',
version: '>=0.12.0'
Expand Down Expand Up @@ -215,6 +229,10 @@ module.exports = {
category: 'network',
version: '>=0.8.0'
},
getAddrManInfo: {
category: 'network',
version: '>=26.0.0'
},
getAddressInfo: {
category: 'wallet',
features: {
Expand Down Expand Up @@ -290,6 +308,10 @@ module.exports = {
category: 'blockchain',
version: '>=0.9.2'
},
getChainStates: {
category: 'blockchain',
version: '>=26.0.0'
},
getChainTips: {
category: 'blockchain',
version: '>=0.10.0'
Expand Down Expand Up @@ -322,6 +344,13 @@ module.exports = {
category: 'blockchain',
version: '<0.10.0'
},
getHdKeys: {
category: 'wallet',
features: {
multiwallet: '>=28.0.0'
},
version: '>=28.0.0'
},
getIndexInfo: {
category: 'util',
version: '>=0.21.0'
Expand Down Expand Up @@ -381,6 +410,10 @@ module.exports = {
category: 'network',
version: '>=0.7.0'
},
getPrioritisedTransactions: {
category: 'mempool',
version: '>=26.0.0'
},
getRawChangeAddress: {
category: 'wallet',
features: {
Expand Down Expand Up @@ -484,6 +517,10 @@ module.exports = {
},
version: '>=0.21.0'
},
importMempool: {
category: 'mempool',
version: '>=26.0.0'
},
importMulti: {
category: 'wallet',
features: {
Expand Down Expand Up @@ -634,6 +671,10 @@ module.exports = {
},
version: '>=0.15.0'
},
loadTxOutSet: {
category: 'blockchain',
version: '>=26.0.0'
},
loadWallet: {
category: 'wallet',
version: '>=0.17.0'
Expand Down Expand Up @@ -714,7 +755,11 @@ module.exports = {
category: 'blockchain',
version: '>=0.16.0'
},
scantxoutset: {
scanBlocks: {
category: 'blockchain',
version: '>=25.0.0'
},
scanTxOutSet: {
category: 'blockchain',
version: '=>0.17.0'
},
Expand Down Expand Up @@ -873,6 +918,10 @@ module.exports = {
category: 'mining',
version: '>=24.0.0'
},
submitPackage: {
category: 'mempool',
version: '>=26.0.0'
},
testMempoolAccept: {
category: 'blockchain',
version: '>=0.17.0'
Expand Down

0 comments on commit 64cb79f

Please sign in to comment.