Ixian SDK
IXICore Namespace Reference

Namespaces

namespace  CryptoKey
 
namespace  Meta
 
namespace  Network
 
namespace  Utils
 

Classes

class  Address
 Ixian Wallet Address. This class holds a binary value of an Ixian Address and contains functions to encode that information to- or retrieve it from a bytestream. An address can be constructed either directly from address bytes or from a combination of public key and a 'nonce' value. More...
 
class  AddressClient
 Allows a client to generated a secret value with incorporated markers for multiple addresses. Such a value obscures which addresses it represents, but allows others to check whether a given address is part of the set or not with a configurable degree of false-positives. See also AddressMatcher. More...
 
class  AddressComparer
 
class  AddressData
 
class  AddressMatcher
 The other half of the implementation for AddressClient, which allows an untrusted party to check if given addresses are of interest to the client. The client supplies a 'matcher' value, against which the addresses are checked. The matcher will produce false-positives, but never false-negatives, which means that it is impossible to accurately determine if an address belongs to the client or not. More...
 
class  Block
 An Ixian DLT Block. A block contains all the transactions which act on the WalletState and various checksums which validate the actions performed on the blockchain. Blocks are the fundamental data structure of Distributed Ledger Technology (DLT) and form a chain of valid states from the so-called 'Genesis Block' to the present moment. An Ixian Block must include checksums of the previous block, checksums of the internal data structures (WalletState) and a list of transactions which have updated the WalletState from its previous value to its current value. In addition, a block contains cryptographic signatures of Master nodes, which is the basis for the Ixian Consensus algorithm. More...
 
class  BlockHeader
 An Ixian DLT Block Header. A block header contains the minimum required data needed for transaction inclusion verification. More...
 
class  BlockVer
 
class  BouncyCastle
 
class  Clock
 
class  ConsensusConfig
 Basic Ixian (compile-time) configuration values. More...
 
class  Core
 A collection of utility functions. More...
 
class  CoreConfig
 Basic Ixian (compile-time) configuration values. More...
 
class  CoreProtocolMessage
 Common functions for manipulating Ixian protocol message. More...
 
class  Crypto
 Shortcuts for some common Ixian cryptographic operations. More...
 
class  CryptoLib
 
class  CryptoManager
 
class  GenericAPIServer
 
interface  ICryptoLib
 Interface for implementing different cryptographic libraries. More...
 
class  IxianKeyPair
 Represents the raw data of an Ixian RSA key value. More...
 
class  IxiNumber
 
class  JsonError
 
class  JsonResponse
 
class  JsonRpcRequest
 
class  Peer
 A network peer (remote endpoint). More...
 
class  PeerStorage
 
class  PendingTransactions
 
class  Platform
 Platform-specific utilities. More...
 
class  Presence
 
class  PresenceAddress
 
class  PresenceList
 
class  PresenceOrderedEnumerator
 
class  SuperBlockSegment
 
class  Transaction
 Represents a single transaction on the Ixian blockchain. More...
 
class  TransactionInclusion
 
class  UPnP
 
class  Wallet
 
class  WalletState
 
class  WalletStorage
 
class  WsChunk
 

Enumerations

