diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ff1370..8ae9dd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,17 @@ # Changelog -## [2.1.0](https://github.com/ruimarinho/bitcoin-core/tree/2.1.0) (2019-02-11) -[Full Changelog](https://github.com/ruimarinho/bitcoin-core/compare/v2.0.0...2.1.0) +## [2.2.0](https://github.com/ruimarinho/bitcoin-core/tree/2.2.0) (2019-06-28) + +[Full Changelog](https://github.com/ruimarinho/bitcoin-core/compare/v2.1.0...2.2.0) + +**Merged pull requests:** + +- Add support for 0.17 methods [\#94](https://github.com/ruimarinho/bitcoin-core/pull/94) ([pedrobranco](https://github.com/pedrobranco)) +- Add new bitcoin@0.17.0 RPC methods to sign raw transactions [\#80](https://github.com/ruimarinho/bitcoin-core/pull/80) ([lautarodragan](https://github.com/lautarodragan)) + +## [v2.1.0](https://github.com/ruimarinho/bitcoin-core/tree/v2.1.0) (2019-02-11) + +[Full Changelog](https://github.com/ruimarinho/bitcoin-core/compare/v2.0.0...v2.1.0) **Merged pull requests:** @@ -11,6 +21,7 @@ - Add support for multiwallet [\#45](https://github.com/ruimarinho/bitcoin-core/pull/45) ([ruimarinho](https://github.com/ruimarinho)) ## [v2.0.0](https://github.com/ruimarinho/bitcoin-core/tree/v2.0.0) (2017-11-27) + [Full Changelog](https://github.com/ruimarinho/bitcoin-core/compare/v1.2.0...v2.0.0) **Merged pull requests:** @@ -25,17 +36,19 @@ - Add support for bitcoin@0.15.0 methods [\#36](https://github.com/ruimarinho/bitcoin-core/pull/36) ([joaopaulofonseca](https://github.com/joaopaulofonseca)) - Add support for bitcoin 0.13.2 [\#24](https://github.com/ruimarinho/bitcoin-core/pull/24) ([pedrobranco](https://github.com/pedrobranco)) - Fix mempool naming inconsistency in getRawMempool method name [\#22](https://github.com/ruimarinho/bitcoin-core/pull/22) ([ruimarinho](https://github.com/ruimarinho)) +- Add support for bignumbers [\#17](https://github.com/ruimarinho/bitcoin-core/pull/17) ([pedrobranco](https://github.com/pedrobranco)) ## [v1.2.0](https://github.com/ruimarinho/bitcoin-core/tree/v1.2.0) (2017-02-12) + [Full Changelog](https://github.com/ruimarinho/bitcoin-core/compare/v1.1.0...v1.2.0) **Merged pull requests:** - Pin docker image to 0.13.0 to avoid failing tests on newer versions [\#21](https://github.com/ruimarinho/bitcoin-core/pull/21) ([pedrobranco](https://github.com/pedrobranco)) - Add logging to all requests [\#19](https://github.com/ruimarinho/bitcoin-core/pull/19) ([pedrobranco](https://github.com/pedrobranco)) -- Add support for bignumbers [\#17](https://github.com/ruimarinho/bitcoin-core/pull/17) ([pedrobranco](https://github.com/pedrobranco)) ## [v1.1.0](https://github.com/ruimarinho/bitcoin-core/tree/v1.1.0) (2016-09-19) + [Full Changelog](https://github.com/ruimarinho/bitcoin-core/compare/v1.0.0...v1.1.0) **Merged pull requests:** @@ -46,6 +59,9 @@ - Improve RPC documentation [\#12](https://github.com/ruimarinho/bitcoin-core/pull/12) ([ruimarinho](https://github.com/ruimarinho)) ## [v1.0.0](https://github.com/ruimarinho/bitcoin-core/tree/v1.0.0) (2016-03-06) + +[Full Changelog](https://github.com/ruimarinho/bitcoin-core/compare/bd98d0a89faae6ddafc71cf547f387c9c74490b1...v1.0.0) + **Merged pull requests:** - Add a better changelog sed [\#10](https://github.com/ruimarinho/bitcoin-core/pull/10) ([ruimarinho](https://github.com/ruimarinho)) diff --git a/dist/src/methods.js b/dist/src/methods.js index 0231578..67e6da1 100755 --- a/dist/src/methods.js +++ b/dist/src/methods.js @@ -67,22 +67,42 @@ var _default = { category: 'network', version: '>=0.12.0' }, + combinePsbt: { + category: 'rawtransactions', + version: '>=0.17.0' + }, combineRawTransaction: { category: 'rawtransactions', version: '>=0.15.0' }, + convertToPsbt: { + category: 'rawtransactions', + version: '>=0.17.0' + }, createMultiSig: { category: 'util', version: '>=0.1.0' }, + createPsbt: { + category: 'rawtransactions', + version: '>=0.17.0' + }, createRawTransaction: { category: 'rawtransactions', version: '>=0.7.0' }, + createWallet: { + category: 'wallet', + version: '>=0.17.0' + }, createWitnessAddress: { category: 'wallet', version: '=0.13.0' }, + decodePsbt: { + category: 'rawtransactions', + version: '>=0.17.0' + }, decodeRawTransaction: { category: 'rawtransactions', version: '>=0.7.0' @@ -141,8 +161,15 @@ var _default = { category: 'util', version: '>=0.12.0 <0.15.0' }, + finalizePsbt: { + category: 'rawtransactions', + version: '>=0.17.0' + }, fundRawTransaction: { category: 'rawtransactions', + features: { + multiwallet: '>=0.15.0' + }, version: '>=0.12.0' }, generate: { @@ -159,27 +186,41 @@ var _default = { getAccount: { category: 'wallet', features: { - multiwallet: '>=0.15.0' + multiwallet: '>=0.15.0 <0.18.0' }, - version: '>=0.1.0' + version: '>=0.1.0 <0.18.0' }, getAccountAddress: { category: 'wallet', features: { - multiwallet: '>=0.15.0' + multiwallet: '>=0.15.0 <0.18.0' }, - version: '>=0.3.18' + version: '>=0.3.18 <0.18.0' }, getAddedNodeInfo: { category: 'network', version: '>=0.8.0' }, + getAddressInfo: { + category: 'wallet', + features: { + multiwallet: '>=0.17.0' + }, + version: '>=0.17.0' + }, getAddressesByAccount: { category: 'wallet', features: { - multiwallet: '>=0.15.0' + multiwallet: '>=0.15.0 <0.18.0' }, - version: '>=0.1.0' + version: '>=0.1.0 <0.18.0' + }, + getAddressesByLabel: { + category: 'wallet', + features: { + multiwallet: '>=0.17.0' + }, + version: '>=0.17.0' }, getBalance: { category: 'wallet', @@ -208,6 +249,10 @@ var _default = { category: 'blockchain', version: '>=0.12.0' }, + getBlockStats: { + category: 'blockchain', + version: '>=0.17.0' + }, getBlockTemplate: { category: 'mining', version: '>=0.7.0' @@ -242,7 +287,7 @@ var _default = { }, getInfo: { category: 'control', - version: '>=0.1.0' + version: '>=0.1.0 <0.16.0' }, getMemoryInfo: { category: 'control', @@ -309,9 +354,9 @@ var _default = { getReceivedByAccount: { category: 'wallet', features: { - multiwallet: '>=0.15.0' + multiwallet: '>=0.15.0 <0.18.0' }, - version: '>=0.1.0' + version: '>=0.1.0 <0.18.0' }, getReceivedByAddress: { category: 'wallet', @@ -320,6 +365,13 @@ var _default = { }, version: '>=0.1.0' }, + getReceivedByLabel: { + category: 'wallet', + features: { + multiwallet: '>=0.17.0' + }, + version: '>=0.17.0' + }, getTransaction: { category: 'wallet', features: { @@ -357,6 +409,10 @@ var _default = { category: 'blockchain', version: '<0.10.0' }, + getZmqNotifications: { + category: 'control', + version: '>=0.17.0' + }, help: { category: 'control', version: '>=0.1.0' @@ -425,9 +481,9 @@ var _default = { listAccounts: { category: 'wallet', features: { - multiwallet: '>=0.15.0' + multiwallet: '>=0.15.0 <0.18.0' }, - version: '>=0.1.0' + version: '>=0.1.0 <0.18.0' }, listAddressGroupings: { category: 'wallet', @@ -440,6 +496,13 @@ var _default = { category: 'network', version: '>=0.12.0' }, + listLabels: { + category: 'wallet', + features: { + multiwallet: '>=0.17.0' + }, + version: '>=0.17.0' + }, listLockUnspent: { category: 'wallet', features: { @@ -450,9 +513,9 @@ var _default = { listReceivedByAccount: { category: 'wallet', features: { - multiwallet: '>=0.15.0' + multiwallet: '>=0.15.0 <0.18.0' }, - version: '>=0.1.0' + version: '>=0.1.0 <0.18.0' }, listReceivedByAddress: { category: 'wallet', @@ -461,6 +524,13 @@ var _default = { }, version: '>=0.1.0' }, + listReceivedByLabel: { + category: 'wallet', + features: { + multiwallet: '>=0.17.0' + }, + version: '>=0.17.0' + }, listSinceBlock: { category: 'wallet', features: { @@ -489,6 +559,10 @@ var _default = { }, version: '>=0.15.0' }, + loadWallet: { + category: 'wallet', + version: '>=0.17.0' + }, lockUnspent: { category: 'wallet', features: { @@ -496,6 +570,9 @@ var _default = { }, version: '>=0.8.0' }, + logging: { + version: '>=0.17.0' + }, move: { category: 'wallet', features: { @@ -526,6 +603,18 @@ var _default = { }, version: '>=0.13.0' }, + rescanBlockchain: { + category: 'wallet', + version: '>=0.16.0' + }, + saveMempool: { + category: 'blockchain', + version: '>=0.16.0' + }, + scantxoutset: { + category: 'blockchain', + version: '=>0.17.0' + }, sendFrom: { category: 'wallet', features: { @@ -554,9 +643,9 @@ var _default = { setAccount: { category: 'wallet', features: { - multiwallet: '>=0.15.0' + multiwallet: '>=0.15.0 <0.18.0' }, - version: '>=0.1.0' + version: '>=0.1.0 <0.18.0' }, setBan: { category: 'network', @@ -566,6 +655,26 @@ var _default = { category: 'generating', version: '<0.13.0' }, + setHdSeed: { + category: 'wallet', + features: { + multiwallet: '>=0.17.0' + }, + obfuscate: { + request: { + default: params => (0, _lodash.set)([...params], '[1]', '******'), + named: params => (0, _lodash.set)(params, 'seed', '******') + } + }, + version: '>=0.17.0' + }, + setLabel: { + category: 'wallet', + features: { + multiwallet: '>=0.17.0' + }, + version: '>=0.17.0' + }, setNetworkActive: { category: 'network', version: '>=0.14.0' @@ -604,6 +713,23 @@ var _default = { }, version: '>=0.7.0' }, + signRawTransactionWithKey: { + category: 'rawtransactions', + obfuscate: { + request: { + default: params => (0, _lodash.set)([...params], '[1]', (0, _lodash.map)(params[1], () => '******')), + named: params => (0, _lodash.set)(params, 'privkeys', (0, _lodash.map)(params.privkeys || [], () => '******')) + } + }, + version: '>=0.17.0' + }, + signRawTransactionWithWallet: { + category: 'rawtransactions', + features: { + multiwallet: '>=0.17.0' + }, + version: '>=0.17.0' + }, stop: { category: 'control', version: '>=0.1.0' @@ -612,6 +738,14 @@ var _default = { category: 'mining', version: '>=0.7.0' }, + testMempoolAccept: { + category: 'blockchain', + version: '>=0.17.0' + }, + unloadWallet: { + category: 'wallet', + version: '>=0.17.0' + }, upTime: { category: 'control', version: '>=0.15.0' @@ -632,6 +766,13 @@ var _default = { category: 'blockchain', version: '>0.11.0' }, + walletCreateFundedPsbt: { + category: 'rawtransactions', + features: { + multiwallet: '>=0.17.0' + }, + version: '>=0.17.0' + }, walletLock: { category: 'wallet', version: '>=0.1.0' @@ -655,6 +796,13 @@ var _default = { } }, version: '>=0.1.0' + }, + walletProcessPsbt: { + category: 'rawtransactions', + features: { + multiwallet: '>=0.17.0' + }, + version: '>=0.17.0' } }; exports.default = _default; \ No newline at end of file diff --git a/package.json b/package.json index 066f61a..66dec04 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bitcoin-core", - "version": "2.1.0", + "version": "2.2.0", "description": "A modern Bitcoin Core REST and RPC client.", "keywords": [ "bitcoin",