Module: Berycoin::Gem::Wallet
- Defined in:
- lib/berycoin/gem.rb
Class Method Summary collapse
- .abandontransaction(txid) ⇒ Object
- .addmultisigaddress(nrequired) ⇒ Object
- .addwitnessaddress(address) ⇒ Object
- .backupwallet(destination) ⇒ Object
- .dumpprivkey(berycoinaddress) ⇒ Object
- .dumpwallet(filename) ⇒ Object
- .encryptwallet(passphrase) ⇒ Object
- .getaccount(berycoinaddress) ⇒ Object
- .getaccountaddress(account) ⇒ Object
- .getaddressesbyaccount(account) ⇒ Object
- .getbalance ⇒ Object
- .getnewaddress ⇒ Object
- .getrawchangeaddress ⇒ Object
- .getreceivedbyaccount(account) ⇒ Object
- .getreceivedbyaddress(address) ⇒ Object
- .gettransaction(txid) ⇒ Object
- .getunconfirmedbalance ⇒ Object
- .getwalletinfo ⇒ Object
- .importaddress(address) ⇒ Object
- .importprivkey(berycoinprivkey) ⇒ Object
- .importprunedfunds ⇒ Object
- .importpubkey(pubkey) ⇒ Object
- .importwallet(filename) ⇒ Object
- .keypoolrefill ⇒ Object
- .listaccounts ⇒ Object
- .listaddressgroupings ⇒ Object
- .listlockunspent ⇒ Object
- .listreceivedbyaccount ⇒ Object
- .listreceivedbyaddress ⇒ Object
- .listsinceblock ⇒ Object
- .listtransactions ⇒ Object
- .listunspent ⇒ Object
- .lockunspent(unlock) ⇒ Object
- .move(fromaccount, toaccount, amount) ⇒ Object
- .sendfrom(fromaccount, toberycoinaddress, amount) ⇒ Object
- .sendmany(fromaccount, json) ⇒ Object
- .sendtoaddress(berycoinaddress, account) ⇒ Object
- .setaccount(berycoinaddress, account) ⇒ Object
- .settxfee(amount) ⇒ Object
- .signmessage(berycoinaddress, message) ⇒ Object
Class Method Details
.abandontransaction(txid) ⇒ Object
206 207 208 |
# File 'lib/berycoin/gem.rb', line 206 def Wallet.abandontransaction(txid) H.abandontransaction txid end |
.addmultisigaddress(nrequired) ⇒ Object
209 210 211 |
# File 'lib/berycoin/gem.rb', line 209 def Wallet.addmultisigaddress(nrequired) H.addmultisigaddress nrequired end |
.addwitnessaddress(address) ⇒ Object
212 213 214 |
# File 'lib/berycoin/gem.rb', line 212 def Wallet.addwitnessaddress(address) H.addwitnessaddress address end |
.backupwallet(destination) ⇒ Object
215 216 217 |
# File 'lib/berycoin/gem.rb', line 215 def Wallet.backupwallet(destination) H.backupwallet destination end |
.dumpprivkey(berycoinaddress) ⇒ Object
218 219 220 |
# File 'lib/berycoin/gem.rb', line 218 def Wallet.dumpprivkey(berycoinaddress) H.dumpprivkey berycoinaddress end |
.dumpwallet(filename) ⇒ Object
221 222 223 |
# File 'lib/berycoin/gem.rb', line 221 def Wallet.dumpwallet(filename) H.dumpwallet filename end |
.encryptwallet(passphrase) ⇒ Object
224 225 226 |
# File 'lib/berycoin/gem.rb', line 224 def Wallet.encryptwallet(passphrase) H.encryptwallet passphrase end |
.getaccount(berycoinaddress) ⇒ Object
227 228 229 |
# File 'lib/berycoin/gem.rb', line 227 def Wallet.getaccount(berycoinaddress) H.getaccount berycoinaddress end |
.getaccountaddress(account) ⇒ Object
230 231 232 |
# File 'lib/berycoin/gem.rb', line 230 def Wallet.getaccountaddress(account) H.getaccountaddress account end |
.getaddressesbyaccount(account) ⇒ Object
233 234 235 |
# File 'lib/berycoin/gem.rb', line 233 def Wallet.getaddressesbyaccount(account) H.getaddressesbyaccount(account) end |
.getbalance ⇒ Object
236 237 238 |
# File 'lib/berycoin/gem.rb', line 236 def Wallet.getbalance H.getbalance end |
.getnewaddress ⇒ Object
239 240 241 |
# File 'lib/berycoin/gem.rb', line 239 def Wallet.getnewaddress H.getnewaddress end |
.getrawchangeaddress ⇒ Object
242 243 244 |
# File 'lib/berycoin/gem.rb', line 242 def Wallet.getrawchangeaddress H.getrawchangeaddress end |
.getreceivedbyaccount(account) ⇒ Object
245 246 247 |
# File 'lib/berycoin/gem.rb', line 245 def Wallet.getreceivedbyaccount(account) H.getreceivedbyaccount account end |
.getreceivedbyaddress(address) ⇒ Object
248 249 250 |
# File 'lib/berycoin/gem.rb', line 248 def Wallet.getreceivedbyaddress(address) H.getreceivedbyaddress address end |
.gettransaction(txid) ⇒ Object
251 252 253 |
# File 'lib/berycoin/gem.rb', line 251 def Wallet.gettransaction(txid) H.gettransaction txid end |
.getunconfirmedbalance ⇒ Object
254 255 256 |
# File 'lib/berycoin/gem.rb', line 254 def Wallet.getunconfirmedbalance H.getunconfirmedbalance end |
.getwalletinfo ⇒ Object
257 258 259 |
# File 'lib/berycoin/gem.rb', line 257 def Wallet.getwalletinfo H.getwalletinfo end |
.importaddress(address) ⇒ Object
260 261 262 |
# File 'lib/berycoin/gem.rb', line 260 def Wallet.importaddress(address) H.importaddress address end |
.importprivkey(berycoinprivkey) ⇒ Object
263 264 265 |
# File 'lib/berycoin/gem.rb', line 263 def Wallet.importprivkey(berycoinprivkey) H.importprivkey berycoinprivkey end |
.importprunedfunds ⇒ Object
266 267 268 |
# File 'lib/berycoin/gem.rb', line 266 def Wallet.importprunedfunds H.importprunedfunds end |
.importpubkey(pubkey) ⇒ Object
269 270 271 |
# File 'lib/berycoin/gem.rb', line 269 def Wallet.importpubkey(pubkey) H.importpubkey(pubkey) end |
.importwallet(filename) ⇒ Object
272 273 274 |
# File 'lib/berycoin/gem.rb', line 272 def Wallet.importwallet(filename) H.importwallet(filename) end |
.keypoolrefill ⇒ Object
275 276 277 |
# File 'lib/berycoin/gem.rb', line 275 def Wallet.keypoolrefill H.keypoolrefill end |
.listaccounts ⇒ Object
278 279 280 |
# File 'lib/berycoin/gem.rb', line 278 def Wallet.listaccounts H.listaccounts end |
.listaddressgroupings ⇒ Object
281 282 283 |
# File 'lib/berycoin/gem.rb', line 281 def Wallet.listaddressgroupings H.listaddressgroupings end |
.listlockunspent ⇒ Object
284 285 286 |
# File 'lib/berycoin/gem.rb', line 284 def Wallet.listlockunspent H.listlockunspent end |
.listreceivedbyaccount ⇒ Object
287 288 289 |
# File 'lib/berycoin/gem.rb', line 287 def Wallet.listreceivedbyaccount H.listreceivedbyaccount end |
.listreceivedbyaddress ⇒ Object
290 291 292 |
# File 'lib/berycoin/gem.rb', line 290 def Wallet.listreceivedbyaddress H.listreceivedbyaddress end |
.listsinceblock ⇒ Object
293 294 295 |
# File 'lib/berycoin/gem.rb', line 293 def Wallet.listsinceblock H.listsinceblock end |
.listtransactions ⇒ Object
296 297 298 |
# File 'lib/berycoin/gem.rb', line 296 def Wallet.listtransactions H.listtransactions end |
.listunspent ⇒ Object
299 300 301 |
# File 'lib/berycoin/gem.rb', line 299 def Wallet.listunspent H.listunspent end |
.lockunspent(unlock) ⇒ Object
302 303 304 |
# File 'lib/berycoin/gem.rb', line 302 def Wallet.lockunspent(unlock) H.lockunspent unlock end |
.move(fromaccount, toaccount, amount) ⇒ Object
305 306 307 |
# File 'lib/berycoin/gem.rb', line 305 def Wallet.move(fromaccount,toaccount, amount) H.move(fromaccount, toaccount, amount) end |
.sendfrom(fromaccount, toberycoinaddress, amount) ⇒ Object
308 309 310 |
# File 'lib/berycoin/gem.rb', line 308 def Wallet.sendfrom(fromaccount,toberycoinaddress,amount) H.sendfrom(fromaccount,toberycoinaddress,amount) end |
.sendmany(fromaccount, json) ⇒ Object
311 312 313 |
# File 'lib/berycoin/gem.rb', line 311 def Wallet.sendmany(fromaccount, json) H.sendmany(fromaccount, json) end |
.sendtoaddress(berycoinaddress, account) ⇒ Object
314 315 316 |
# File 'lib/berycoin/gem.rb', line 314 def Wallet.sendtoaddress(berycoinaddress,account) H.sendtoaddress(berycoinaddress,account) end |
.setaccount(berycoinaddress, account) ⇒ Object
317 318 319 |
# File 'lib/berycoin/gem.rb', line 317 def Wallet.setaccount(berycoinaddress,account) H.setaccount(berycoinaddress,account) end |