Module: Berycoin::Gem::Wallet

Defined in:
lib/berycoin/gem.rb

Class Method Summary collapse

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()
  H.getaccountaddress 
end

.getaddressesbyaccount(account) ⇒ Object



233
234
235
# File 'lib/berycoin/gem.rb', line 233

def Wallet.getaddressesbyaccount()
  H.getaddressesbyaccount()
end

.getbalanceObject



236
237
238
# File 'lib/berycoin/gem.rb', line 236

def Wallet.getbalance
  H.getbalance
end

.getnewaddressObject



239
240
241
# File 'lib/berycoin/gem.rb', line 239

def Wallet.getnewaddress
  H.getnewaddress
end

.getrawchangeaddressObject



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()
  H.getreceivedbyaccount 
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

.getunconfirmedbalanceObject



254
255
256
# File 'lib/berycoin/gem.rb', line 254

def Wallet.getunconfirmedbalance
  H.getunconfirmedbalance
end

.getwalletinfoObject



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

.importprunedfundsObject



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

.keypoolrefillObject



275
276
277
# File 'lib/berycoin/gem.rb', line 275

def Wallet.keypoolrefill
  H.keypoolrefill
end

.listaccountsObject



278
279
280
# File 'lib/berycoin/gem.rb', line 278

def Wallet.listaccounts
  H.listaccounts
end

.listaddressgroupingsObject



281
282
283
# File 'lib/berycoin/gem.rb', line 281

def Wallet.listaddressgroupings
  H.listaddressgroupings
end

.listlockunspentObject



284
285
286
# File 'lib/berycoin/gem.rb', line 284

def Wallet.listlockunspent
  H.listlockunspent
end

.listreceivedbyaccountObject



287
288
289
# File 'lib/berycoin/gem.rb', line 287

def Wallet.listreceivedbyaccount
  H.listreceivedbyaccount
end

.listreceivedbyaddressObject



290
291
292
# File 'lib/berycoin/gem.rb', line 290

def Wallet.listreceivedbyaddress
  H.listreceivedbyaddress
end

.listsinceblockObject



293
294
295
# File 'lib/berycoin/gem.rb', line 293

def Wallet.listsinceblock
  H.listsinceblock
end

.listtransactionsObject



296
297
298
# File 'lib/berycoin/gem.rb', line 296

def Wallet.listtransactions
  H.listtransactions
end

.listunspentObject



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,)
  H.sendtoaddress(berycoinaddress,)
end

.setaccount(berycoinaddress, account) ⇒ Object



317
318
319
# File 'lib/berycoin/gem.rb', line 317

def Wallet.setaccount(berycoinaddress,)
  H.setaccount(berycoinaddress,)
end

.settxfee(amount) ⇒ Object



320
321
322
# File 'lib/berycoin/gem.rb', line 320

def Wallet.settxfee(amount)
  H.settxfee amount
end

.signmessage(berycoinaddress, message) ⇒ Object



323
324
325
# File 'lib/berycoin/gem.rb', line 323

def Wallet.signmessage(berycoinaddress,message)
  H.signmessage(berycoinaddress,message)
end