enum  RPCErrorCode {
  RPCErrorCode.RPC_INVALID_REQUEST = -32600, RPCErrorCode.RPC_METHOD_NOT_FOUND = -32601, RPCErrorCode.RPC_INVALID_PARAMS = -32602, RPCErrorCode.RPC_INTERNAL_ERROR = -32603,
  RPCErrorCode.RPC_PARSE_ERROR = -32700, RPCErrorCode.RPC_MISC_ERROR = -1, RPCErrorCode.RPC_FORBIDDEN_BY_SAFE_MODE = -2, RPCErrorCode.RPC_TYPE_ERROR = -3,
  RPCErrorCode.RPC_INVALID_ADDRESS_OR_KEY = -5, RPCErrorCode.RPC_OUT_OF_MEMORY = -7, RPCErrorCode.RPC_INVALID_PARAMETER = -8, RPCErrorCode.RPC_DATABASE_ERROR = -20,
  RPCErrorCode.RPC_DESERIALIZATION_ERROR = -22, RPCErrorCode.RPC_VERIFY_ERROR = -25, RPCErrorCode.RPC_VERIFY_REJECTED = -26, RPCErrorCode.RPC_VERIFY_ALREADY_IN_CHAIN = -27,
  RPCErrorCode.RPC_IN_WARMUP = -28, RPCErrorCode.RPC_CLIENT_NOT_CONNECTED = -9, RPCErrorCode.RPC_CLIENT_IN_INITIAL_DOWNLOAD = -10, RPCErrorCode.RPC_CLIENT_NODE_ALREADY_ADDED = -23,
  RPCErrorCode.RPC_CLIENT_NODE_NOT_ADDED = -24, RPCErrorCode.RPC_WALLET_ERROR = -4, RPCErrorCode.RPC_WALLET_INSUFFICIENT_FUNDS = -6, RPCErrorCode.RPC_WALLET_INVALID_ACCOUNT_NAME = -11,
  RPCErrorCode.RPC_WALLET_KEYPOOL_RAN_OUT = -12, RPCErrorCode.RPC_WALLET_UNLOCK_NEEDED = -13, RPCErrorCode.RPC_WALLET_PASSPHRASE_INCORRECT = -14, RPCErrorCode.RPC_WALLET_WRONG_ENC_STATE = -15,
  RPCErrorCode.RPC_WALLET_ENCRYPTION_FAILED = -16, RPCErrorCode.RPC_WALLET_ALREADY_UNLOCKED = -17
}
 RPC error codes. More...
 
enum  WalletType : byte { WalletType.Normal, WalletType.Multisig }
 

Enumeration Type Documentation

◆ RPCErrorCode

enum IXICore.RPCErrorCode
strong

RPC error codes.

Enumerator
RPC_INVALID_REQUEST 

Standard JSON-RPC 2.0 errors.

RPC_METHOD_NOT_FOUND 
RPC_INVALID_PARAMS 
RPC_INTERNAL_ERROR 
RPC_PARSE_ERROR 
RPC_MISC_ERROR 

General application defined errors.

RPC_FORBIDDEN_BY_SAFE_MODE 

std::exception thrown in command handling

RPC_TYPE_ERROR 

Server is in safe mode, and command is not allowed in safe mode.

RPC_INVALID_ADDRESS_OR_KEY 

Unexpected type was passed as parameter.

RPC_OUT_OF_MEMORY 

Invalid address or key.

RPC_INVALID_PARAMETER 

Ran out of memory during operation.

RPC_DATABASE_ERROR 

Invalid, missing or duplicate parameter.

RPC_DESERIALIZATION_ERROR 

Database error.

RPC_VERIFY_ERROR 

Error parsing or validating structure in raw format.

RPC_VERIFY_REJECTED 

General error during transaction or block submission.

RPC_VERIFY_ALREADY_IN_CHAIN 

Transaction or block was rejected by network rules.

RPC_IN_WARMUP 

Transaction already in chain.

RPC_CLIENT_NOT_CONNECTED 

Client still warming up.

P2P client errors

RPC_CLIENT_IN_INITIAL_DOWNLOAD 

not connected

RPC_CLIENT_NODE_ALREADY_ADDED 

Still downloading initial blocks.

RPC_CLIENT_NODE_NOT_ADDED 

Node is already added.

RPC_WALLET_ERROR 

Node has not been added before.

Wallet errors

RPC_WALLET_INSUFFICIENT_FUNDS 

Unspecified problem with wallet (key not found etc.)

RPC_WALLET_INVALID_ACCOUNT_NAME 

Not enough funds in wallet or account.

RPC_WALLET_KEYPOOL_RAN_OUT 

Invalid account name.

RPC_WALLET_UNLOCK_NEEDED 

Keypool ran out, call keypoolrefill first.

RPC_WALLET_PASSPHRASE_INCORRECT 

Enter the wallet passphrase with walletpassphrase first.

RPC_WALLET_WRONG_ENC_STATE 

The wallet passphrase entered was incorrect.

RPC_WALLET_ENCRYPTION_FAILED 

Command given in wrong wallet encryption state (encrypting an encrypted wallet etc.)

RPC_WALLET_ALREADY_UNLOCKED 

Failed to encrypt the wallet.

Definition at line 16 of file GenericAPIServer.cs.

◆ WalletType

enum IXICore.WalletType : byte
strong
Enumerator
Normal 
Multisig 

Definition at line 10 of file Wallet.cs.