forked from ruimarinho/bitcoin-core
-
Notifications
You must be signed in to change notification settings - Fork 9
/
methods.js
executable file
·177 lines (174 loc) · 6.37 KB
/
methods.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
/* eslint-disable no-inline-comments,sort-keys */
import { set } from 'lodash';
/**
* Export available rpc methods.
*/
/**
* @Dev
* follow the versioning rule below
* to update changes:
* *new as of version : '>= new_version'
* *removed as of version: '< new_version'
* *existed for version range: '>= start_version < end_version'
*/
export default {
addMultiSigAddress: { version: '>=2.2.0' },
aliasAddScript: { version: '>=2.2.0' },
aliasBalance: { version: '>=2.2.0' },
aliasBalanceMulti: { version: '>=3.0.5' },
aliasClearWhitelist: { version: '>=2.2.0' },
aliasCount: { version: '>=2.2.0 <3.0.0' },
aliasFilter: { version: '>=2.2.0' },
aliasHistory: { version: '>=2.2.0' },
aliasInfo: { version: '>=2.2.0' },
aliasList: { version: '>=2.2.0 <3.0.0' },
aliasNew: { version: '>=2.2.0' },
aliasPay: { version: '>=3.0.0' },
aliasTxHistory: { version: '>=2.2.0' },
aliasUpdate: { version: '>=2.2.0' },
aliasUpdateWhitelist: { version: '>=2.2.0' },
aliasWhitelist: { version: '>=2.2.0' },
assetAllocationCollectInterest: { version: '>=3.0.0' },
assetAllocationInfo: { version: '>=3.0.0' },
assetAllocationSend: { version: '>=3.0.0' },
assetAllocationSenderStatus: { version: '>=3.0.0' },
assetInfo: { version: '>=3.0.0' },
assetNew: { version: '>=3.0.0' },
assetSend: { version: '>=3.0.0' },
assetTransfer: { version: '>=3.0.0' },
assetUpdate: { version: '>=3.0.0' },
certFilter: { version: '>=2.2.0' },
certHistory: { version: '>=2.2.0' },
certInfo: { version: '>=2.2.0' },
certNew: { version: '>=2.2.0' },
certTransfer: { version: '>=2.2.0' },
certUpdate: { version: '>=2.2.0' },
debug: { version: '>=3.0.0' },
dumpHdInfo: { version: '>=3.0.0' },
dumpPrivKey: {
obfuscate: {
response: () => '******'
},
version: '>=2.2.0'
},
dumpWallet: { version: '>=2.2.0' },
encryptWallet: {
obfuscate: {
request: params => set([...params], '[0]', '******')
},
version: '>=2.2.0'
},
escrowAcknowledge: { version: '>=2.2.0' },
escrowAddShipping: { version: '>=2.2.0' },
escrowBid: { version: '>=2.2.0' },
escrowBidHistory: { version: '>=2.2.0' },
escrowCompleteRefund: { version: '>=2.2.0' },
escrowCompleteRelease: { version: '>=2.2.0' },
escrowCreateRawTransaction: { version: '>=2.2.0' },
escrowFeedback: { version: '>=2.2.0' },
escrowFeedbackHistory: { version: '>=2.2.0' },
escrowFilter: { version: '>=2.2.0' },
escrowInfo: { version: '>=2.2.0' },
escrowNew: { version: '>=2.2.0' },
escrowRefund: { version: '>=2.2.0' },
escrowRelease: { version: '>=2.2.0' },
fundRawTransaction: { version: '>=3.0.0' },
getBlock: { version: '>=2.2.0' },
getBlockCount: { version: '>=2.2.0' },
getBlockHash: { version: '>=2.2.0' },
getBlockchainInfo: { version: '>=2.2.0' },
getInfo: { version: '>=2.2.0' },
getMemPoolInfo: { version: '>=2.2.0' },
getDifficulty: { version: '>=2.2.0' },
getMiningInfo: { version: '>=2.2.0' },
getNetworkInfo: { version: '>=2.2.0' },
getPeerInfo: { version: '>=2.2.0' },
pruneSyscoinServices: { version: '>=2.2.0' },
signRawTransaction: { version: '>=2.2.0' },
syscoinDecodeRawTransaction: { version: '>=2.2.0' },
syscoinListReceivedByAddress: { version: '>=3.0.0' },
syscoinQuery: { version: '>=2.2.0' },
syscoinSendRawTransaction: { version: '>=2.2.0' },
verifyMessage: { version: '>=2.2.0' },
getAddressDeltas: { version: '>=3.0.0' },
getAccount: { version: '>=2.2.0' },
getAccountAddress: { version: '>=2.2.0' },
getAddressBalance: { version: '>=2.2.0' },
getAddressUtxos: { version: '>=2.2.0' },
getAddressMempool: { version: '>=3.0.0' },
getAddressTxids: { version: '>=3.0.0' },
getBlockHashes: { version: '>=3.0.0' },
getBlockHeaders: { version: '>=3.0.0' },
getChainTips: { version: '>=3.0.0' },
getSpentInfo: { version: '>=3.0.0' },
getGenerate: { version: '>=3.0.0' },
getGovernanceInfo: { version: '>=3.0.0' },
getPoolInfo: { version: '>=3.0.0' },
getSuperBlockBudget: { version: '>=3.0.0' },
getBalance: { version: '>=2.2.0' },
getWalletBalance: { version: '>=2.2.0' },
getNewAddress: { version: '>=2.2.0' },
getReceivedByAccount: { version: '>=2.2.0' },
getReceivedByAddress: { version: '>=2.2.0' },
getTransaction: { version: '>=2.2.0' },
getUnconfirmedBalance: { version: '>=2.2.0' },
getWalletInfo: { version: '>=2.2.0' },
getBlockTemplate: { version: '>=3.0.0' },
gObject: { version: '>=3.0.0' },
importElectrumWallet: { version: '>=3.0.0' },
importAddress: { version: '>=2.2.0' },
importPrivKey: {
obfuscate: {
request: () => ['******']
},
version: '>=2.2.0'
},
importPubKey: { version: '>=2.2.0' },
importWallet: { version: '>=2.2.0' },
instantSendToAddress: { version: '>=3.0.0' },
keepass: { version: '>=3.0.0' },
lockUnspent: { version: '>=3.0.0' },
listAccounts: { version: '>=2.2.0' },
listAddressGroupings: { version: '>=2.2.0' },
listAssetAllocationTransactions: { version: '>=3.0.5' },
listReceivedByAccount: { version: '>=2.2.0' },
listReceivedByAddress: { version: '>=2.2.0' },
listSinceBlock: { version: '>=2.2.0' },
listTransactions: { version: '>=2.2.0' },
listUnspent: { version: '>=3.0.0' },
masternode: { version: '>=3.0.0' },
masternodeBroadcast: { version: '>=3.0.0' },
masternodeList: { version: '>=3.0.0' },
mnSync: { version: '>=3.0.0' },
offerInfo: { version: '>=2.2.0' },
offerHistory: { version: '>=2.2.0' },
offerFilter: { version: '>=2.2.0' },
offerLink: { version: '>=2.2.0' },
offerNew: { version: '>=2.2.0' },
offerUpdate: { version: '>=2.2.0' },
privateSend: { version: '>=3.0.0' },
resendWalletTransactions: { version: '>=3.0.0' },
sentinelPing: { version: '>=3.0.0' },
spork: { version: '>=3.0.0' },
sendRawTransaction: { version: '>=3.0.0' },
setGenerate: { version: '>=3.0.0' },
setNetworkActive: { version: '>=3.0.0' },
sendFrom: { version: '>=2.2.0' },
sendMany: { version: '>=2.2.0' },
sendToAddress: { version: '>=2.2.0' },
setAccount: { version: '>=2.2.0' },
setBan: { version: '>=2.2.0' },
signMessage: { version: '>=2.2.0' },
syscoinListReceiveByAddress: { version: '>=3.0.0' },
syscoinTxFund: { version: '>=3.0.0' },
validateAddress: { version: '>=2.2.0' },
voteRaw: { version: '>=3.0.0' },
walletLock: { version: '>=2.2.0' },
walletPassphrase: {
obfuscate: {
request: params => set([...params], '[0]', '******')
},
version: '>=2.2.0'
},
walletPassphraseChange: { version: '>=2.2.0' }
};