vergerpc.data — VERGE RPC service, data objects

VERGE RPC service, data objects.

class vergerpc.data.AccountInfo(*args_t, **args_d)

Bases: vergerpc.util.DStruct

Information object returned by listreceivedbyaccount().

  • account – The account of the receiving address.
  • amount – Total amount received by the address.
  • confirmations – Number of confirmations of the most recent transaction included.
class vergerpc.data.AddressInfo(*args_t, **args_d)

Bases: vergerpc.util.DStruct

Information object returned by listreceivedbyaddress().

  • address – Receiving address.
  • account – The account of the receiving address.
  • amount – Total amount received by the address.
  • confirmations – Number of confirmations of the most recent transaction included.
class vergerpc.data.AddressValidation(*args_t, **args_d)

Bases: vergerpc.util.DStruct

Information object returned by validateaddress().

  • isvalid – Validatity of address (True or False).
  • ismineTrue if the address is in the server’s wallet.
  • address – VERGE address.
class vergerpc.data.MiningInfo(*args_t, **args_d)

Bases: vergerpc.util.DStruct

Information object returned by getmininginfo().

  • blocks – Number of blocks.
  • currentblocksize – Size of current block.
  • currentblocktx – Number of transactions in current block.
  • difficulty – Current generating difficulty.
  • errors – Number of errors.
  • generate – True if generation enabled, False if not.
  • genproclimit – Processor limit for generation.
  • hashespersec – Number of hashes per second (if generation enabled).
  • pooledtx – Number of pooled transactions.
  • testnet – True if connected to testnet, False if on real network.
class vergerpc.data.ServerInfo(*args_t, **args_d)

Bases: vergerpc.util.DStruct

Information object returned by getinfo().

  • errors – Number of errors.
  • blocks – Number of blocks.
  • paytxfee – Amount of transaction fee to pay.
  • keypoololdest – Oldest key in keypool.
  • genproclimit – Processor limit for generation.
  • connections – Number of connections to other clients.
  • difficulty – Current generating difficulty.
  • testnet – True if connected to testnet, False if on real network.
  • version – VERGE client version.
  • proxy – Proxy configured in client.
  • hashespersec – Number of hashes per second (if generation enabled).
  • balance – Total current server balance.
  • generate – True if generation enabled, False if not.
  • unlocked_until – Timestamp (seconds since epoch) after which the wallet
    will be/was locked (if wallet encryption is enabled).
class vergerpc.data.TransactionInfo(*args_t, **args_d)

Bases: vergerpc.util.DStruct

Information object returned by listtransactions().

  • account – account name.
  • address – the address verges were sent to, or received from.
  • category – will be generate, send, receive, or move.
  • amount – amount of transaction.
  • fee – Fee (if any) paid (only for send transactions).
  • confirmations – number of confirmations (only for generate/send/receive).
  • txid – transaction ID (only for generate/send/receive).
  • otheraccount – account funds were moved to or from (only for move).
  • message – message associated with transaction (only for send).
  • to – message-to associated with transaction (only for send).
class vergerpc.data.WorkItem(*args_t, **args_d)

Bases: vergerpc.util.DStruct

Information object returned by getwork().

  • midstate – Precomputed hash state after hashing the first half of the data.
  • data – Block data.
  • hash1 – Formatted hash buffer for second hash.
  • target – Little endian hash target.