Documentation
¶
Index ¶
- Variables
- func RegisterBcServer(s grpc.ServiceRegistrar, srv BcServer)
- func RegisterMinerServer(s grpc.ServiceRegistrar, srv MinerServer)
- func RegisterRoverServer(s grpc.ServiceRegistrar, srv RoverServer)
- type BcBlock
- func (*BcBlock) Descriptor() ([]byte, []int)deprecated
- func (x *BcBlock) GetBlockchainFingerprintsRoot() string
- func (x *BcBlock) GetBlockchainHeaders() *BlockchainHeaders
- func (x *BcBlock) GetBlockchainHeadersCount() uint64
- func (x *BcBlock) GetChainRoot() string
- func (x *BcBlock) GetDifficulty() string
- func (x *BcBlock) GetDistance() string
- func (x *BcBlock) GetEmblemChainAddress() string
- func (x *BcBlock) GetEmblemChainFingerprintRoot() string
- func (x *BcBlock) GetEmblemWeight() uint64
- func (x *BcBlock) GetHash() string
- func (x *BcBlock) GetHeight() uint64
- func (x *BcBlock) GetMerkleRoot() string
- func (x *BcBlock) GetMiner() string
- func (x *BcBlock) GetNonce() string
- func (x *BcBlock) GetNrgGrant() uint64
- func (x *BcBlock) GetPreviousHash() string
- func (x *BcBlock) GetSchemaVersion() uint64
- func (x *BcBlock) GetTimestamp() uint64
- func (x *BcBlock) GetTotalDistance() string
- func (x *BcBlock) GetTwn() uint64
- func (x *BcBlock) GetTws() []string
- func (x *BcBlock) GetTxCount() uint64
- func (x *BcBlock) GetTxDistanceSumLimit() uint64
- func (x *BcBlock) GetTxFeeBase() uint64
- func (x *BcBlock) GetTxs() []*Transaction
- func (x *BcBlock) GetVersion() uint64
- func (*BcBlock) ProtoMessage()
- func (x *BcBlock) ProtoReflect() protoreflect.Message
- func (x *BcBlock) Reset()
- func (x *BcBlock) String() string
- type BcBlocks
- type BcClient
- type BcMessages
- type BcServer
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetBlockchain() string
- func (x *Block) GetHash() string
- func (x *Block) GetHeight() uint64
- func (x *Block) GetMarkedTxCount() uint64
- func (x *Block) GetMarkedTxs() []*MarkedTransaction
- func (x *Block) GetMerkleRoot() string
- func (x *Block) GetPreviousHash() string
- func (x *Block) GetTimestamp() uint64
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- type BlockFingerprint
- func (*BlockFingerprint) Descriptor() ([]byte, []int)deprecated
- func (x *BlockFingerprint) GetBlockchain() string
- func (x *BlockFingerprint) GetHash() string
- func (x *BlockFingerprint) GetIsCurrent() bool
- func (x *BlockFingerprint) GetTimestamp() uint64
- func (*BlockFingerprint) ProtoMessage()
- func (x *BlockFingerprint) ProtoReflect() protoreflect.Message
- func (x *BlockFingerprint) Reset()
- func (x *BlockFingerprint) String() string
- type BlockchainHeader
- func (*BlockchainHeader) Descriptor() ([]byte, []int)deprecated
- func (x *BlockchainHeader) GetBlockchain() string
- func (x *BlockchainHeader) GetBlockchainConfirmationsInParentCount() uint64
- func (x *BlockchainHeader) GetHash() string
- func (x *BlockchainHeader) GetHeight() uint64
- func (x *BlockchainHeader) GetMarkedTxCount() uint64
- func (x *BlockchainHeader) GetMarkedTxs() []*MarkedTransaction
- func (x *BlockchainHeader) GetMerkleRoot() string
- func (x *BlockchainHeader) GetPreviousHash() string
- func (x *BlockchainHeader) GetTimestamp() uint64
- func (*BlockchainHeader) ProtoMessage()
- func (x *BlockchainHeader) ProtoReflect() protoreflect.Message
- func (x *BlockchainHeader) Reset()
- func (x *BlockchainHeader) String() string
- type BlockchainHeaders
- func (*BlockchainHeaders) Descriptor() ([]byte, []int)deprecated
- func (x *BlockchainHeaders) GetBtc() []*BlockchainHeader
- func (x *BlockchainHeaders) GetEth() []*BlockchainHeader
- func (x *BlockchainHeaders) GetLsk() []*BlockchainHeader
- func (x *BlockchainHeaders) GetNeo() []*BlockchainHeader
- func (x *BlockchainHeaders) GetWav() []*BlockchainHeader
- func (*BlockchainHeaders) ProtoMessage()
- func (x *BlockchainHeaders) ProtoReflect() protoreflect.Message
- func (x *BlockchainHeaders) Reset()
- func (x *BlockchainHeaders) String() string
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetSecureAdmin() string
- func (x *Config) GetSecureGroup() string
- func (x *Config) GetServices() []*Service
- func (x *Config) GetVersion() uint64
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type CurrentWork
- type DbValue
- func (*DbValue) Descriptor() ([]byte, []int)deprecated
- func (x *DbValue) GetData() []byte
- func (x *DbValue) GetIsNative() bool
- func (x *DbValue) GetType() string
- func (x *DbValue) GetVersion() int32
- func (*DbValue) ProtoMessage()
- func (x *DbValue) ProtoReflect() protoreflect.Message
- func (x *DbValue) Reset()
- func (x *DbValue) String() string
- type FeedBalance
- type FeedMessage
- func (*FeedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *FeedMessage) GetAddress() string
- func (x *FeedMessage) GetBalances() []*FeedBalance
- func (x *FeedMessage) GetMessage() string
- func (x *FeedMessage) GetTimestamp() uint64
- func (*FeedMessage) ProtoMessage()
- func (x *FeedMessage) ProtoReflect() protoreflect.Message
- func (x *FeedMessage) Reset()
- func (x *FeedMessage) String() string
- type FeedMessages
- type FeedTransactionDataType
- func (FeedTransactionDataType) Descriptor() protoreflect.EnumDescriptor
- func (x FeedTransactionDataType) Enum() *FeedTransactionDataType
- func (FeedTransactionDataType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FeedTransactionDataType) Number() protoreflect.EnumNumber
- func (x FeedTransactionDataType) String() string
- func (FeedTransactionDataType) Type() protoreflect.EnumType
- type GetBalanceRequest
- type GetBalanceResponse
- func (*GetBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBalanceResponse) GetCollateralized() string
- func (x *GetBalanceResponse) GetConfirmed() string
- func (x *GetBalanceResponse) GetHeight() uint32
- func (x *GetBalanceResponse) GetUnconfirmed() string
- func (x *GetBalanceResponse) GetUnlockable() string
- func (*GetBalanceResponse) ProtoMessage()
- func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *GetBalanceResponse) Reset()
- func (x *GetBalanceResponse) String() string
- type GetBlake2BlRequest
- func (*GetBlake2BlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlake2BlRequest) GetTimes() uint32
- func (x *GetBlake2BlRequest) GetToBeHashed() string
- func (*GetBlake2BlRequest) ProtoMessage()
- func (x *GetBlake2BlRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlake2BlRequest) Reset()
- func (x *GetBlake2BlRequest) String() string
- type GetBlake2BlResponse
- func (*GetBlake2BlResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlake2BlResponse) GetHash() string
- func (*GetBlake2BlResponse) ProtoMessage()
- func (x *GetBlake2BlResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlake2BlResponse) Reset()
- func (x *GetBlake2BlResponse) String() string
- type GetBlockHashRequest
- func (*GetBlockHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockHashRequest) GetHash() string
- func (*GetBlockHashRequest) ProtoMessage()
- func (x *GetBlockHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockHashRequest) Reset()
- func (x *GetBlockHashRequest) String() string
- type GetBlockHeightRequest
- func (*GetBlockHeightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockHeightRequest) GetHeight() uint32
- func (*GetBlockHeightRequest) ProtoMessage()
- func (x *GetBlockHeightRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockHeightRequest) Reset()
- func (x *GetBlockHeightRequest) String() string
- type GetBlocksByRoveredHashRequest
- func (*GetBlocksByRoveredHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlocksByRoveredHashRequest) GetBlockchain() string
- func (x *GetBlocksByRoveredHashRequest) GetHash() string
- func (*GetBlocksByRoveredHashRequest) ProtoMessage()
- func (x *GetBlocksByRoveredHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlocksByRoveredHashRequest) Reset()
- func (x *GetBlocksByRoveredHashRequest) String() string
- type GetBlocksByRoveredHashResponse
- func (*GetBlocksByRoveredHashResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlocksByRoveredHashResponse) GetBlocks() []*BcBlock
- func (*GetBlocksByRoveredHashResponse) ProtoMessage()
- func (x *GetBlocksByRoveredHashResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlocksByRoveredHashResponse) Reset()
- func (x *GetBlocksByRoveredHashResponse) String() string
- type GetBlocksRequest
- func (*GetBlocksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlocksRequest) GetEndHeight() uint32
- func (x *GetBlocksRequest) GetStartHeight() uint32
- func (*GetBlocksRequest) ProtoMessage()
- func (x *GetBlocksRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlocksRequest) Reset()
- func (x *GetBlocksRequest) String() string
- type GetBlocksResponse
- func (*GetBlocksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlocksResponse) GetBlocks() []*BcBlock
- func (*GetBlocksResponse) ProtoMessage()
- func (x *GetBlocksResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlocksResponse) Reset()
- func (x *GetBlocksResponse) String() string
- type GetByteFeeResponse
- type GetEmbBalanceResponse
- func (*GetEmbBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEmbBalanceResponse) GetBalance() string
- func (*GetEmbBalanceResponse) ProtoMessage()
- func (x *GetEmbBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *GetEmbBalanceResponse) Reset()
- func (x *GetEmbBalanceResponse) String() string
- type GetFeedMessagesRequest
- func (*GetFeedMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFeedMessagesRequest) GetFrom() uint64
- func (x *GetFeedMessagesRequest) GetTo() uint64
- func (*GetFeedMessagesRequest) ProtoMessage()
- func (x *GetFeedMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetFeedMessagesRequest) Reset()
- func (x *GetFeedMessagesRequest) String() string
- type GetHistoricalOrdersResponse
- func (*GetHistoricalOrdersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHistoricalOrdersResponse) GetNextBlock() uint64
- func (x *GetHistoricalOrdersResponse) GetOrders() []*MatchedOrderInfo
- func (*GetHistoricalOrdersResponse) ProtoMessage()
- func (x *GetHistoricalOrdersResponse) ProtoReflect() protoreflect.Message
- func (x *GetHistoricalOrdersResponse) Reset()
- func (x *GetHistoricalOrdersResponse) String() string
- type GetHistoryRequest
- func (*GetHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHistoryRequest) GetFrom() string
- func (x *GetHistoryRequest) GetMax() uint64
- func (*GetHistoryRequest) ProtoMessage()
- func (x *GetHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetHistoryRequest) Reset()
- func (x *GetHistoryRequest) String() string
- type GetMarkedTxRequest
- func (*GetMarkedTxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMarkedTxRequest) GetBlockchain() string
- func (x *GetMarkedTxRequest) GetHash() string
- func (*GetMarkedTxRequest) ProtoMessage()
- func (x *GetMarkedTxRequest) ProtoReflect() protoreflect.Message
- func (x *GetMarkedTxRequest) Reset()
- func (x *GetMarkedTxRequest) String() string
- type GetMarkedTxs
- type GetMatchedOrdersResponse
- func (*GetMatchedOrdersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMatchedOrdersResponse) GetOrders() []*MatchedOrderInfo
- func (*GetMatchedOrdersResponse) ProtoMessage()
- func (x *GetMatchedOrdersResponse) ProtoReflect() protoreflect.Message
- func (x *GetMatchedOrdersResponse) Reset()
- func (x *GetMatchedOrdersResponse) String() string
- type GetNrgSupplyResponse
- func (*GetNrgSupplyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNrgSupplyResponse) GetAmount() string
- func (*GetNrgSupplyResponse) ProtoMessage()
- func (x *GetNrgSupplyResponse) ProtoReflect() protoreflect.Message
- func (x *GetNrgSupplyResponse) Reset()
- func (x *GetNrgSupplyResponse) String() string
- type GetOpenOrdersResponse
- func (*GetOpenOrdersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOpenOrdersResponse) GetOrders() []*MakerOrderInfo
- func (*GetOpenOrdersResponse) ProtoMessage()
- func (x *GetOpenOrdersResponse) ProtoReflect() protoreflect.Message
- func (x *GetOpenOrdersResponse) Reset()
- func (x *GetOpenOrdersResponse) String() string
- type GetOutPointRequest
- func (*GetOutPointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOutPointRequest) GetHash() string
- func (x *GetOutPointRequest) GetIndex() uint32
- func (*GetOutPointRequest) ProtoMessage()
- func (x *GetOutPointRequest) ProtoReflect() protoreflect.Message
- func (x *GetOutPointRequest) Reset()
- func (x *GetOutPointRequest) String() string
- type GetOutPointStatusResponse
- func (*GetOutPointStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOutPointStatusResponse) GetUnspent() bool
- func (*GetOutPointStatusResponse) ProtoMessage()
- func (x *GetOutPointStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetOutPointStatusResponse) Reset()
- func (x *GetOutPointStatusResponse) String() string
- type GetRawMempoolResponse
- func (*GetRawMempoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRawMempoolResponse) GetTransactions() []*Transaction
- func (*GetRawMempoolResponse) ProtoMessage()
- func (x *GetRawMempoolResponse) ProtoReflect() protoreflect.Message
- func (x *GetRawMempoolResponse) Reset()
- func (x *GetRawMempoolResponse) String() string
- type GetRoveredBlockHashRequest
- func (*GetRoveredBlockHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoveredBlockHashRequest) GetBlockchain() string
- func (x *GetRoveredBlockHashRequest) GetHash() string
- func (*GetRoveredBlockHashRequest) ProtoMessage()
- func (x *GetRoveredBlockHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetRoveredBlockHashRequest) Reset()
- func (x *GetRoveredBlockHashRequest) String() string
- type GetRoveredBlockHeightRequest
- func (*GetRoveredBlockHeightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoveredBlockHeightRequest) GetBlockchain() string
- func (x *GetRoveredBlockHeightRequest) GetHeight() uint32
- func (*GetRoveredBlockHeightRequest) ProtoMessage()
- func (x *GetRoveredBlockHeightRequest) ProtoReflect() protoreflect.Message
- func (x *GetRoveredBlockHeightRequest) Reset()
- func (x *GetRoveredBlockHeightRequest) String() string
- type GetRoveredBlocksRequest
- func (*GetRoveredBlocksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoveredBlocksRequest) GetBlockchain() string
- func (x *GetRoveredBlocksRequest) GetEndHeight() uint32
- func (x *GetRoveredBlocksRequest) GetStartHeight() uint32
- func (*GetRoveredBlocksRequest) ProtoMessage()
- func (x *GetRoveredBlocksRequest) ProtoReflect() protoreflect.Message
- func (x *GetRoveredBlocksRequest) Reset()
- func (x *GetRoveredBlocksRequest) String() string
- type GetRoveredBlocksResponse
- func (*GetRoveredBlocksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoveredBlocksResponse) GetBlocks() []*Block
- func (*GetRoveredBlocksResponse) ProtoMessage()
- func (x *GetRoveredBlocksResponse) ProtoReflect() protoreflect.Message
- func (x *GetRoveredBlocksResponse) Reset()
- func (x *GetRoveredBlocksResponse) String() string
- type GetSpendableCollateralRequest
- func (*GetSpendableCollateralRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSpendableCollateralRequest) GetAddress() string
- func (x *GetSpendableCollateralRequest) GetFrom() uint32
- func (x *GetSpendableCollateralRequest) GetTo() uint32
- func (*GetSpendableCollateralRequest) ProtoMessage()
- func (x *GetSpendableCollateralRequest) ProtoReflect() protoreflect.Message
- func (x *GetSpendableCollateralRequest) Reset()
- func (x *GetSpendableCollateralRequest) String() string
- type GetSpendableCollateralResponse
- func (*GetSpendableCollateralResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSpendableCollateralResponse) GetOutpoints() []*OutPoint
- func (*GetSpendableCollateralResponse) ProtoMessage()
- func (x *GetSpendableCollateralResponse) ProtoReflect() protoreflect.Message
- func (x *GetSpendableCollateralResponse) Reset()
- func (x *GetSpendableCollateralResponse) String() string
- type GetTradeStatusResponse
- func (*GetTradeStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTradeStatusResponse) GetStatus() uint32
- func (*GetTradeStatusResponse) ProtoMessage()
- func (x *GetTradeStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetTradeStatusResponse) Reset()
- func (x *GetTradeStatusResponse) String() string
- type GetTxRequest
- type GetUnlockTakerTxParamsRequest
- func (*GetUnlockTakerTxParamsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUnlockTakerTxParamsRequest) GetTxHash() string
- func (x *GetUnlockTakerTxParamsRequest) GetTxOutputIndex() uint32
- func (*GetUnlockTakerTxParamsRequest) ProtoMessage()
- func (x *GetUnlockTakerTxParamsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUnlockTakerTxParamsRequest) Reset()
- func (x *GetUnlockTakerTxParamsRequest) String() string
- type GetUnlockTakerTxParamsResponse
- func (*GetUnlockTakerTxParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUnlockTakerTxParamsResponse) GetUnlockScripts() []string
- func (x *GetUnlockTakerTxParamsResponse) GetValueInTx() []byte
- func (*GetUnlockTakerTxParamsResponse) ProtoMessage()
- func (x *GetUnlockTakerTxParamsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUnlockTakerTxParamsResponse) Reset()
- func (x *GetUnlockTakerTxParamsResponse) String() string
- type GetUtxoLengthRequest
- func (*GetUtxoLengthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUtxoLengthRequest) GetAddress() string
- func (x *GetUtxoLengthRequest) GetScriptType() string
- func (*GetUtxoLengthRequest) ProtoMessage()
- func (x *GetUtxoLengthRequest) ProtoReflect() protoreflect.Message
- func (x *GetUtxoLengthRequest) Reset()
- func (x *GetUtxoLengthRequest) String() string
- type GetUtxoLengthResponse
- func (*GetUtxoLengthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUtxoLengthResponse) GetLength() uint32
- func (*GetUtxoLengthResponse) ProtoMessage()
- func (x *GetUtxoLengthResponse) ProtoReflect() protoreflect.Message
- func (x *GetUtxoLengthResponse) Reset()
- func (x *GetUtxoLengthResponse) String() string
- type GetUtxosRequest
- func (*GetUtxosRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUtxosRequest) GetAddress() string
- func (x *GetUtxosRequest) GetFrom() string
- func (x *GetUtxosRequest) GetScriptType() string
- func (x *GetUtxosRequest) GetTo() string
- func (*GetUtxosRequest) ProtoMessage()
- func (x *GetUtxosRequest) ProtoReflect() protoreflect.Message
- func (x *GetUtxosRequest) Reset()
- func (x *GetUtxosRequest) String() string
- type HelpResponse
- type InitialPeer
- func (*InitialPeer) Descriptor() ([]byte, []int)deprecated
- func (x *InitialPeer) GetAddress() string
- func (x *InitialPeer) GetExpires() uint64
- func (*InitialPeer) ProtoMessage()
- func (x *InitialPeer) ProtoReflect() protoreflect.Message
- func (x *InitialPeer) Reset()
- func (x *InitialPeer) String() string
- type InitialPeerEvents
- type MakerOrderInfo
- func (*MakerOrderInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MakerOrderInfo) GetBase() uint32
- func (x *MakerOrderInfo) GetCollateralizedNrg() string
- func (x *MakerOrderInfo) GetDeposit() uint64
- func (x *MakerOrderInfo) GetDoubleHashedBcAddress() string
- func (x *MakerOrderInfo) GetFixedUnitFee() string
- func (x *MakerOrderInfo) GetIsSettled() bool
- func (x *MakerOrderInfo) GetNrgUnit() string
- func (x *MakerOrderInfo) GetOriginalNrg() string
- func (x *MakerOrderInfo) GetReceivesToAddress() string
- func (x *MakerOrderInfo) GetReceivesToChain() string
- func (x *MakerOrderInfo) GetReceivesUnit() string
- func (x *MakerOrderInfo) GetSendsFromAddress() string
- func (x *MakerOrderInfo) GetSendsFromChain() string
- func (x *MakerOrderInfo) GetSendsUnit() string
- func (x *MakerOrderInfo) GetSettlement() uint64
- func (x *MakerOrderInfo) GetShiftMaker() uint64
- func (x *MakerOrderInfo) GetShiftTaker() uint64
- func (x *MakerOrderInfo) GetTradeHeight() uint64
- func (x *MakerOrderInfo) GetTxHash() string
- func (x *MakerOrderInfo) GetTxOutputIndex() uint32
- func (*MakerOrderInfo) ProtoMessage()
- func (x *MakerOrderInfo) ProtoReflect() protoreflect.Message
- func (x *MakerOrderInfo) Reset()
- func (x *MakerOrderInfo) String() string
- type MarkedTransaction
- func (*MarkedTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *MarkedTransaction) GetAddrFrom() string
- func (x *MarkedTransaction) GetAddrTo() string
- func (x *MarkedTransaction) GetBlockHash() string
- func (x *MarkedTransaction) GetBlockHeight() uint64
- func (x *MarkedTransaction) GetHash() string
- func (x *MarkedTransaction) GetId() string
- func (x *MarkedTransaction) GetIndex() uint64
- func (x *MarkedTransaction) GetToken() string
- func (x *MarkedTransaction) GetValue() []byte
- func (*MarkedTransaction) ProtoMessage()
- func (x *MarkedTransaction) ProtoReflect() protoreflect.Message
- func (x *MarkedTransaction) Reset()
- func (x *MarkedTransaction) String() string
- type MarkedTxsReq
- func (*MarkedTxsReq) Descriptor() ([]byte, []int)deprecated
- func (x *MarkedTxsReq) GetBlockHash() string
- func (x *MarkedTxsReq) GetBlockchain() string
- func (x *MarkedTxsReq) GetMarkedTransactions() []*MarkedTransaction
- func (*MarkedTxsReq) ProtoMessage()
- func (x *MarkedTxsReq) ProtoReflect() protoreflect.Message
- func (x *MarkedTxsReq) Reset()
- func (x *MarkedTxsReq) String() string
- type MatchedOrderInfo
- func (*MatchedOrderInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MatchedOrderInfo) GetMaker() *MakerOrderInfo
- func (x *MatchedOrderInfo) GetTaker() *TakerOrderInfo
- func (x *MatchedOrderInfo) GetUnlocked() bool
- func (*MatchedOrderInfo) ProtoMessage()
- func (x *MatchedOrderInfo) ProtoReflect() protoreflect.Message
- func (x *MatchedOrderInfo) Reset()
- func (x *MatchedOrderInfo) String() string
- type MessageGetObjectsRequest
- func (*MessageGetObjectsRequest) Descriptor() ([]byte, []int)
- func (m *MessageGetObjectsRequest) GetBody() ObjType
- func (m *MessageGetObjectsRequest) GetType() MsgType
- func (*MessageGetObjectsRequest) ProtoMessage()
- func (m *MessageGetObjectsRequest) Reset()
- func (m *MessageGetObjectsRequest) String() string
- func (m *MessageGetObjectsRequest) XXX_DiscardUnknown()
- func (m *MessageGetObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageGetObjectsRequest) XXX_Merge(src proto.Message)
- func (m *MessageGetObjectsRequest) XXX_Size() int
- func (m *MessageGetObjectsRequest) XXX_Unmarshal(b []byte) error
- type MinerClient
- type MinerRequest
- func (*MinerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MinerRequest) GetCurrentTimestamp() uint64
- func (x *MinerRequest) GetDifficulty() string
- func (x *MinerRequest) GetLastPreviousBlock() *BcBlock
- func (x *MinerRequest) GetMerkleRoot() string
- func (x *MinerRequest) GetMinerKey() string
- func (x *MinerRequest) GetNewBlockHeaders() *BlockchainHeaders
- func (x *MinerRequest) GetOffset() int32
- func (x *MinerRequest) GetWork() string
- func (x *MinerRequest) GetWorkId() string
- func (*MinerRequest) ProtoMessage()
- func (x *MinerRequest) ProtoReflect() protoreflect.Message
- func (x *MinerRequest) Reset()
- func (x *MinerRequest) String() string
- type MinerResponse
- func (*MinerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MinerResponse) GetDifficulty() string
- func (x *MinerResponse) GetDistance() string
- func (x *MinerResponse) GetIterations() uint64
- func (x *MinerResponse) GetNonce() string
- func (x *MinerResponse) GetResult() MinerResponseResult
- func (x *MinerResponse) GetTimeDiff() uint64
- func (x *MinerResponse) GetTimestamp() uint64
- func (*MinerResponse) ProtoMessage()
- func (x *MinerResponse) ProtoReflect() protoreflect.Message
- func (x *MinerResponse) Reset()
- func (x *MinerResponse) String() string
- type MinerResponseResult
- func (MinerResponseResult) Descriptor() protoreflect.EnumDescriptor
- func (x MinerResponseResult) Enum() *MinerResponseResult
- func (MinerResponseResult) EnumDescriptor() ([]byte, []int)deprecated
- func (x MinerResponseResult) Number() protoreflect.EnumNumber
- func (x MinerResponseResult) String() string
- func (MinerResponseResult) Type() protoreflect.EnumType
- type MinerServer
- type MsgType
- type Null
- type ObjType
- type OutPoint
- func (*OutPoint) Descriptor() ([]byte, []int)deprecated
- func (x *OutPoint) GetHash() string
- func (x *OutPoint) GetIndex() uint64
- func (x *OutPoint) GetValue() []byte
- func (*OutPoint) ProtoMessage()
- func (x *OutPoint) ProtoReflect() protoreflect.Message
- func (x *OutPoint) Reset()
- func (x *OutPoint) String() string
- type PutConfig
- func (*PutConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PutConfig) GetAdmin() bool
- func (x *PutConfig) GetSecureSignature() string
- func (x *PutConfig) GetServices() []*PutService
- func (x *PutConfig) GetVersion() uint64
- func (*PutConfig) ProtoMessage()
- func (x *PutConfig) ProtoReflect() protoreflect.Message
- func (x *PutConfig) Reset()
- func (x *PutConfig) String() string
- type PutService
- func (*PutService) Descriptor() ([]byte, []int)deprecated
- func (x *PutService) GetData() []byte
- func (x *PutService) GetEncrypted() bool
- func (x *PutService) GetPid() string
- func (x *PutService) GetText() string
- func (x *PutService) GetUuid() string
- func (x *PutService) GetVersion() uint64
- func (*PutService) ProtoMessage()
- func (x *PutService) ProtoReflect() protoreflect.Message
- func (x *PutService) Reset()
- func (x *PutService) String() string
- type QueuedMarkedTxsResponse
- func (*QueuedMarkedTxsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueuedMarkedTxsResponse) GetBlockHash() string
- func (x *QueuedMarkedTxsResponse) GetMarkedTransactions() []*MarkedTransaction
- func (*QueuedMarkedTxsResponse) ProtoMessage()
- func (x *QueuedMarkedTxsResponse) ProtoReflect() protoreflect.Message
- func (x *QueuedMarkedTxsResponse) Reset()
- func (x *QueuedMarkedTxsResponse) String() string
- type Record
- func (*Record) Descriptor() ([]byte, []int)deprecated
- func (x *Record) GetHost() string
- func (x *Record) GetLastSeen() uint64
- func (x *Record) GetLastSeenHash() string
- func (x *Record) GetPort() uint64
- func (x *Record) GetVersion() uint64
- func (*Record) ProtoMessage()
- func (x *Record) ProtoReflect() protoreflect.Message
- func (x *Record) Reset()
- func (x *Record) String() string
- type RoverClient
- type RoverIdent
- type RoverMessage
- func (*RoverMessage) Descriptor() ([]byte, []int)deprecated
- func (x *RoverMessage) GetFetchBlock() *RoverMessage_FetchBlock
- func (x *RoverMessage) GetLatestBlock() *RoverMessage_LatestBlock
- func (m *RoverMessage) GetPayload() isRoverMessage_Payload
- func (x *RoverMessage) GetResync() *RoverMessage_Resync
- func (x *RoverMessage) GetRoverBlockRange() *RoverMessage_RoverBlockRange
- func (x *RoverMessage) GetType() RoverMessageType
- func (*RoverMessage) ProtoMessage()
- func (x *RoverMessage) ProtoReflect() protoreflect.Message
- func (x *RoverMessage) Reset()
- func (x *RoverMessage) String() string
- type RoverMessageType
- func (RoverMessageType) Descriptor() protoreflect.EnumDescriptor
- func (x RoverMessageType) Enum() *RoverMessageType
- func (RoverMessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RoverMessageType) Number() protoreflect.EnumNumber
- func (x RoverMessageType) String() string
- func (RoverMessageType) Type() protoreflect.EnumType
- type RoverMessage_FetchBlock
- func (*RoverMessage_FetchBlock) Descriptor() ([]byte, []int)deprecated
- func (x *RoverMessage_FetchBlock) GetFromBlock() *Block
- func (x *RoverMessage_FetchBlock) GetToBlock() *Block
- func (*RoverMessage_FetchBlock) ProtoMessage()
- func (x *RoverMessage_FetchBlock) ProtoReflect() protoreflect.Message
- func (x *RoverMessage_FetchBlock) Reset()
- func (x *RoverMessage_FetchBlock) String() string
- type RoverMessage_FetchBlock_
- type RoverMessage_LatestBlock
- func (*RoverMessage_LatestBlock) Descriptor() ([]byte, []int)deprecated
- func (x *RoverMessage_LatestBlock) GetBlock() *Block
- func (x *RoverMessage_LatestBlock) GetRoverName() string
- func (*RoverMessage_LatestBlock) ProtoMessage()
- func (x *RoverMessage_LatestBlock) ProtoReflect() protoreflect.Message
- func (x *RoverMessage_LatestBlock) Reset()
- func (x *RoverMessage_LatestBlock) String() string
- type RoverMessage_LatestBlock_
- type RoverMessage_Resync
- func (*RoverMessage_Resync) Descriptor() ([]byte, []int)deprecated
- func (x *RoverMessage_Resync) GetIntervals() []*RoverMessage_Resync_Interval
- func (x *RoverMessage_Resync) GetLatestBlock() *Block
- func (*RoverMessage_Resync) ProtoMessage()
- func (x *RoverMessage_Resync) ProtoReflect() protoreflect.Message
- func (x *RoverMessage_Resync) Reset()
- func (x *RoverMessage_Resync) String() string
- type RoverMessage_Resync_
- type RoverMessage_Resync_Interval
- func (*RoverMessage_Resync_Interval) Descriptor() ([]byte, []int)deprecated
- func (x *RoverMessage_Resync_Interval) GetFromBlock() *Block
- func (x *RoverMessage_Resync_Interval) GetToBlock() *Block
- func (*RoverMessage_Resync_Interval) ProtoMessage()
- func (x *RoverMessage_Resync_Interval) ProtoReflect() protoreflect.Message
- func (x *RoverMessage_Resync_Interval) Reset()
- func (x *RoverMessage_Resync_Interval) String() string
- type RoverMessage_RoverBlockRange
- func (*RoverMessage_RoverBlockRange) Descriptor() ([]byte, []int)deprecated
- func (x *RoverMessage_RoverBlockRange) GetHighestHash() string
- func (x *RoverMessage_RoverBlockRange) GetHighestHeight() uint64
- func (x *RoverMessage_RoverBlockRange) GetLowestHash() string
- func (x *RoverMessage_RoverBlockRange) GetLowestHeight() uint64
- func (x *RoverMessage_RoverBlockRange) GetRoverName() string
- func (x *RoverMessage_RoverBlockRange) GetSynced() string
- func (*RoverMessage_RoverBlockRange) ProtoMessage()
- func (x *RoverMessage_RoverBlockRange) ProtoReflect() protoreflect.Message
- func (x *RoverMessage_RoverBlockRange) Reset()
- func (x *RoverMessage_RoverBlockRange) String() string
- type RoverMessage_RoverBlockRange_
- type RoverServer
- type RoverSyncStatus
- func (*RoverSyncStatus) Descriptor() ([]byte, []int)deprecated
- func (x *RoverSyncStatus) GetRoverName() string
- func (x *RoverSyncStatus) GetStatus() bool
- func (*RoverSyncStatus) ProtoMessage()
- func (x *RoverSyncStatus) ProtoReflect() protoreflect.Message
- func (x *RoverSyncStatus) Reset()
- func (x *RoverSyncStatus) String() string
- type Rover_CollectBlockClient
- type Rover_CollectBlockServer
- type Rover_JoinClient
- type Rover_JoinServer
- type RpcFeedTransactionRequest
- func (*RpcFeedTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RpcFeedTransactionRequest) GetAmount() string
- func (x *RpcFeedTransactionRequest) GetData() string
- func (x *RpcFeedTransactionRequest) GetDataLength() uint64
- func (x *RpcFeedTransactionRequest) GetDataType() FeedTransactionDataType
- func (x *RpcFeedTransactionRequest) GetFeedAddr() string
- func (x *RpcFeedTransactionRequest) GetMinimumDistance() string
- func (x *RpcFeedTransactionRequest) GetOwnerAddr() string
- func (x *RpcFeedTransactionRequest) GetPrivateKeyHex() string
- func (x *RpcFeedTransactionRequest) GetTxFee() string
- func (x *RpcFeedTransactionRequest) GetTxNonce() string
- func (x *RpcFeedTransactionRequest) GetTxPanel() string
- func (x *RpcFeedTransactionRequest) GetTxPart() string
- func (*RpcFeedTransactionRequest) ProtoMessage()
- func (x *RpcFeedTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *RpcFeedTransactionRequest) Reset()
- func (x *RpcFeedTransactionRequest) String() string
- type RpcTransaction
- func (*RpcTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *RpcTransaction) GetAmount() string
- func (x *RpcTransaction) GetFromAddr() string
- func (x *RpcTransaction) GetPrivateKeyHex() string
- func (x *RpcTransaction) GetToAddr() string
- func (x *RpcTransaction) GetTxFee() string
- func (*RpcTransaction) ProtoMessage()
- func (x *RpcTransaction) ProtoReflect() protoreflect.Message
- func (x *RpcTransaction) Reset()
- func (x *RpcTransaction) String() string
- type RpcTransactionResponse
- func (*RpcTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RpcTransactionResponse) GetError() string
- func (x *RpcTransactionResponse) GetStatus() RpcTransactionResponseStatus
- func (x *RpcTransactionResponse) GetTxHash() string
- func (*RpcTransactionResponse) ProtoMessage()
- func (x *RpcTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *RpcTransactionResponse) Reset()
- func (x *RpcTransactionResponse) String() string
- type RpcTransactionResponseStatus
- func (RpcTransactionResponseStatus) Descriptor() protoreflect.EnumDescriptor
- func (x RpcTransactionResponseStatus) Enum() *RpcTransactionResponseStatus
- func (RpcTransactionResponseStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x RpcTransactionResponseStatus) Number() protoreflect.EnumNumber
- func (x RpcTransactionResponseStatus) String() string
- func (RpcTransactionResponseStatus) Type() protoreflect.EnumType
- type RpcUpdateFeedTransactionRequest
- func (*RpcUpdateFeedTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RpcUpdateFeedTransactionRequest) GetAmount() string
- func (x *RpcUpdateFeedTransactionRequest) GetData() string
- func (x *RpcUpdateFeedTransactionRequest) GetDataLength() uint64
- func (x *RpcUpdateFeedTransactionRequest) GetDataType() FeedTransactionDataType
- func (x *RpcUpdateFeedTransactionRequest) GetFeedAddr() string
- func (x *RpcUpdateFeedTransactionRequest) GetMinimumDistance() string
- func (x *RpcUpdateFeedTransactionRequest) GetOwnerAddr() string
- func (x *RpcUpdateFeedTransactionRequest) GetPrivateKeyHex() string
- func (x *RpcUpdateFeedTransactionRequest) GetSenderAddr() string
- func (x *RpcUpdateFeedTransactionRequest) GetTxFee() string
- func (x *RpcUpdateFeedTransactionRequest) GetTxNonce() string
- func (x *RpcUpdateFeedTransactionRequest) GetTxPanel() string
- func (x *RpcUpdateFeedTransactionRequest) GetTxPart() string
- func (*RpcUpdateFeedTransactionRequest) ProtoMessage()
- func (x *RpcUpdateFeedTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *RpcUpdateFeedTransactionRequest) Reset()
- func (x *RpcUpdateFeedTransactionRequest) String() string
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetData() string
- func (x *Service) GetPid() string
- func (x *Service) GetText() string
- func (x *Service) GetUuid() string
- func (x *Service) GetVersion() uint64
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type SettingsResponse
- func (*SettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SettingsResponse) GetBuildVersion() string
- func (x *SettingsResponse) GetNgrokTunnel() string
- func (*SettingsResponse) ProtoMessage()
- func (x *SettingsResponse) ProtoReflect() protoreflect.Message
- func (x *SettingsResponse) Reset()
- func (x *SettingsResponse) String() string
- type SettleTxCheckReq
- func (*SettleTxCheckReq) Descriptor() ([]byte, []int)deprecated
- func (x *SettleTxCheckReq) GetBlockHash() string
- func (x *SettleTxCheckReq) GetBridgedChain() string
- func (x *SettleTxCheckReq) GetPossibleTransactions() []*SettleTxCheckReq_PossibleTransaction
- func (*SettleTxCheckReq) ProtoMessage()
- func (x *SettleTxCheckReq) ProtoReflect() protoreflect.Message
- func (x *SettleTxCheckReq) Reset()
- func (x *SettleTxCheckReq) String() string
- type SettleTxCheckReq_PossibleTransaction
- func (*SettleTxCheckReq_PossibleTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *SettleTxCheckReq_PossibleTransaction) GetAddrFrom() string
- func (x *SettleTxCheckReq_PossibleTransaction) GetAddrTo() string
- func (x *SettleTxCheckReq_PossibleTransaction) GetBlockHeight() uint64
- func (x *SettleTxCheckReq_PossibleTransaction) GetBridgedChain() string
- func (x *SettleTxCheckReq_PossibleTransaction) GetTokenType() string
- func (x *SettleTxCheckReq_PossibleTransaction) GetTxId() string
- func (x *SettleTxCheckReq_PossibleTransaction) GetValue() []byte
- func (*SettleTxCheckReq_PossibleTransaction) ProtoMessage()
- func (x *SettleTxCheckReq_PossibleTransaction) ProtoReflect() protoreflect.Message
- func (x *SettleTxCheckReq_PossibleTransaction) Reset()
- func (x *SettleTxCheckReq_PossibleTransaction) String() string
- type SettleTxCheckResponse
- func (*SettleTxCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SettleTxCheckResponse) GetMarkedTransactions() []*MarkedTransaction
- func (*SettleTxCheckResponse) ProtoMessage()
- func (x *SettleTxCheckResponse) ProtoReflect() protoreflect.Message
- func (x *SettleTxCheckResponse) Reset()
- func (x *SettleTxCheckResponse) String() string
- type StatsResponse
- func (*StatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatsResponse) GetCalls() int64
- func (x *StatsResponse) GetLatestGpuMinerUpdate() uint64
- func (*StatsResponse) ProtoMessage()
- func (x *StatsResponse) ProtoReflect() protoreflect.Message
- func (x *StatsResponse) Reset()
- func (x *StatsResponse) String() string
- type SyncStatus
- type TakerOrder
- func (*TakerOrder) Descriptor() ([]byte, []int)deprecated
- func (x *TakerOrder) GetCollateralizedNrg() string
- func (x *TakerOrder) GetMakerTxHash() string
- func (x *TakerOrder) GetMakerTxOutputIndex() uint32
- func (x *TakerOrder) GetReceivesToAddress() string
- func (x *TakerOrder) GetSendsFromAddress() string
- func (*TakerOrder) ProtoMessage()
- func (x *TakerOrder) ProtoReflect() protoreflect.Message
- func (x *TakerOrder) Reset()
- func (x *TakerOrder) String() string
- type TakerOrderInfo
- func (*TakerOrderInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TakerOrderInfo) GetDoubleHashedBcAddress() string
- func (x *TakerOrderInfo) GetIsSettled() bool
- func (x *TakerOrderInfo) GetReceivesToAddress() string
- func (x *TakerOrderInfo) GetSendsFromAddress() string
- func (x *TakerOrderInfo) GetTimestamp() uint64
- func (x *TakerOrderInfo) GetTotalCollateral() string
- func (x *TakerOrderInfo) GetTradeHeight() uint64
- func (x *TakerOrderInfo) GetTxHash() string
- func (x *TakerOrderInfo) GetTxOutputIndex() uint32
- func (*TakerOrderInfo) ProtoMessage()
- func (x *TakerOrderInfo) ProtoReflect() protoreflect.Message
- func (x *TakerOrderInfo) Reset()
- func (x *TakerOrderInfo) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetHash() string
- func (x *Transaction) GetInputs() []*TransactionInput
- func (x *Transaction) GetLockTime() uint32
- func (x *Transaction) GetNinCount() uint64
- func (x *Transaction) GetNonce() string
- func (x *Transaction) GetNoutCount() uint64
- func (x *Transaction) GetOutputs() []*TransactionOutput
- func (x *Transaction) GetOverline() string
- func (x *Transaction) GetVersion() uint64
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionInput
- func (*TransactionInput) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionInput) GetInputScript() []byte
- func (x *TransactionInput) GetOutPoint() *OutPoint
- func (x *TransactionInput) GetScriptLength() uint32
- func (*TransactionInput) ProtoMessage()
- func (x *TransactionInput) ProtoReflect() protoreflect.Message
- func (x *TransactionInput) Reset()
- func (x *TransactionInput) String() string
- type TransactionOutput
- func (*TransactionOutput) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionOutput) GetOutputScript() []byte
- func (x *TransactionOutput) GetScriptLength() uint32
- func (x *TransactionOutput) GetUnit() []byte
- func (x *TransactionOutput) GetValue() []byte
- func (*TransactionOutput) ProtoMessage()
- func (x *TransactionOutput) ProtoReflect() protoreflect.Message
- func (x *TransactionOutput) Reset()
- func (x *TransactionOutput) String() string
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *Transfer) GetAmount() string
- func (x *Transfer) GetFrom() string
- func (x *Transfer) GetHeight() uint64
- func (x *Transfer) GetTimestamp() uint64
- func (x *Transfer) GetTo() string
- func (x *Transfer) GetTxHash() string
- func (x *Transfer) GetTxOutputIndex() uint32
- func (*Transfer) ProtoMessage()
- func (x *Transfer) ProtoReflect() protoreflect.Message
- func (x *Transfer) Reset()
- func (x *Transfer) String() string
- type TransferRequest
- func (*TransferRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransferRequest) GetAddress() string
- func (x *TransferRequest) GetFrom() string
- func (x *TransferRequest) GetMax() uint32
- func (*TransferRequest) ProtoMessage()
- func (x *TransferRequest) ProtoReflect() protoreflect.Message
- func (x *TransferRequest) Reset()
- func (x *TransferRequest) String() string
- type TransferResponse
- func (*TransferResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransferResponse) GetFrom() string
- func (x *TransferResponse) GetTo() string
- func (x *TransferResponse) GetTransfers() []*Transfer
- func (*TransferResponse) ProtoMessage()
- func (x *TransferResponse) ProtoReflect() protoreflect.Message
- func (x *TransferResponse) Reset()
- func (x *TransferResponse) String() string
- type UnimplementedBcServer
- func (UnimplementedBcServer) GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
- func (UnimplementedBcServer) GetBcAddressViaVanity(context.Context, *VanityConvertRequest) (*VanityConvertResponse, error)
- func (UnimplementedBcServer) GetBlake2Bl(context.Context, *GetBlake2BlRequest) (*GetBlake2BlResponse, error)
- func (UnimplementedBcServer) GetBlockByTx(context.Context, *GetTxRequest) (*BcBlock, error)
- func (UnimplementedBcServer) GetBlockHash(context.Context, *GetBlockHashRequest) (*BcBlock, error)
- func (UnimplementedBcServer) GetBlockHeight(context.Context, *GetBlockHeightRequest) (*BcBlock, error)
- func (UnimplementedBcServer) GetBlocks(context.Context, *GetBlocksRequest) (*GetBlocksResponse, error)
- func (UnimplementedBcServer) GetBlocksByRoveredHash(context.Context, *GetBlocksByRoveredHashRequest) (*GetBlocksByRoveredHashResponse, error)
- func (UnimplementedBcServer) GetBlocksHeight(context.Context, *GetBlockHeightRequest) (*GetBlocksResponse, error)
- func (UnimplementedBcServer) GetByteFeeMultiplier(context.Context, *Null) (*GetByteFeeResponse, error)
- func (UnimplementedBcServer) GetCurrentWork(context.Context, *Null) (*CurrentWork, error)
- func (UnimplementedBcServer) GetEmbBalance(context.Context, *GetBalanceRequest) (*GetEmbBalanceResponse, error)
- func (UnimplementedBcServer) GetEphemeralFeedMessages(context.Context, *GetFeedMessagesRequest) (*FeedMessages, error)
- func (UnimplementedBcServer) GetFastSyncStatus(context.Context, *Null) (*SyncStatus, error)
- func (UnimplementedBcServer) GetFeaturedFeedMessages(context.Context, *GetFeedMessagesRequest) (*FeedMessages, error)
- func (UnimplementedBcServer) GetHistoricalOrders(context.Context, *GetHistoryRequest) (*GetHistoricalOrdersResponse, error)
- func (UnimplementedBcServer) GetLatestBlock(context.Context, *Null) (*BcBlock, error)
- func (UnimplementedBcServer) GetLatestRoveredBlocks(context.Context, *Null) (*GetRoveredBlocksResponse, error)
- func (UnimplementedBcServer) GetLatestUTXOBlock(context.Context, *Null) (*BcBlock, error)
- func (UnimplementedBcServer) GetMarkedTx(context.Context, *GetMarkedTxRequest) (*MarkedTransaction, error)
- func (UnimplementedBcServer) GetMarkedTxsForMatchedOrder(context.Context, *GetOutPointRequest) (*GetMarkedTxs, error)
- func (UnimplementedBcServer) GetMatchedOrder(context.Context, *GetOutPointRequest) (*GetMatchedOrdersResponse, error)
- func (UnimplementedBcServer) GetMatchedOrders(context.Context, *GetSpendableCollateralRequest) (*GetMatchedOrdersResponse, error)
- func (UnimplementedBcServer) GetNrgSupply(context.Context, *Null) (*GetNrgSupplyResponse, error)
- func (UnimplementedBcServer) GetOpenCallbackOrder(context.Context, *GetOutPointRequest) (*GetOpenOrdersResponse, error)
- func (UnimplementedBcServer) GetOpenOrder(context.Context, *GetOutPointRequest) (*GetOpenOrdersResponse, error)
- func (UnimplementedBcServer) GetOpenOrders(context.Context, *GetSpendableCollateralRequest) (*GetOpenOrdersResponse, error)
- func (UnimplementedBcServer) GetOriginalMakerOrder(context.Context, *GetOutPointRequest) (*Transaction, error)
- func (UnimplementedBcServer) GetOutpointStatus(context.Context, *GetOutPointRequest) (*GetOutPointStatusResponse, error)
- func (UnimplementedBcServer) GetRawMempool(context.Context, *Null) (*GetRawMempoolResponse, error)
- func (UnimplementedBcServer) GetRoveredBlockForMarkedTx(context.Context, *GetMarkedTxRequest) (*Block, error)
- func (UnimplementedBcServer) GetRoveredBlockHash(context.Context, *GetRoveredBlockHashRequest) (*Block, error)
- func (UnimplementedBcServer) GetRoveredBlockHeight(context.Context, *GetRoveredBlockHeightRequest) (*Block, error)
- func (UnimplementedBcServer) GetRoveredBlocks(context.Context, *GetRoveredBlocksRequest) (*GetRoveredBlocksResponse, error)
- func (UnimplementedBcServer) GetSTXOLength(context.Context, *GetUtxoLengthRequest) (*GetUtxoLengthResponse, error)
- func (UnimplementedBcServer) GetSavedFeedMessages(context.Context, *GetFeedMessagesRequest) (*FeedMessages, error)
- func (UnimplementedBcServer) GetSettings(context.Context, *Null) (*SettingsResponse, error)
- func (UnimplementedBcServer) GetSpendableCollateral(context.Context, *GetSpendableCollateralRequest) (*GetSpendableCollateralResponse, error)
- func (UnimplementedBcServer) GetSpendableOutpoints(context.Context, *GetSpendableCollateralRequest) (*WalletData, error)
- func (UnimplementedBcServer) GetSyncStatus(context.Context, *Null) (*SyncStatus, error)
- func (UnimplementedBcServer) GetTakerForMaker(context.Context, *GetOutPointRequest) (*GetOutPointRequest, error)
- func (UnimplementedBcServer) GetTradeStatus(context.Context, *GetOutPointRequest) (*GetTradeStatusResponse, error)
- func (UnimplementedBcServer) GetTransfers(context.Context, *TransferRequest) (*TransferResponse, error)
- func (UnimplementedBcServer) GetTx(context.Context, *GetTxRequest) (*Transaction, error)
- func (UnimplementedBcServer) GetTxClaimedBy(context.Context, *GetOutPointRequest) (*Transaction, error)
- func (UnimplementedBcServer) GetUTXOLength(context.Context, *GetUtxoLengthRequest) (*GetUtxoLengthResponse, error)
- func (UnimplementedBcServer) GetUnlockTakerTxParams(context.Context, *GetUnlockTakerTxParamsRequest) (*GetUnlockTakerTxParamsResponse, error)
- func (UnimplementedBcServer) GetUnmatchedOrders(context.Context, *GetBalanceRequest) (*GetOpenOrdersResponse, error)
- func (UnimplementedBcServer) GetUtxos(context.Context, *GetUtxosRequest) (*Utxos, error)
- func (UnimplementedBcServer) GetWallet(context.Context, *GetBalanceRequest) (*WalletData, error)
- func (UnimplementedBcServer) Help(context.Context, *Null) (*HelpResponse, error)
- func (UnimplementedBcServer) NewFeed(context.Context, *RpcFeedTransactionRequest) (*RpcTransactionResponse, error)
- func (UnimplementedBcServer) NewTx(context.Context, *RpcTransaction) (*RpcTransactionResponse, error)
- func (UnimplementedBcServer) SendTx(context.Context, *Transaction) (*RpcTransactionResponse, error)
- func (UnimplementedBcServer) Stats(context.Context, *Null) (*StatsResponse, error)
- func (UnimplementedBcServer) UpdateFeed(context.Context, *RpcUpdateFeedTransactionRequest) (*RpcTransactionResponse, error)
- type UnimplementedMinerServer
- type UnimplementedRoverServer
- func (UnimplementedRoverServer) CollectBlock(Rover_CollectBlockServer) error
- func (UnimplementedRoverServer) GetQueuedMarkedTxs(context.Context, *MarkedTxsReq) (*QueuedMarkedTxsResponse, error)
- func (UnimplementedRoverServer) IsBeforeSettleHeight(context.Context, *SettleTxCheckReq) (*SettleTxCheckResponse, error)
- func (UnimplementedRoverServer) Join(*RoverIdent, Rover_JoinServer) error
- func (UnimplementedRoverServer) ReportBlockRange(context.Context, *RoverMessage_RoverBlockRange) (*Null, error)
- func (UnimplementedRoverServer) ReportSyncStatus(context.Context, *RoverSyncStatus) (*Null, error)
- type UnsafeBcServer
- type UnsafeMinerServer
- type UnsafeRoverServer
- type UnspentTransactions
- func (*UnspentTransactions) Descriptor() ([]byte, []int)deprecated
- func (x *UnspentTransactions) GetUtxo() []string
- func (*UnspentTransactions) ProtoMessage()
- func (x *UnspentTransactions) ProtoReflect() protoreflect.Message
- func (x *UnspentTransactions) Reset()
- func (x *UnspentTransactions) String() string
- type Utxo
- func (*Utxo) Descriptor() ([]byte, []int)deprecated
- func (x *Utxo) GetBlockHash() string
- func (x *Utxo) GetBlockHeight() uint64
- func (x *Utxo) GetCoinbase() bool
- func (x *Utxo) GetOutput() *TransactionOutput
- func (x *Utxo) GetTxHash() string
- func (x *Utxo) GetTxIndex() uint64
- func (*Utxo) ProtoMessage()
- func (x *Utxo) ProtoReflect() protoreflect.Message
- func (x *Utxo) Reset()
- func (x *Utxo) String() string
- type Utxos
- type VanityConvertRequest
- func (*VanityConvertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VanityConvertRequest) GetVanity() string
- func (*VanityConvertRequest) ProtoMessage()
- func (x *VanityConvertRequest) ProtoReflect() protoreflect.Message
- func (x *VanityConvertRequest) Reset()
- func (x *VanityConvertRequest) String() string
- type VanityConvertResponse
- func (*VanityConvertResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VanityConvertResponse) GetBcAddress() string
- func (x *VanityConvertResponse) GetError() string
- func (*VanityConvertResponse) ProtoMessage()
- func (x *VanityConvertResponse) ProtoReflect() protoreflect.Message
- func (x *VanityConvertResponse) Reset()
- func (x *VanityConvertResponse) String() string
- type WalletData
- func (*WalletData) Descriptor() ([]byte, []int)deprecated
- func (x *WalletData) GetBlockHash() string
- func (x *WalletData) GetBlockHeight() uint64
- func (x *WalletData) GetCollateralizedMakerOutpoints() []*WalletOutPoint
- func (x *WalletData) GetCollateralizedMatchedOutpoints() []*WalletOutPoint
- func (x *WalletData) GetCollateralizedSpendableOutpoints() []*WalletOutPoint
- func (x *WalletData) GetCollateralizedUnmatchedOutpoints() []*WalletOutPoint
- func (x *WalletData) GetSpendableOutpoints() []*WalletOutPoint
- func (x *WalletData) GetUnconfirmedSpendableOutpoints() []*WalletOutPoint
- func (*WalletData) ProtoMessage()
- func (x *WalletData) ProtoReflect() protoreflect.Message
- func (x *WalletData) Reset()
- func (x *WalletData) String() string
- type WalletOutPoint
- func (*WalletOutPoint) Descriptor() ([]byte, []int)deprecated
- func (x *WalletOutPoint) GetBlockHeight() uint64
- func (x *WalletOutPoint) GetCallbackScript() []byte
- func (x *WalletOutPoint) GetOriginalScript() []byte
- func (x *WalletOutPoint) GetOutpoint() *OutPoint
- func (*WalletOutPoint) ProtoMessage()
- func (x *WalletOutPoint) ProtoReflect() protoreflect.Message
- func (x *WalletOutPoint) Reset()
- func (x *WalletOutPoint) String() string
- type WirelessBcBlock
- func (*WirelessBcBlock) Descriptor() ([]byte, []int)deprecated
- func (x *WirelessBcBlock) GetBlockchainFingerprintsRoot() []byte
- func (x *WirelessBcBlock) GetBlockchainHeaders() *WirelessBlockchainHeaders
- func (x *WirelessBcBlock) GetBlockchainHeadersCount() uint64
- func (x *WirelessBcBlock) GetChainRoot() []byte
- func (x *WirelessBcBlock) GetDifficulty() []byte
- func (x *WirelessBcBlock) GetDistance() []byte
- func (x *WirelessBcBlock) GetEmblemChainAddress() string
- func (x *WirelessBcBlock) GetEmblemChainFingerprintRoot() string
- func (x *WirelessBcBlock) GetEmblemWeight() uint64
- func (x *WirelessBcBlock) GetHash() []byte
- func (x *WirelessBcBlock) GetHeight() uint64
- func (x *WirelessBcBlock) GetMerkleRoot() []byte
- func (x *WirelessBcBlock) GetMiner() string
- func (x *WirelessBcBlock) GetNonce() string
- func (x *WirelessBcBlock) GetNrgGrant() uint64
- func (x *WirelessBcBlock) GetPreviousHash() []byte
- func (x *WirelessBcBlock) GetSchemaVersion() uint64
- func (x *WirelessBcBlock) GetTimestamp() uint64
- func (x *WirelessBcBlock) GetTotalDistance() []byte
- func (x *WirelessBcBlock) GetTwn() uint64
- func (x *WirelessBcBlock) GetTws() []string
- func (x *WirelessBcBlock) GetTxCount() uint64
- func (x *WirelessBcBlock) GetTxDistanceSumLimit() uint64
- func (x *WirelessBcBlock) GetTxFeeBase() uint64
- func (x *WirelessBcBlock) GetTxs() []*WirelessTransaction
- func (x *WirelessBcBlock) GetVersion() uint64
- func (*WirelessBcBlock) ProtoMessage()
- func (x *WirelessBcBlock) ProtoReflect() protoreflect.Message
- func (x *WirelessBcBlock) Reset()
- func (x *WirelessBcBlock) String() string
- type WirelessBlockchainHeader
- func (*WirelessBlockchainHeader) Descriptor() ([]byte, []int)deprecated
- func (x *WirelessBlockchainHeader) GetBlockchain() string
- func (x *WirelessBlockchainHeader) GetBlockchainConfirmationsInParentCount() uint64
- func (x *WirelessBlockchainHeader) GetHash() string
- func (x *WirelessBlockchainHeader) GetHeight() uint64
- func (x *WirelessBlockchainHeader) GetMarkedTxCount() uint64
- func (x *WirelessBlockchainHeader) GetMarkedTxs() []*WirelessMarkedTransaction
- func (x *WirelessBlockchainHeader) GetMerkleRoot() string
- func (x *WirelessBlockchainHeader) GetPreviousHash() string
- func (x *WirelessBlockchainHeader) GetTimestamp() uint64
- func (*WirelessBlockchainHeader) ProtoMessage()
- func (x *WirelessBlockchainHeader) ProtoReflect() protoreflect.Message
- func (x *WirelessBlockchainHeader) Reset()
- func (x *WirelessBlockchainHeader) String() string
- type WirelessBlockchainHeaders
- func (*WirelessBlockchainHeaders) Descriptor() ([]byte, []int)deprecated
- func (x *WirelessBlockchainHeaders) GetBtc() []*WirelessBlockchainHeader
- func (x *WirelessBlockchainHeaders) GetEth() []*WirelessBlockchainHeader
- func (x *WirelessBlockchainHeaders) GetLsk() []*WirelessBlockchainHeader
- func (x *WirelessBlockchainHeaders) GetNeo() []*WirelessBlockchainHeader
- func (x *WirelessBlockchainHeaders) GetWav() []*WirelessBlockchainHeader
- func (*WirelessBlockchainHeaders) ProtoMessage()
- func (x *WirelessBlockchainHeaders) ProtoReflect() protoreflect.Message
- func (x *WirelessBlockchainHeaders) Reset()
- func (x *WirelessBlockchainHeaders) String() string
- type WirelessMarkedTransaction
- func (*WirelessMarkedTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *WirelessMarkedTransaction) GetAddrFrom() string
- func (x *WirelessMarkedTransaction) GetAddrTo() string
- func (x *WirelessMarkedTransaction) GetBlockHash() string
- func (x *WirelessMarkedTransaction) GetBlockHeight() uint64
- func (x *WirelessMarkedTransaction) GetHash() string
- func (x *WirelessMarkedTransaction) GetId() string
- func (x *WirelessMarkedTransaction) GetIndex() uint64
- func (x *WirelessMarkedTransaction) GetToken() string
- func (x *WirelessMarkedTransaction) GetValue() []byte
- func (*WirelessMarkedTransaction) ProtoMessage()
- func (x *WirelessMarkedTransaction) ProtoReflect() protoreflect.Message
- func (x *WirelessMarkedTransaction) Reset()
- func (x *WirelessMarkedTransaction) String() string
- type WirelessOutPoint
- func (*WirelessOutPoint) Descriptor() ([]byte, []int)deprecated
- func (x *WirelessOutPoint) GetHash() []byte
- func (x *WirelessOutPoint) GetIndex() uint64
- func (x *WirelessOutPoint) GetValue() []byte
- func (*WirelessOutPoint) ProtoMessage()
- func (x *WirelessOutPoint) ProtoReflect() protoreflect.Message
- func (x *WirelessOutPoint) Reset()
- func (x *WirelessOutPoint) String() string
- type WirelessTransaction
- func (*WirelessTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *WirelessTransaction) GetHash() []byte
- func (x *WirelessTransaction) GetInputs() []*WirelessTransactionInput
- func (x *WirelessTransaction) GetLockTime() uint32
- func (x *WirelessTransaction) GetNinCount() uint64
- func (x *WirelessTransaction) GetNonce() string
- func (x *WirelessTransaction) GetNoutCount() uint64
- func (x *WirelessTransaction) GetOutputs() []*WirelessTransactionOutput
- func (x *WirelessTransaction) GetOverline() string
- func (x *WirelessTransaction) GetVersion() uint64
- func (*WirelessTransaction) ProtoMessage()
- func (x *WirelessTransaction) ProtoReflect() protoreflect.Message
- func (x *WirelessTransaction) Reset()
- func (x *WirelessTransaction) String() string
- type WirelessTransactionInput
- func (*WirelessTransactionInput) Descriptor() ([]byte, []int)deprecated
- func (x *WirelessTransactionInput) GetInputScript() []byte
- func (x *WirelessTransactionInput) GetOutPoint() *WirelessOutPoint
- func (x *WirelessTransactionInput) GetScriptLength() uint32
- func (*WirelessTransactionInput) ProtoMessage()
- func (x *WirelessTransactionInput) ProtoReflect() protoreflect.Message
- func (x *WirelessTransactionInput) Reset()
- func (x *WirelessTransactionInput) String() string
- type WirelessTransactionOutput
- func (*WirelessTransactionOutput) Descriptor() ([]byte, []int)deprecated
- func (x *WirelessTransactionOutput) GetOutputScript() []byte
- func (x *WirelessTransactionOutput) GetScriptLength() uint32
- func (x *WirelessTransactionOutput) GetUnit() []byte
- func (x *WirelessTransactionOutput) GetValue() []byte
- func (*WirelessTransactionOutput) ProtoMessage()
- func (x *WirelessTransactionOutput) ProtoReflect() protoreflect.Message
- func (x *WirelessTransactionOutput) Reset()
- func (x *WirelessTransactionOutput) String() string
Constants ¶
This section is empty.
Variables ¶
var ( FeedTransactionDataType_name = map[int32]string{ 0: "TYPE1", } FeedTransactionDataType_value = map[string]int32{ "TYPE1": 0, } )
Enum value maps for FeedTransactionDataType.
var ( RpcTransactionResponseStatus_name = map[int32]string{ 0: "Success", 1: "Failure", } RpcTransactionResponseStatus_value = map[string]int32{ "Success": 0, "Failure": 1, } )
Enum value maps for RpcTransactionResponseStatus.
var ( MinerResponseResult_name = map[int32]string{ 0: "Canceled", 1: "Ok", 2: "Error", } MinerResponseResult_value = map[string]int32{ "Canceled": 0, "Ok": 1, "Error": 2, } )
Enum value maps for MinerResponseResult.
var ( RoverMessageType_name = map[int32]string{ 0: "FetchBlock", 1: "RequestResync", 2: "rover_block_range", 3: "LatestBlock", } RoverMessageType_value = map[string]int32{ "FetchBlock": 0, "RequestResync": 1, "rover_block_range": 2, "LatestBlock": 3, } )
Enum value maps for RoverMessageType.
var Bc_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bc.exchange.Bc", HandlerType: (*BcServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetFeaturedFeedMessages", Handler: _Bc_GetFeaturedFeedMessages_Handler, }, { MethodName: "GetSavedFeedMessages", Handler: _Bc_GetSavedFeedMessages_Handler, }, { MethodName: "GetEphemeralFeedMessages", Handler: _Bc_GetEphemeralFeedMessages_Handler, }, { MethodName: "GetRoveredBlockHash", Handler: _Bc_GetRoveredBlockHash_Handler, }, { MethodName: "GetRoveredBlockHeight", Handler: _Bc_GetRoveredBlockHeight_Handler, }, { MethodName: "GetRoveredBlocks", Handler: _Bc_GetRoveredBlocks_Handler, }, { MethodName: "GetLatestRoveredBlocks", Handler: _Bc_GetLatestRoveredBlocks_Handler, }, { MethodName: "GetNrgSupply", Handler: _Bc_GetNrgSupply_Handler, }, { MethodName: "GetBlockHash", Handler: _Bc_GetBlockHash_Handler, }, { MethodName: "GetBlockHeight", Handler: _Bc_GetBlockHeight_Handler, }, { MethodName: "GetBlocksHeight", Handler: _Bc_GetBlocksHeight_Handler, }, { MethodName: "GetBlocks", Handler: _Bc_GetBlocks_Handler, }, { MethodName: "GetLatestBlock", Handler: _Bc_GetLatestBlock_Handler, }, { MethodName: "GetLatestUTXOBlock", Handler: _Bc_GetLatestUTXOBlock_Handler, }, { MethodName: "GetTx", Handler: _Bc_GetTx_Handler, }, { MethodName: "GetMarkedTx", Handler: _Bc_GetMarkedTx_Handler, }, { MethodName: "GetMarkedTxsForMatchedOrder", Handler: _Bc_GetMarkedTxsForMatchedOrder_Handler, }, { MethodName: "GetTradeStatus", Handler: _Bc_GetTradeStatus_Handler, }, { MethodName: "GetOutpointStatus", Handler: _Bc_GetOutpointStatus_Handler, }, { MethodName: "GetTxClaimedBy", Handler: _Bc_GetTxClaimedBy_Handler, }, { MethodName: "GetRawMempool", Handler: _Bc_GetRawMempool_Handler, }, { MethodName: "GetBlockByTx", Handler: _Bc_GetBlockByTx_Handler, }, { MethodName: "GetRoveredBlockForMarkedTx", Handler: _Bc_GetRoveredBlockForMarkedTx_Handler, }, { MethodName: "Help", Handler: _Bc_Help_Handler, }, { MethodName: "Stats", Handler: _Bc_Stats_Handler, }, { MethodName: "GetSettings", Handler: _Bc_GetSettings_Handler, }, { MethodName: "NewFeed", Handler: _Bc_NewFeed_Handler, }, { MethodName: "UpdateFeed", Handler: _Bc_UpdateFeed_Handler, }, { MethodName: "NewTx", Handler: _Bc_NewTx_Handler, }, { MethodName: "SendTx", Handler: _Bc_SendTx_Handler, }, { MethodName: "GetEmbBalance", Handler: _Bc_GetEmbBalance_Handler, }, { MethodName: "GetBalance", Handler: _Bc_GetBalance_Handler, }, { MethodName: "GetWallet", Handler: _Bc_GetWallet_Handler, }, { MethodName: "GetSpendableOutpoints", Handler: _Bc_GetSpendableOutpoints_Handler, }, { MethodName: "GetSpendableCollateral", Handler: _Bc_GetSpendableCollateral_Handler, }, { MethodName: "GetUnlockTakerTxParams", Handler: _Bc_GetUnlockTakerTxParams_Handler, }, { MethodName: "GetByteFeeMultiplier", Handler: _Bc_GetByteFeeMultiplier_Handler, }, { MethodName: "GetTransfers", Handler: _Bc_GetTransfers_Handler, }, { MethodName: "GetTakerForMaker", Handler: _Bc_GetTakerForMaker_Handler, }, { MethodName: "GetOpenOrder", Handler: _Bc_GetOpenOrder_Handler, }, { MethodName: "GetOpenCallbackOrder", Handler: _Bc_GetOpenCallbackOrder_Handler, }, { MethodName: "GetMatchedOrder", Handler: _Bc_GetMatchedOrder_Handler, }, { MethodName: "GetOpenOrders", Handler: _Bc_GetOpenOrders_Handler, }, { MethodName: "GetMatchedOrders", Handler: _Bc_GetMatchedOrders_Handler, }, { MethodName: "GetHistoricalOrders", Handler: _Bc_GetHistoricalOrders_Handler, }, { MethodName: "GetUnmatchedOrders", Handler: _Bc_GetUnmatchedOrders_Handler, }, { MethodName: "GetOriginalMakerOrder", Handler: _Bc_GetOriginalMakerOrder_Handler, }, { MethodName: "GetUtxos", Handler: _Bc_GetUtxos_Handler, }, { MethodName: "GetUTXOLength", Handler: _Bc_GetUTXOLength_Handler, }, { MethodName: "GetSTXOLength", Handler: _Bc_GetSTXOLength_Handler, }, { MethodName: "GetBlocksByRoveredHash", Handler: _Bc_GetBlocksByRoveredHash_Handler, }, { MethodName: "GetBlake2bl", Handler: _Bc_GetBlake2Bl_Handler, }, { MethodName: "GetBcAddressViaVanity", Handler: _Bc_GetBcAddressViaVanity_Handler, }, { MethodName: "GetCurrentWork", Handler: _Bc_GetCurrentWork_Handler, }, { MethodName: "GetSyncStatus", Handler: _Bc_GetSyncStatus_Handler, }, { MethodName: "GetFastSyncStatus", Handler: _Bc_GetFastSyncStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "bc.proto", }
Bc_ServiceDesc is the grpc.ServiceDesc for Bc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_bc_proto protoreflect.FileDescriptor
var File_core_proto protoreflect.FileDescriptor
var File_db_proto protoreflect.FileDescriptor
var File_miner_proto protoreflect.FileDescriptor
var File_p2p_proto protoreflect.FileDescriptor
var File_rover_proto protoreflect.FileDescriptor
var File_wireless_proto protoreflect.FileDescriptor
var Miner_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bc.miner.Miner", HandlerType: (*MinerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Mine", Handler: _Miner_Mine_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "miner.proto", }
Miner_ServiceDesc is the grpc.ServiceDesc for Miner service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MsgType_name = map[int32]string{
0: "GetObjectsRequest",
}
var MsgType_value = map[string]int32{
"GetObjectsRequest": 0,
}
var ObjType_name = map[int32]string{
0: "BlockHeaders",
1: "BlockBodies",
2: "BlockTransactions",
3: "RoverBestHeights",
4: "RoverBlockHeaders",
5: "RoverBlockBodies",
6: "RoverTransactionHeaders",
7: "RoverMarkedHeaders",
}
var ObjType_value = map[string]int32{
"BlockHeaders": 0,
"BlockBodies": 1,
"BlockTransactions": 2,
"RoverBestHeights": 3,
"RoverBlockHeaders": 4,
"RoverBlockBodies": 5,
"RoverTransactionHeaders": 6,
"RoverMarkedHeaders": 7,
}
var Rover_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bc.rover.Rover", HandlerType: (*RoverServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ReportSyncStatus", Handler: _Rover_ReportSyncStatus_Handler, }, { MethodName: "ReportBlockRange", Handler: _Rover_ReportBlockRange_Handler, }, { MethodName: "IsBeforeSettleHeight", Handler: _Rover_IsBeforeSettleHeight_Handler, }, { MethodName: "GetQueuedMarkedTxs", Handler: _Rover_GetQueuedMarkedTxs_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Join", Handler: _Rover_Join_Handler, ServerStreams: true, }, { StreamName: "CollectBlock", Handler: _Rover_CollectBlock_Handler, ClientStreams: true, }, }, Metadata: "rover.proto", }
Rover_ServiceDesc is the grpc.ServiceDesc for Rover service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterBcServer ¶
func RegisterBcServer(s grpc.ServiceRegistrar, srv BcServer)
func RegisterMinerServer ¶
func RegisterMinerServer(s grpc.ServiceRegistrar, srv MinerServer)
func RegisterRoverServer ¶
func RegisterRoverServer(s grpc.ServiceRegistrar, srv RoverServer)
Types ¶
type BcBlock ¶
type BcBlock struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
PreviousHash string `protobuf:"bytes,2,opt,name=previous_hash,json=previousHash,proto3" json:"previous_hash,omitempty"`
Version uint64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
SchemaVersion uint64 `protobuf:"varint,4,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
Height uint64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
Miner string `protobuf:"bytes,6,opt,name=miner,proto3" json:"miner,omitempty"`
Difficulty string `protobuf:"bytes,7,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
Timestamp uint64 `protobuf:"varint,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
MerkleRoot string `protobuf:"bytes,9,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
ChainRoot string `protobuf:"bytes,10,opt,name=chain_root,json=chainRoot,proto3" json:"chain_root,omitempty"`
Distance string `protobuf:"bytes,11,opt,name=distance,proto3" json:"distance,omitempty"`
TotalDistance string `protobuf:"bytes,12,opt,name=total_distance,json=totalDistance,proto3" json:"total_distance,omitempty"`
Nonce string `protobuf:"bytes,13,opt,name=nonce,proto3" json:"nonce,omitempty"`
NrgGrant uint64 `protobuf:"varint,14,opt,name=nrg_grant,json=nrgGrant,proto3" json:"nrg_grant,omitempty"`
Twn uint64 `protobuf:"varint,15,opt,name=twn,proto3" json:"twn,omitempty"`
Tws []string `protobuf:"bytes,16,rep,name=tws,proto3" json:"tws,omitempty"`
EmblemWeight uint64 `protobuf:"varint,17,opt,name=emblem_weight,json=emblemWeight,proto3" json:"emblem_weight,omitempty"`
EmblemChainFingerprintRoot string `` /* 144-byte string literal not displayed */
EmblemChainAddress string `protobuf:"bytes,19,opt,name=emblem_chain_address,json=emblemChainAddress,proto3" json:"emblem_chain_address,omitempty"`
TxCount uint64 `protobuf:"varint,20,opt,name=tx_count,json=txCount,proto3" json:"tx_count,omitempty"`
Txs []*Transaction `protobuf:"bytes,21,rep,name=txs,proto3" json:"txs,omitempty"`
TxFeeBase uint64 `protobuf:"varint,22,opt,name=tx_fee_base,json=txFeeBase,proto3" json:"tx_fee_base,omitempty"`
TxDistanceSumLimit uint64 `protobuf:"varint,23,opt,name=tx_distance_sum_limit,json=txDistanceSumLimit,proto3" json:"tx_distance_sum_limit,omitempty"`
BlockchainHeadersCount uint64 `` /* 131-byte string literal not displayed */
BlockchainHeaders *BlockchainHeaders `protobuf:"bytes,25,opt,name=blockchain_headers,json=blockchainHeaders,proto3" json:"blockchain_headers,omitempty"`
BlockchainFingerprintsRoot string `` /* 142-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*BcBlock) Descriptor
deprecated
func (*BcBlock) GetBlockchainFingerprintsRoot ¶
func (*BcBlock) GetBlockchainHeaders ¶
func (x *BcBlock) GetBlockchainHeaders() *BlockchainHeaders
func (*BcBlock) GetBlockchainHeadersCount ¶
func (*BcBlock) GetChainRoot ¶
func (*BcBlock) GetDifficulty ¶
func (*BcBlock) GetDistance ¶
func (*BcBlock) GetEmblemChainAddress ¶
func (*BcBlock) GetEmblemChainFingerprintRoot ¶
func (*BcBlock) GetEmblemWeight ¶
func (*BcBlock) GetMerkleRoot ¶
func (*BcBlock) GetNrgGrant ¶
func (*BcBlock) GetPreviousHash ¶
func (*BcBlock) GetSchemaVersion ¶
func (*BcBlock) GetTimestamp ¶
func (*BcBlock) GetTotalDistance ¶
func (*BcBlock) GetTxCount ¶
func (*BcBlock) GetTxDistanceSumLimit ¶
func (*BcBlock) GetTxFeeBase ¶
func (*BcBlock) GetTxs ¶
func (x *BcBlock) GetTxs() []*Transaction
func (*BcBlock) GetVersion ¶
func (*BcBlock) ProtoMessage ¶
func (*BcBlock) ProtoMessage()
func (*BcBlock) ProtoReflect ¶
func (x *BcBlock) ProtoReflect() protoreflect.Message
type BcBlocks ¶
type BcBlocks struct {
Blocks []*BcBlock `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"`
// contains filtered or unexported fields
}
func (*BcBlocks) Descriptor
deprecated
func (*BcBlocks) ProtoMessage ¶
func (*BcBlocks) ProtoMessage()
func (*BcBlocks) ProtoReflect ¶
func (x *BcBlocks) ProtoReflect() protoreflect.Message
type BcClient ¶
type BcClient interface {
GetFeaturedFeedMessages(ctx context.Context, in *GetFeedMessagesRequest, opts ...grpc.CallOption) (*FeedMessages, error)
GetSavedFeedMessages(ctx context.Context, in *GetFeedMessagesRequest, opts ...grpc.CallOption) (*FeedMessages, error)
GetEphemeralFeedMessages(ctx context.Context, in *GetFeedMessagesRequest, opts ...grpc.CallOption) (*FeedMessages, error)
GetRoveredBlockHash(ctx context.Context, in *GetRoveredBlockHashRequest, opts ...grpc.CallOption) (*Block, error)
GetRoveredBlockHeight(ctx context.Context, in *GetRoveredBlockHeightRequest, opts ...grpc.CallOption) (*Block, error)
GetRoveredBlocks(ctx context.Context, in *GetRoveredBlocksRequest, opts ...grpc.CallOption) (*GetRoveredBlocksResponse, error)
GetLatestRoveredBlocks(ctx context.Context, in *Null, opts ...grpc.CallOption) (*GetRoveredBlocksResponse, error)
GetNrgSupply(ctx context.Context, in *Null, opts ...grpc.CallOption) (*GetNrgSupplyResponse, error)
GetBlockHash(ctx context.Context, in *GetBlockHashRequest, opts ...grpc.CallOption) (*BcBlock, error)
GetBlockHeight(ctx context.Context, in *GetBlockHeightRequest, opts ...grpc.CallOption) (*BcBlock, error)
GetBlocksHeight(ctx context.Context, in *GetBlockHeightRequest, opts ...grpc.CallOption) (*GetBlocksResponse, error)
GetBlocks(ctx context.Context, in *GetBlocksRequest, opts ...grpc.CallOption) (*GetBlocksResponse, error)
GetLatestBlock(ctx context.Context, in *Null, opts ...grpc.CallOption) (*BcBlock, error)
GetLatestUTXOBlock(ctx context.Context, in *Null, opts ...grpc.CallOption) (*BcBlock, error)
GetTx(ctx context.Context, in *GetTxRequest, opts ...grpc.CallOption) (*Transaction, error)
GetMarkedTx(ctx context.Context, in *GetMarkedTxRequest, opts ...grpc.CallOption) (*MarkedTransaction, error)
GetMarkedTxsForMatchedOrder(ctx context.Context, in *GetOutPointRequest, opts ...grpc.CallOption) (*GetMarkedTxs, error)
GetTradeStatus(ctx context.Context, in *GetOutPointRequest, opts ...grpc.CallOption) (*GetTradeStatusResponse, error)
GetOutpointStatus(ctx context.Context, in *GetOutPointRequest, opts ...grpc.CallOption) (*GetOutPointStatusResponse, error)
GetTxClaimedBy(ctx context.Context, in *GetOutPointRequest, opts ...grpc.CallOption) (*Transaction, error)
GetRawMempool(ctx context.Context, in *Null, opts ...grpc.CallOption) (*GetRawMempoolResponse, error)
GetBlockByTx(ctx context.Context, in *GetTxRequest, opts ...grpc.CallOption) (*BcBlock, error)
GetRoveredBlockForMarkedTx(ctx context.Context, in *GetMarkedTxRequest, opts ...grpc.CallOption) (*Block, error)
Help(ctx context.Context, in *Null, opts ...grpc.CallOption) (*HelpResponse, error)
Stats(ctx context.Context, in *Null, opts ...grpc.CallOption) (*StatsResponse, error)
GetSettings(ctx context.Context, in *Null, opts ...grpc.CallOption) (*SettingsResponse, error)
NewFeed(ctx context.Context, in *RpcFeedTransactionRequest, opts ...grpc.CallOption) (*RpcTransactionResponse, error)
UpdateFeed(ctx context.Context, in *RpcUpdateFeedTransactionRequest, opts ...grpc.CallOption) (*RpcTransactionResponse, error)
NewTx(ctx context.Context, in *RpcTransaction, opts ...grpc.CallOption) (*RpcTransactionResponse, error)
SendTx(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*RpcTransactionResponse, error)
GetEmbBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetEmbBalanceResponse, error)
GetBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetBalanceResponse, error)
GetWallet(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*WalletData, error)
GetSpendableOutpoints(ctx context.Context, in *GetSpendableCollateralRequest, opts ...grpc.CallOption) (*WalletData, error)
GetSpendableCollateral(ctx context.Context, in *GetSpendableCollateralRequest, opts ...grpc.CallOption) (*GetSpendableCollateralResponse, error)
GetUnlockTakerTxParams(ctx context.Context, in *GetUnlockTakerTxParamsRequest, opts ...grpc.CallOption) (*GetUnlockTakerTxParamsResponse, error)
GetByteFeeMultiplier(ctx context.Context, in *Null, opts ...grpc.CallOption) (*GetByteFeeResponse, error)
GetTransfers(ctx context.Context, in *TransferRequest, opts ...grpc.CallOption) (*TransferResponse, error)
GetTakerForMaker(ctx context.Context, in *GetOutPointRequest, opts ...grpc.CallOption) (*GetOutPointRequest, error)
GetOpenOrder(ctx context.Context, in *GetOutPointRequest, opts ...grpc.CallOption) (*GetOpenOrdersResponse, error)
GetOpenCallbackOrder(ctx context.Context, in *GetOutPointRequest, opts ...grpc.CallOption) (*GetOpenOrdersResponse, error)
GetMatchedOrder(ctx context.Context, in *GetOutPointRequest, opts ...grpc.CallOption) (*GetMatchedOrdersResponse, error)
GetOpenOrders(ctx context.Context, in *GetSpendableCollateralRequest, opts ...grpc.CallOption) (*GetOpenOrdersResponse, error)
GetMatchedOrders(ctx context.Context, in *GetSpendableCollateralRequest, opts ...grpc.CallOption) (*GetMatchedOrdersResponse, error)
GetHistoricalOrders(ctx context.Context, in *GetHistoryRequest, opts ...grpc.CallOption) (*GetHistoricalOrdersResponse, error)
GetUnmatchedOrders(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetOpenOrdersResponse, error)
GetOriginalMakerOrder(ctx context.Context, in *GetOutPointRequest, opts ...grpc.CallOption) (*Transaction, error)
GetUtxos(ctx context.Context, in *GetUtxosRequest, opts ...grpc.CallOption) (*Utxos, error)
GetUTXOLength(ctx context.Context, in *GetUtxoLengthRequest, opts ...grpc.CallOption) (*GetUtxoLengthResponse, error)
GetSTXOLength(ctx context.Context, in *GetUtxoLengthRequest, opts ...grpc.CallOption) (*GetUtxoLengthResponse, error)
GetBlocksByRoveredHash(ctx context.Context, in *GetBlocksByRoveredHashRequest, opts ...grpc.CallOption) (*GetBlocksByRoveredHashResponse, error)
GetBlake2Bl(ctx context.Context, in *GetBlake2BlRequest, opts ...grpc.CallOption) (*GetBlake2BlResponse, error)
GetBcAddressViaVanity(ctx context.Context, in *VanityConvertRequest, opts ...grpc.CallOption) (*VanityConvertResponse, error)
GetCurrentWork(ctx context.Context, in *Null, opts ...grpc.CallOption) (*CurrentWork, error)
GetSyncStatus(ctx context.Context, in *Null, opts ...grpc.CallOption) (*SyncStatus, error)
GetFastSyncStatus(ctx context.Context, in *Null, opts ...grpc.CallOption) (*SyncStatus, error)
}
BcClient is the client API for Bc service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBcClient ¶
func NewBcClient(cc grpc.ClientConnInterface) BcClient
type BcMessages ¶ added in v0.0.7
type BcMessages struct {
Messages []*FeedMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
// contains filtered or unexported fields
}
func (*BcMessages) Descriptor
deprecated
added in
v0.0.7
func (*BcMessages) Descriptor() ([]byte, []int)
Deprecated: Use BcMessages.ProtoReflect.Descriptor instead.
func (*BcMessages) GetMessages ¶ added in v0.0.7
func (x *BcMessages) GetMessages() []*FeedMessage
func (*BcMessages) ProtoMessage ¶ added in v0.0.7
func (*BcMessages) ProtoMessage()
func (*BcMessages) ProtoReflect ¶ added in v0.0.7
func (x *BcMessages) ProtoReflect() protoreflect.Message
func (*BcMessages) Reset ¶ added in v0.0.7
func (x *BcMessages) Reset()
func (*BcMessages) String ¶ added in v0.0.7
func (x *BcMessages) String() string
type BcServer ¶
type BcServer interface {
GetFeaturedFeedMessages(context.Context, *GetFeedMessagesRequest) (*FeedMessages, error)
GetSavedFeedMessages(context.Context, *GetFeedMessagesRequest) (*FeedMessages, error)
GetEphemeralFeedMessages(context.Context, *GetFeedMessagesRequest) (*FeedMessages, error)
GetRoveredBlockHash(context.Context, *GetRoveredBlockHashRequest) (*Block, error)
GetRoveredBlockHeight(context.Context, *GetRoveredBlockHeightRequest) (*Block, error)
GetRoveredBlocks(context.Context, *GetRoveredBlocksRequest) (*GetRoveredBlocksResponse, error)
GetLatestRoveredBlocks(context.Context, *Null) (*GetRoveredBlocksResponse, error)
GetNrgSupply(context.Context, *Null) (*GetNrgSupplyResponse, error)
GetBlockHash(context.Context, *GetBlockHashRequest) (*BcBlock, error)
GetBlockHeight(context.Context, *GetBlockHeightRequest) (*BcBlock, error)
GetBlocksHeight(context.Context, *GetBlockHeightRequest) (*GetBlocksResponse, error)
GetBlocks(context.Context, *GetBlocksRequest) (*GetBlocksResponse, error)
GetLatestBlock(context.Context, *Null) (*BcBlock, error)
GetLatestUTXOBlock(context.Context, *Null) (*BcBlock, error)
GetTx(context.Context, *GetTxRequest) (*Transaction, error)
GetMarkedTx(context.Context, *GetMarkedTxRequest) (*MarkedTransaction, error)
GetMarkedTxsForMatchedOrder(context.Context, *GetOutPointRequest) (*GetMarkedTxs, error)
GetTradeStatus(context.Context, *GetOutPointRequest) (*GetTradeStatusResponse, error)
GetOutpointStatus(context.Context, *GetOutPointRequest) (*GetOutPointStatusResponse, error)
GetTxClaimedBy(context.Context, *GetOutPointRequest) (*Transaction, error)
GetRawMempool(context.Context, *Null) (*GetRawMempoolResponse, error)
GetBlockByTx(context.Context, *GetTxRequest) (*BcBlock, error)
GetRoveredBlockForMarkedTx(context.Context, *GetMarkedTxRequest) (*Block, error)
Help(context.Context, *Null) (*HelpResponse, error)
Stats(context.Context, *Null) (*StatsResponse, error)
GetSettings(context.Context, *Null) (*SettingsResponse, error)
NewFeed(context.Context, *RpcFeedTransactionRequest) (*RpcTransactionResponse, error)
UpdateFeed(context.Context, *RpcUpdateFeedTransactionRequest) (*RpcTransactionResponse, error)
NewTx(context.Context, *RpcTransaction) (*RpcTransactionResponse, error)
SendTx(context.Context, *Transaction) (*RpcTransactionResponse, error)
GetEmbBalance(context.Context, *GetBalanceRequest) (*GetEmbBalanceResponse, error)
GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
GetWallet(context.Context, *GetBalanceRequest) (*WalletData, error)
GetSpendableOutpoints(context.Context, *GetSpendableCollateralRequest) (*WalletData, error)
GetSpendableCollateral(context.Context, *GetSpendableCollateralRequest) (*GetSpendableCollateralResponse, error)
GetUnlockTakerTxParams(context.Context, *GetUnlockTakerTxParamsRequest) (*GetUnlockTakerTxParamsResponse, error)
GetByteFeeMultiplier(context.Context, *Null) (*GetByteFeeResponse, error)
GetTransfers(context.Context, *TransferRequest) (*TransferResponse, error)
GetTakerForMaker(context.Context, *GetOutPointRequest) (*GetOutPointRequest, error)
GetOpenOrder(context.Context, *GetOutPointRequest) (*GetOpenOrdersResponse, error)
GetOpenCallbackOrder(context.Context, *GetOutPointRequest) (*GetOpenOrdersResponse, error)
GetMatchedOrder(context.Context, *GetOutPointRequest) (*GetMatchedOrdersResponse, error)
GetOpenOrders(context.Context, *GetSpendableCollateralRequest) (*GetOpenOrdersResponse, error)
GetMatchedOrders(context.Context, *GetSpendableCollateralRequest) (*GetMatchedOrdersResponse, error)
GetHistoricalOrders(context.Context, *GetHistoryRequest) (*GetHistoricalOrdersResponse, error)
GetUnmatchedOrders(context.Context, *GetBalanceRequest) (*GetOpenOrdersResponse, error)
GetOriginalMakerOrder(context.Context, *GetOutPointRequest) (*Transaction, error)
GetUtxos(context.Context, *GetUtxosRequest) (*Utxos, error)
GetUTXOLength(context.Context, *GetUtxoLengthRequest) (*GetUtxoLengthResponse, error)
GetSTXOLength(context.Context, *GetUtxoLengthRequest) (*GetUtxoLengthResponse, error)
GetBlocksByRoveredHash(context.Context, *GetBlocksByRoveredHashRequest) (*GetBlocksByRoveredHashResponse, error)
GetBlake2Bl(context.Context, *GetBlake2BlRequest) (*GetBlake2BlResponse, error)
GetBcAddressViaVanity(context.Context, *VanityConvertRequest) (*VanityConvertResponse, error)
GetCurrentWork(context.Context, *Null) (*CurrentWork, error)
GetSyncStatus(context.Context, *Null) (*SyncStatus, error)
GetFastSyncStatus(context.Context, *Null) (*SyncStatus, error)
// contains filtered or unexported methods
}
BcServer is the server API for Bc service. All implementations must embed UnimplementedBcServer for forward compatibility
type Block ¶
type Block struct {
Blockchain string `protobuf:"bytes,1,opt,name=blockchain,proto3" json:"blockchain,omitempty"`
Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
PreviousHash string `protobuf:"bytes,3,opt,name=previous_hash,json=previousHash,proto3" json:"previous_hash,omitempty"`
// with ms
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Height uint64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
MerkleRoot string `protobuf:"bytes,6,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
MarkedTxCount uint64 `protobuf:"varint,7,opt,name=marked_tx_count,json=markedTxCount,proto3" json:"marked_tx_count,omitempty"`
MarkedTxs []*MarkedTransaction `protobuf:"bytes,8,rep,name=marked_txs,json=markedTxs,proto3" json:"marked_txs,omitempty"`
// contains filtered or unexported fields
}
func (*Block) Descriptor
deprecated
func (*Block) GetBlockchain ¶
func (*Block) GetMarkedTxCount ¶
func (*Block) GetMarkedTxs ¶
func (x *Block) GetMarkedTxs() []*MarkedTransaction
func (*Block) GetMerkleRoot ¶
func (*Block) GetPreviousHash ¶
func (*Block) GetTimestamp ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type BlockFingerprint ¶
type BlockFingerprint struct {
Blockchain string `protobuf:"bytes,1,opt,name=blockchain,proto3" json:"blockchain,omitempty"`
Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
IsCurrent bool `protobuf:"varint,4,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty"`
// contains filtered or unexported fields
}
func (*BlockFingerprint) Descriptor
deprecated
func (*BlockFingerprint) Descriptor() ([]byte, []int)
Deprecated: Use BlockFingerprint.ProtoReflect.Descriptor instead.
func (*BlockFingerprint) GetBlockchain ¶
func (x *BlockFingerprint) GetBlockchain() string
func (*BlockFingerprint) GetHash ¶
func (x *BlockFingerprint) GetHash() string
func (*BlockFingerprint) GetIsCurrent ¶
func (x *BlockFingerprint) GetIsCurrent() bool
func (*BlockFingerprint) GetTimestamp ¶
func (x *BlockFingerprint) GetTimestamp() uint64
func (*BlockFingerprint) ProtoMessage ¶
func (*BlockFingerprint) ProtoMessage()
func (*BlockFingerprint) ProtoReflect ¶
func (x *BlockFingerprint) ProtoReflect() protoreflect.Message
func (*BlockFingerprint) Reset ¶
func (x *BlockFingerprint) Reset()
func (*BlockFingerprint) String ¶
func (x *BlockFingerprint) String() string
type BlockchainHeader ¶
type BlockchainHeader struct {
Blockchain string `protobuf:"bytes,1,opt,name=blockchain,proto3" json:"blockchain,omitempty"`
Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
PreviousHash string `protobuf:"bytes,3,opt,name=previous_hash,json=previousHash,proto3" json:"previous_hash,omitempty"`
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Height uint64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
MerkleRoot string `protobuf:"bytes,6,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
BlockchainConfirmationsInParentCount uint64 `` /* 176-byte string literal not displayed */
MarkedTxs []*MarkedTransaction `protobuf:"bytes,8,rep,name=marked_txs,json=markedTxs,proto3" json:"marked_txs,omitempty"`
MarkedTxCount uint64 `protobuf:"varint,9,opt,name=marked_tx_count,json=markedTxCount,proto3" json:"marked_tx_count,omitempty"`
// contains filtered or unexported fields
}
func (*BlockchainHeader) Descriptor
deprecated
func (*BlockchainHeader) Descriptor() ([]byte, []int)
Deprecated: Use BlockchainHeader.ProtoReflect.Descriptor instead.
func (*BlockchainHeader) GetBlockchain ¶
func (x *BlockchainHeader) GetBlockchain() string
func (*BlockchainHeader) GetBlockchainConfirmationsInParentCount ¶
func (x *BlockchainHeader) GetBlockchainConfirmationsInParentCount() uint64
func (*BlockchainHeader) GetHash ¶
func (x *BlockchainHeader) GetHash() string
func (*BlockchainHeader) GetHeight ¶
func (x *BlockchainHeader) GetHeight() uint64
func (*BlockchainHeader) GetMarkedTxCount ¶
func (x *BlockchainHeader) GetMarkedTxCount() uint64
func (*BlockchainHeader) GetMarkedTxs ¶
func (x *BlockchainHeader) GetMarkedTxs() []*MarkedTransaction
func (*BlockchainHeader) GetMerkleRoot ¶
func (x *BlockchainHeader) GetMerkleRoot() string
func (*BlockchainHeader) GetPreviousHash ¶
func (x *BlockchainHeader) GetPreviousHash() string
func (*BlockchainHeader) GetTimestamp ¶
func (x *BlockchainHeader) GetTimestamp() uint64
func (*BlockchainHeader) ProtoMessage ¶
func (*BlockchainHeader) ProtoMessage()
func (*BlockchainHeader) ProtoReflect ¶
func (x *BlockchainHeader) ProtoReflect() protoreflect.Message
func (*BlockchainHeader) Reset ¶
func (x *BlockchainHeader) Reset()
func (*BlockchainHeader) String ¶
func (x *BlockchainHeader) String() string
type BlockchainHeaders ¶
type BlockchainHeaders struct {
Btc []*BlockchainHeader `protobuf:"bytes,1,rep,name=btc,proto3" json:"btc,omitempty"`
Eth []*BlockchainHeader `protobuf:"bytes,2,rep,name=eth,proto3" json:"eth,omitempty"`
Lsk []*BlockchainHeader `protobuf:"bytes,3,rep,name=lsk,proto3" json:"lsk,omitempty"`
Neo []*BlockchainHeader `protobuf:"bytes,4,rep,name=neo,proto3" json:"neo,omitempty"`
Wav []*BlockchainHeader `protobuf:"bytes,5,rep,name=wav,proto3" json:"wav,omitempty"`
// contains filtered or unexported fields
}
func (*BlockchainHeaders) Descriptor
deprecated
func (*BlockchainHeaders) Descriptor() ([]byte, []int)
Deprecated: Use BlockchainHeaders.ProtoReflect.Descriptor instead.
func (*BlockchainHeaders) GetBtc ¶
func (x *BlockchainHeaders) GetBtc() []*BlockchainHeader
func (*BlockchainHeaders) GetEth ¶
func (x *BlockchainHeaders) GetEth() []*BlockchainHeader
func (*BlockchainHeaders) GetLsk ¶
func (x *BlockchainHeaders) GetLsk() []*BlockchainHeader
func (*BlockchainHeaders) GetNeo ¶
func (x *BlockchainHeaders) GetNeo() []*BlockchainHeader
func (*BlockchainHeaders) GetWav ¶
func (x *BlockchainHeaders) GetWav() []*BlockchainHeader
func (*BlockchainHeaders) ProtoMessage ¶
func (*BlockchainHeaders) ProtoMessage()
func (*BlockchainHeaders) ProtoReflect ¶
func (x *BlockchainHeaders) ProtoReflect() protoreflect.Message
func (*BlockchainHeaders) Reset ¶
func (x *BlockchainHeaders) Reset()
func (*BlockchainHeaders) String ¶
func (x *BlockchainHeaders) String() string
type Config ¶
type Config struct {
Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
SecureAdmin string `protobuf:"bytes,2,opt,name=secure_admin,json=secureAdmin,proto3" json:"secure_admin,omitempty"`
SecureGroup string `protobuf:"bytes,3,opt,name=secure_group,json=secureGroup,proto3" json:"secure_group,omitempty"`
Services []*Service `protobuf:"bytes,4,rep,name=services,proto3" json:"services,omitempty"` // services available on this machine
// contains filtered or unexported fields
}
func (*Config) Descriptor
deprecated
func (*Config) GetSecureAdmin ¶
func (*Config) GetSecureGroup ¶
func (*Config) GetServices ¶
func (*Config) GetVersion ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type CurrentWork ¶
type CurrentWork struct {
Work string `protobuf:"bytes,1,opt,name=work,proto3" json:"work,omitempty"`
// contains filtered or unexported fields
}
func (*CurrentWork) Descriptor
deprecated
func (*CurrentWork) Descriptor() ([]byte, []int)
Deprecated: Use CurrentWork.ProtoReflect.Descriptor instead.
func (*CurrentWork) GetWork ¶
func (x *CurrentWork) GetWork() string
func (*CurrentWork) ProtoMessage ¶
func (*CurrentWork) ProtoMessage()
func (*CurrentWork) ProtoReflect ¶
func (x *CurrentWork) ProtoReflect() protoreflect.Message
func (*CurrentWork) Reset ¶
func (x *CurrentWork) Reset()
func (*CurrentWork) String ¶
func (x *CurrentWork) String() string
type DbValue ¶
type DbValue struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
IsNative bool `protobuf:"varint,4,opt,name=is_native,json=isNative,proto3" json:"is_native,omitempty"`
// contains filtered or unexported fields
}
Represents value stored in key/value database User provided value is automatically (de)serialized
func (*DbValue) Descriptor
deprecated
func (*DbValue) GetIsNative ¶
func (*DbValue) GetVersion ¶
func (*DbValue) ProtoMessage ¶
func (*DbValue) ProtoMessage()
func (*DbValue) ProtoReflect ¶
func (x *DbValue) ProtoReflect() protoreflect.Message
type FeedBalance ¶ added in v0.0.4
type FeedBalance struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}
func (*FeedBalance) Descriptor
deprecated
added in
v0.0.4
func (*FeedBalance) Descriptor() ([]byte, []int)
Deprecated: Use FeedBalance.ProtoReflect.Descriptor instead.
func (*FeedBalance) GetAmount ¶ added in v0.0.4
func (x *FeedBalance) GetAmount() string
func (*FeedBalance) GetName ¶ added in v0.0.4
func (x *FeedBalance) GetName() string
func (*FeedBalance) ProtoMessage ¶ added in v0.0.4
func (*FeedBalance) ProtoMessage()
func (*FeedBalance) ProtoReflect ¶ added in v0.0.4
func (x *FeedBalance) ProtoReflect() protoreflect.Message
func (*FeedBalance) Reset ¶ added in v0.0.4
func (x *FeedBalance) Reset()
func (*FeedBalance) String ¶ added in v0.0.4
func (x *FeedBalance) String() string
type FeedMessage ¶ added in v0.0.4
type FeedMessage struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Balances []*FeedBalance `protobuf:"bytes,3,rep,name=balances,proto3" json:"balances,omitempty"`
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*FeedMessage) Descriptor
deprecated
added in
v0.0.4
func (*FeedMessage) Descriptor() ([]byte, []int)
Deprecated: Use FeedMessage.ProtoReflect.Descriptor instead.
func (*FeedMessage) GetAddress ¶ added in v0.0.4
func (x *FeedMessage) GetAddress() string
func (*FeedMessage) GetBalances ¶ added in v0.0.4
func (x *FeedMessage) GetBalances() []*FeedBalance
func (*FeedMessage) GetMessage ¶ added in v0.0.4
func (x *FeedMessage) GetMessage() string
func (*FeedMessage) GetTimestamp ¶ added in v0.0.4
func (x *FeedMessage) GetTimestamp() uint64
func (*FeedMessage) ProtoMessage ¶ added in v0.0.4
func (*FeedMessage) ProtoMessage()
func (*FeedMessage) ProtoReflect ¶ added in v0.0.4
func (x *FeedMessage) ProtoReflect() protoreflect.Message
func (*FeedMessage) Reset ¶ added in v0.0.4
func (x *FeedMessage) Reset()
func (*FeedMessage) String ¶ added in v0.0.4
func (x *FeedMessage) String() string
type FeedMessages ¶ added in v0.0.4
type FeedMessages struct {
Messages []*FeedMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
// contains filtered or unexported fields
}
func (*FeedMessages) Descriptor
deprecated
added in
v0.0.4
func (*FeedMessages) Descriptor() ([]byte, []int)
Deprecated: Use FeedMessages.ProtoReflect.Descriptor instead.
func (*FeedMessages) GetMessages ¶ added in v0.0.4
func (x *FeedMessages) GetMessages() []*FeedMessage
func (*FeedMessages) ProtoMessage ¶ added in v0.0.4
func (*FeedMessages) ProtoMessage()
func (*FeedMessages) ProtoReflect ¶ added in v0.0.4
func (x *FeedMessages) ProtoReflect() protoreflect.Message
func (*FeedMessages) Reset ¶ added in v0.0.4
func (x *FeedMessages) Reset()
func (*FeedMessages) String ¶ added in v0.0.4
func (x *FeedMessages) String() string
type FeedTransactionDataType ¶
type FeedTransactionDataType int32
const (
FeedTransactionDataType_TYPE1 FeedTransactionDataType = 0 // this is here as a placeholder, can be removed when types are decided
)
func (FeedTransactionDataType) Descriptor ¶
func (FeedTransactionDataType) Descriptor() protoreflect.EnumDescriptor
func (FeedTransactionDataType) Enum ¶
func (x FeedTransactionDataType) Enum() *FeedTransactionDataType
func (FeedTransactionDataType) EnumDescriptor
deprecated
func (FeedTransactionDataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FeedTransactionDataType.Descriptor instead.
func (FeedTransactionDataType) Number ¶
func (x FeedTransactionDataType) Number() protoreflect.EnumNumber
func (FeedTransactionDataType) String ¶
func (x FeedTransactionDataType) String() string
func (FeedTransactionDataType) Type ¶
func (FeedTransactionDataType) Type() protoreflect.EnumType
type GetBalanceRequest ¶
type GetBalanceRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
func (*GetBalanceRequest) Descriptor
deprecated
func (*GetBalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceRequest.ProtoReflect.Descriptor instead.
func (*GetBalanceRequest) GetAddress ¶
func (x *GetBalanceRequest) GetAddress() string
func (*GetBalanceRequest) ProtoMessage ¶
func (*GetBalanceRequest) ProtoMessage()
func (*GetBalanceRequest) ProtoReflect ¶
func (x *GetBalanceRequest) ProtoReflect() protoreflect.Message
func (*GetBalanceRequest) Reset ¶
func (x *GetBalanceRequest) Reset()
func (*GetBalanceRequest) String ¶
func (x *GetBalanceRequest) String() string
type GetBalanceResponse ¶
type GetBalanceResponse struct {
Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
Confirmed string `protobuf:"bytes,2,opt,name=confirmed,proto3" json:"confirmed,omitempty"`
Unconfirmed string `protobuf:"bytes,3,opt,name=unconfirmed,proto3" json:"unconfirmed,omitempty"`
Collateralized string `protobuf:"bytes,4,opt,name=collateralized,proto3" json:"collateralized,omitempty"`
Unlockable string `protobuf:"bytes,5,opt,name=unlockable,proto3" json:"unlockable,omitempty"`
// contains filtered or unexported fields
}
func (*GetBalanceResponse) Descriptor
deprecated
func (*GetBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.
func (*GetBalanceResponse) GetCollateralized ¶
func (x *GetBalanceResponse) GetCollateralized() string
func (*GetBalanceResponse) GetConfirmed ¶
func (x *GetBalanceResponse) GetConfirmed() string
func (*GetBalanceResponse) GetHeight ¶
func (x *GetBalanceResponse) GetHeight() uint32
func (*GetBalanceResponse) GetUnconfirmed ¶
func (x *GetBalanceResponse) GetUnconfirmed() string
func (*GetBalanceResponse) GetUnlockable ¶
func (x *GetBalanceResponse) GetUnlockable() string
func (*GetBalanceResponse) ProtoMessage ¶
func (*GetBalanceResponse) ProtoMessage()
func (*GetBalanceResponse) ProtoReflect ¶
func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message
func (*GetBalanceResponse) Reset ¶
func (x *GetBalanceResponse) Reset()
func (*GetBalanceResponse) String ¶
func (x *GetBalanceResponse) String() string
type GetBlake2BlRequest ¶
type GetBlake2BlRequest struct {
ToBeHashed string `protobuf:"bytes,1,opt,name=to_be_hashed,json=toBeHashed,proto3" json:"to_be_hashed,omitempty"`
Times uint32 `protobuf:"varint,2,opt,name=times,proto3" json:"times,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlake2BlRequest) Descriptor
deprecated
func (*GetBlake2BlRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlake2BlRequest.ProtoReflect.Descriptor instead.
func (*GetBlake2BlRequest) GetTimes ¶
func (x *GetBlake2BlRequest) GetTimes() uint32
func (*GetBlake2BlRequest) GetToBeHashed ¶
func (x *GetBlake2BlRequest) GetToBeHashed() string
func (*GetBlake2BlRequest) ProtoMessage ¶
func (*GetBlake2BlRequest) ProtoMessage()
func (*GetBlake2BlRequest) ProtoReflect ¶
func (x *GetBlake2BlRequest) ProtoReflect() protoreflect.Message
func (*GetBlake2BlRequest) Reset ¶
func (x *GetBlake2BlRequest) Reset()
func (*GetBlake2BlRequest) String ¶
func (x *GetBlake2BlRequest) String() string
type GetBlake2BlResponse ¶
type GetBlake2BlResponse struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlake2BlResponse) Descriptor
deprecated
func (*GetBlake2BlResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlake2BlResponse.ProtoReflect.Descriptor instead.
func (*GetBlake2BlResponse) GetHash ¶
func (x *GetBlake2BlResponse) GetHash() string
func (*GetBlake2BlResponse) ProtoMessage ¶
func (*GetBlake2BlResponse) ProtoMessage()
func (*GetBlake2BlResponse) ProtoReflect ¶
func (x *GetBlake2BlResponse) ProtoReflect() protoreflect.Message
func (*GetBlake2BlResponse) Reset ¶
func (x *GetBlake2BlResponse) Reset()
func (*GetBlake2BlResponse) String ¶
func (x *GetBlake2BlResponse) String() string
type GetBlockHashRequest ¶
type GetBlockHashRequest struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlockHashRequest) Descriptor
deprecated
func (*GetBlockHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockHashRequest.ProtoReflect.Descriptor instead.
func (*GetBlockHashRequest) GetHash ¶
func (x *GetBlockHashRequest) GetHash() string
func (*GetBlockHashRequest) ProtoMessage ¶
func (*GetBlockHashRequest) ProtoMessage()
func (*GetBlockHashRequest) ProtoReflect ¶
func (x *GetBlockHashRequest) ProtoReflect() protoreflect.Message
func (*GetBlockHashRequest) Reset ¶
func (x *GetBlockHashRequest) Reset()
func (*GetBlockHashRequest) String ¶
func (x *GetBlockHashRequest) String() string
type GetBlockHeightRequest ¶
type GetBlockHeightRequest struct {
Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlockHeightRequest) Descriptor
deprecated
func (*GetBlockHeightRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockHeightRequest.ProtoReflect.Descriptor instead.
func (*GetBlockHeightRequest) GetHeight ¶
func (x *GetBlockHeightRequest) GetHeight() uint32
func (*GetBlockHeightRequest) ProtoMessage ¶
func (*GetBlockHeightRequest) ProtoMessage()
func (*GetBlockHeightRequest) ProtoReflect ¶
func (x *GetBlockHeightRequest) ProtoReflect() protoreflect.Message
func (*GetBlockHeightRequest) Reset ¶
func (x *GetBlockHeightRequest) Reset()
func (*GetBlockHeightRequest) String ¶
func (x *GetBlockHeightRequest) String() string
type GetBlocksByRoveredHashRequest ¶
type GetBlocksByRoveredHashRequest struct {
Blockchain string `protobuf:"bytes,1,opt,name=blockchain,proto3" json:"blockchain,omitempty"`
Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlocksByRoveredHashRequest) Descriptor
deprecated
func (*GetBlocksByRoveredHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlocksByRoveredHashRequest.ProtoReflect.Descriptor instead.
func (*GetBlocksByRoveredHashRequest) GetBlockchain ¶
func (x *GetBlocksByRoveredHashRequest) GetBlockchain() string
func (*GetBlocksByRoveredHashRequest) GetHash ¶
func (x *GetBlocksByRoveredHashRequest) GetHash() string
func (*GetBlocksByRoveredHashRequest) ProtoMessage ¶
func (*GetBlocksByRoveredHashRequest) ProtoMessage()
func (*GetBlocksByRoveredHashRequest) ProtoReflect ¶
func (x *GetBlocksByRoveredHashRequest) ProtoReflect() protoreflect.Message
func (*GetBlocksByRoveredHashRequest) Reset ¶
func (x *GetBlocksByRoveredHashRequest) Reset()
func (*GetBlocksByRoveredHashRequest) String ¶
func (x *GetBlocksByRoveredHashRequest) String() string
type GetBlocksByRoveredHashResponse ¶
type GetBlocksByRoveredHashResponse struct {
Blocks []*BcBlock `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlocksByRoveredHashResponse) Descriptor
deprecated
func (*GetBlocksByRoveredHashResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlocksByRoveredHashResponse.ProtoReflect.Descriptor instead.
func (*GetBlocksByRoveredHashResponse) GetBlocks ¶
func (x *GetBlocksByRoveredHashResponse) GetBlocks() []*BcBlock
func (*GetBlocksByRoveredHashResponse) ProtoMessage ¶
func (*GetBlocksByRoveredHashResponse) ProtoMessage()
func (*GetBlocksByRoveredHashResponse) ProtoReflect ¶
func (x *GetBlocksByRoveredHashResponse) ProtoReflect() protoreflect.Message
func (*GetBlocksByRoveredHashResponse) Reset ¶
func (x *GetBlocksByRoveredHashResponse) Reset()
func (*GetBlocksByRoveredHashResponse) String ¶
func (x *GetBlocksByRoveredHashResponse) String() string
type GetBlocksRequest ¶
type GetBlocksRequest struct {
StartHeight uint32 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"`
EndHeight uint32 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlocksRequest) Descriptor
deprecated
func (*GetBlocksRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlocksRequest.ProtoReflect.Descriptor instead.
func (*GetBlocksRequest) GetEndHeight ¶
func (x *GetBlocksRequest) GetEndHeight() uint32
func (*GetBlocksRequest) GetStartHeight ¶
func (x *GetBlocksRequest) GetStartHeight() uint32
func (*GetBlocksRequest) ProtoMessage ¶
func (*GetBlocksRequest) ProtoMessage()
func (*GetBlocksRequest) ProtoReflect ¶
func (x *GetBlocksRequest) ProtoReflect() protoreflect.Message
func (*GetBlocksRequest) Reset ¶
func (x *GetBlocksRequest) Reset()
func (*GetBlocksRequest) String ¶
func (x *GetBlocksRequest) String() string
type GetBlocksResponse ¶
type GetBlocksResponse struct {
Blocks []*BcBlock `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlocksResponse) Descriptor
deprecated
func (*GetBlocksResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlocksResponse.ProtoReflect.Descriptor instead.
func (*GetBlocksResponse) GetBlocks ¶
func (x *GetBlocksResponse) GetBlocks() []*BcBlock
func (*GetBlocksResponse) ProtoMessage ¶
func (*GetBlocksResponse) ProtoMessage()
func (*GetBlocksResponse) ProtoReflect ¶
func (x *GetBlocksResponse) ProtoReflect() protoreflect.Message
func (*GetBlocksResponse) Reset ¶
func (x *GetBlocksResponse) Reset()
func (*GetBlocksResponse) String ¶
func (x *GetBlocksResponse) String() string
type GetByteFeeResponse ¶
type GetByteFeeResponse struct {
Fee string `protobuf:"bytes,1,opt,name=fee,proto3" json:"fee,omitempty"`
// contains filtered or unexported fields
}
func (*GetByteFeeResponse) Descriptor
deprecated
func (*GetByteFeeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetByteFeeResponse.ProtoReflect.Descriptor instead.
func (*GetByteFeeResponse) GetFee ¶
func (x *GetByteFeeResponse) GetFee() string
func (*GetByteFeeResponse) ProtoMessage ¶
func (*GetByteFeeResponse) ProtoMessage()
func (*GetByteFeeResponse) ProtoReflect ¶
func (x *GetByteFeeResponse) ProtoReflect() protoreflect.Message
func (*GetByteFeeResponse) Reset ¶
func (x *GetByteFeeResponse) Reset()
func (*GetByteFeeResponse) String ¶
func (x *GetByteFeeResponse) String() string
type GetEmbBalanceResponse ¶
type GetEmbBalanceResponse struct {
Balance string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
// contains filtered or unexported fields
}
func (*GetEmbBalanceResponse) Descriptor
deprecated
func (*GetEmbBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEmbBalanceResponse.ProtoReflect.Descriptor instead.
func (*GetEmbBalanceResponse) GetBalance ¶
func (x *GetEmbBalanceResponse) GetBalance() string
func (*GetEmbBalanceResponse) ProtoMessage ¶
func (*GetEmbBalanceResponse) ProtoMessage()
func (*GetEmbBalanceResponse) ProtoReflect ¶
func (x *GetEmbBalanceResponse) ProtoReflect() protoreflect.Message
func (*GetEmbBalanceResponse) Reset ¶
func (x *GetEmbBalanceResponse) Reset()
func (*GetEmbBalanceResponse) String ¶
func (x *GetEmbBalanceResponse) String() string
type GetFeedMessagesRequest ¶ added in v0.0.4
type GetFeedMessagesRequest struct {
From uint64 `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"`
To uint64 `protobuf:"varint,2,opt,name=to,proto3" json:"to,omitempty"`
// contains filtered or unexported fields
}
func (*GetFeedMessagesRequest) Descriptor
deprecated
added in
v0.0.4
func (*GetFeedMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFeedMessagesRequest.ProtoReflect.Descriptor instead.
func (*GetFeedMessagesRequest) GetFrom ¶ added in v0.0.4
func (x *GetFeedMessagesRequest) GetFrom() uint64
func (*GetFeedMessagesRequest) GetTo ¶ added in v0.0.4
func (x *GetFeedMessagesRequest) GetTo() uint64
func (*GetFeedMessagesRequest) ProtoMessage ¶ added in v0.0.4
func (*GetFeedMessagesRequest) ProtoMessage()
func (*GetFeedMessagesRequest) ProtoReflect ¶ added in v0.0.4
func (x *GetFeedMessagesRequest) ProtoReflect() protoreflect.Message
func (*GetFeedMessagesRequest) Reset ¶ added in v0.0.4
func (x *GetFeedMessagesRequest) Reset()
func (*GetFeedMessagesRequest) String ¶ added in v0.0.4
func (x *GetFeedMessagesRequest) String() string
type GetHistoricalOrdersResponse ¶
type GetHistoricalOrdersResponse struct {
Orders []*MatchedOrderInfo `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
NextBlock uint64 `protobuf:"varint,2,opt,name=next_block,json=nextBlock,proto3" json:"next_block,omitempty"`
// contains filtered or unexported fields
}
func (*GetHistoricalOrdersResponse) Descriptor
deprecated
func (*GetHistoricalOrdersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHistoricalOrdersResponse.ProtoReflect.Descriptor instead.
func (*GetHistoricalOrdersResponse) GetNextBlock ¶
func (x *GetHistoricalOrdersResponse) GetNextBlock() uint64
func (*GetHistoricalOrdersResponse) GetOrders ¶
func (x *GetHistoricalOrdersResponse) GetOrders() []*MatchedOrderInfo
func (*GetHistoricalOrdersResponse) ProtoMessage ¶
func (*GetHistoricalOrdersResponse) ProtoMessage()
func (*GetHistoricalOrdersResponse) ProtoReflect ¶
func (x *GetHistoricalOrdersResponse) ProtoReflect() protoreflect.Message
func (*GetHistoricalOrdersResponse) Reset ¶
func (x *GetHistoricalOrdersResponse) Reset()
func (*GetHistoricalOrdersResponse) String ¶
func (x *GetHistoricalOrdersResponse) String() string
type GetHistoryRequest ¶
type GetHistoryRequest struct {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
Max uint64 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
// contains filtered or unexported fields
}
func (*GetHistoryRequest) Descriptor
deprecated
func (*GetHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHistoryRequest.ProtoReflect.Descriptor instead.
func (*GetHistoryRequest) GetFrom ¶
func (x *GetHistoryRequest) GetFrom() string
func (*GetHistoryRequest) GetMax ¶
func (x *GetHistoryRequest) GetMax() uint64
func (*GetHistoryRequest) ProtoMessage ¶
func (*GetHistoryRequest) ProtoMessage()
func (*GetHistoryRequest) ProtoReflect ¶
func (x *GetHistoryRequest) ProtoReflect() protoreflect.Message
func (*GetHistoryRequest) Reset ¶
func (x *GetHistoryRequest) Reset()
func (*GetHistoryRequest) String ¶
func (x *GetHistoryRequest) String() string
type GetMarkedTxRequest ¶
type GetMarkedTxRequest struct {
Blockchain string `protobuf:"bytes,1,opt,name=blockchain,proto3" json:"blockchain,omitempty"`
Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
// contains filtered or unexported fields
}
func (*GetMarkedTxRequest) Descriptor
deprecated
func (*GetMarkedTxRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMarkedTxRequest.ProtoReflect.Descriptor instead.
func (*GetMarkedTxRequest) GetBlockchain ¶
func (x *GetMarkedTxRequest) GetBlockchain() string
func (*GetMarkedTxRequest) GetHash ¶
func (x *GetMarkedTxRequest) GetHash() string
func (*GetMarkedTxRequest) ProtoMessage ¶
func (*GetMarkedTxRequest) ProtoMessage()
func (*GetMarkedTxRequest) ProtoReflect ¶
func (x *GetMarkedTxRequest) ProtoReflect() protoreflect.Message
func (*GetMarkedTxRequest) Reset ¶
func (x *GetMarkedTxRequest) Reset()
func (*GetMarkedTxRequest) String ¶
func (x *GetMarkedTxRequest) String() string
type GetMarkedTxs ¶
type GetMarkedTxs struct {
Txs []*MarkedTransaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
// contains filtered or unexported fields
}
func (*GetMarkedTxs) Descriptor
deprecated
func (*GetMarkedTxs) Descriptor() ([]byte, []int)
Deprecated: Use GetMarkedTxs.ProtoReflect.Descriptor instead.
func (*GetMarkedTxs) GetTxs ¶
func (x *GetMarkedTxs) GetTxs() []*MarkedTransaction
func (*GetMarkedTxs) ProtoMessage ¶
func (*GetMarkedTxs) ProtoMessage()
func (*GetMarkedTxs) ProtoReflect ¶
func (x *GetMarkedTxs) ProtoReflect() protoreflect.Message
func (*GetMarkedTxs) Reset ¶
func (x *GetMarkedTxs) Reset()
func (*GetMarkedTxs) String ¶
func (x *GetMarkedTxs) String() string
type GetMatchedOrdersResponse ¶
type GetMatchedOrdersResponse struct {
Orders []*MatchedOrderInfo `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
// contains filtered or unexported fields
}
func (*GetMatchedOrdersResponse) Descriptor
deprecated
func (*GetMatchedOrdersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMatchedOrdersResponse.ProtoReflect.Descriptor instead.
func (*GetMatchedOrdersResponse) GetOrders ¶
func (x *GetMatchedOrdersResponse) GetOrders() []*MatchedOrderInfo
func (*GetMatchedOrdersResponse) ProtoMessage ¶
func (*GetMatchedOrdersResponse) ProtoMessage()
func (*GetMatchedOrdersResponse) ProtoReflect ¶
func (x *GetMatchedOrdersResponse) ProtoReflect() protoreflect.Message
func (*GetMatchedOrdersResponse) Reset ¶
func (x *GetMatchedOrdersResponse) Reset()
func (*GetMatchedOrdersResponse) String ¶
func (x *GetMatchedOrdersResponse) String() string
type GetNrgSupplyResponse ¶
type GetNrgSupplyResponse struct {
Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}
func (*GetNrgSupplyResponse) Descriptor
deprecated
func (*GetNrgSupplyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNrgSupplyResponse.ProtoReflect.Descriptor instead.
func (*GetNrgSupplyResponse) GetAmount ¶
func (x *GetNrgSupplyResponse) GetAmount() string
func (*GetNrgSupplyResponse) ProtoMessage ¶
func (*GetNrgSupplyResponse) ProtoMessage()
func (*GetNrgSupplyResponse) ProtoReflect ¶
func (x *GetNrgSupplyResponse) ProtoReflect() protoreflect.Message
func (*GetNrgSupplyResponse) Reset ¶
func (x *GetNrgSupplyResponse) Reset()
func (*GetNrgSupplyResponse) String ¶
func (x *GetNrgSupplyResponse) String() string
type GetOpenOrdersResponse ¶
type GetOpenOrdersResponse struct {
Orders []*MakerOrderInfo `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
// contains filtered or unexported fields
}
func (*GetOpenOrdersResponse) Descriptor
deprecated
func (*GetOpenOrdersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOpenOrdersResponse.ProtoReflect.Descriptor instead.
func (*GetOpenOrdersResponse) GetOrders ¶
func (x *GetOpenOrdersResponse) GetOrders() []*MakerOrderInfo
func (*GetOpenOrdersResponse) ProtoMessage ¶
func (*GetOpenOrdersResponse) ProtoMessage()
func (*GetOpenOrdersResponse) ProtoReflect ¶
func (x *GetOpenOrdersResponse) ProtoReflect() protoreflect.Message
func (*GetOpenOrdersResponse) Reset ¶
func (x *GetOpenOrdersResponse) Reset()
func (*GetOpenOrdersResponse) String ¶
func (x *GetOpenOrdersResponse) String() string
type GetOutPointRequest ¶
type GetOutPointRequest struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
// contains filtered or unexported fields
}
func (*GetOutPointRequest) Descriptor
deprecated
func (*GetOutPointRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOutPointRequest.ProtoReflect.Descriptor instead.
func (*GetOutPointRequest) GetHash ¶
func (x *GetOutPointRequest) GetHash() string
func (*GetOutPointRequest) GetIndex ¶
func (x *GetOutPointRequest) GetIndex() uint32
func (*GetOutPointRequest) ProtoMessage ¶
func (*GetOutPointRequest) ProtoMessage()
func (*GetOutPointRequest) ProtoReflect ¶
func (x *GetOutPointRequest) ProtoReflect() protoreflect.Message
func (*GetOutPointRequest) Reset ¶
func (x *GetOutPointRequest) Reset()
func (*GetOutPointRequest) String ¶
func (x *GetOutPointRequest) String() string
type GetOutPointStatusResponse ¶
type GetOutPointStatusResponse struct {
Unspent bool `protobuf:"varint,1,opt,name=unspent,proto3" json:"unspent,omitempty"`
// contains filtered or unexported fields
}
func (*GetOutPointStatusResponse) Descriptor
deprecated
func (*GetOutPointStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOutPointStatusResponse.ProtoReflect.Descriptor instead.
func (*GetOutPointStatusResponse) GetUnspent ¶
func (x *GetOutPointStatusResponse) GetUnspent() bool
func (*GetOutPointStatusResponse) ProtoMessage ¶
func (*GetOutPointStatusResponse) ProtoMessage()
func (*GetOutPointStatusResponse) ProtoReflect ¶
func (x *GetOutPointStatusResponse) ProtoReflect() protoreflect.Message
func (*GetOutPointStatusResponse) Reset ¶
func (x *GetOutPointStatusResponse) Reset()
func (*GetOutPointStatusResponse) String ¶
func (x *GetOutPointStatusResponse) String() string
type GetRawMempoolResponse ¶
type GetRawMempoolResponse struct {
Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
// contains filtered or unexported fields
}
func (*GetRawMempoolResponse) Descriptor
deprecated
func (*GetRawMempoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRawMempoolResponse.ProtoReflect.Descriptor instead.
func (*GetRawMempoolResponse) GetTransactions ¶
func (x *GetRawMempoolResponse) GetTransactions() []*Transaction
func (*GetRawMempoolResponse) ProtoMessage ¶
func (*GetRawMempoolResponse) ProtoMessage()
func (*GetRawMempoolResponse) ProtoReflect ¶
func (x *GetRawMempoolResponse) ProtoReflect() protoreflect.Message
func (*GetRawMempoolResponse) Reset ¶
func (x *GetRawMempoolResponse) Reset()
func (*GetRawMempoolResponse) String ¶
func (x *GetRawMempoolResponse) String() string
type GetRoveredBlockHashRequest ¶
type GetRoveredBlockHashRequest struct {
Blockchain string `protobuf:"bytes,1,opt,name=blockchain,proto3" json:"blockchain,omitempty"`
Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
// contains filtered or unexported fields
}
func (*GetRoveredBlockHashRequest) Descriptor
deprecated
func (*GetRoveredBlockHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoveredBlockHashRequest.ProtoReflect.Descriptor instead.
func (*GetRoveredBlockHashRequest) GetBlockchain ¶
func (x *GetRoveredBlockHashRequest) GetBlockchain() string
func (*GetRoveredBlockHashRequest) GetHash ¶
func (x *GetRoveredBlockHashRequest) GetHash() string
func (*GetRoveredBlockHashRequest) ProtoMessage ¶
func (*GetRoveredBlockHashRequest) ProtoMessage()
func (*GetRoveredBlockHashRequest) ProtoReflect ¶
func (x *GetRoveredBlockHashRequest) ProtoReflect() protoreflect.Message
func (*GetRoveredBlockHashRequest) Reset ¶
func (x *GetRoveredBlockHashRequest) Reset()
func (*GetRoveredBlockHashRequest) String ¶
func (x *GetRoveredBlockHashRequest) String() string
type GetRoveredBlockHeightRequest ¶
type GetRoveredBlockHeightRequest struct {
Blockchain string `protobuf:"bytes,1,opt,name=blockchain,proto3" json:"blockchain,omitempty"`
Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
func (*GetRoveredBlockHeightRequest) Descriptor
deprecated
func (*GetRoveredBlockHeightRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoveredBlockHeightRequest.ProtoReflect.Descriptor instead.
func (*GetRoveredBlockHeightRequest) GetBlockchain ¶
func (x *GetRoveredBlockHeightRequest) GetBlockchain() string
func (*GetRoveredBlockHeightRequest) GetHeight ¶
func (x *GetRoveredBlockHeightRequest) GetHeight() uint32
func (*GetRoveredBlockHeightRequest) ProtoMessage ¶
func (*GetRoveredBlockHeightRequest) ProtoMessage()
func (*GetRoveredBlockHeightRequest) ProtoReflect ¶
func (x *GetRoveredBlockHeightRequest) ProtoReflect() protoreflect.Message
func (*GetRoveredBlockHeightRequest) Reset ¶
func (x *GetRoveredBlockHeightRequest) Reset()
func (*GetRoveredBlockHeightRequest) String ¶
func (x *GetRoveredBlockHeightRequest) String() string
type GetRoveredBlocksRequest ¶
type GetRoveredBlocksRequest struct {
Blockchain string `protobuf:"bytes,1,opt,name=blockchain,proto3" json:"blockchain,omitempty"`
StartHeight uint32 `protobuf:"varint,2,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"`
EndHeight uint32 `protobuf:"varint,3,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"`
// contains filtered or unexported fields
}
func (*GetRoveredBlocksRequest) Descriptor
deprecated
func (*GetRoveredBlocksRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoveredBlocksRequest.ProtoReflect.Descriptor instead.
func (*GetRoveredBlocksRequest) GetBlockchain ¶
func (x *GetRoveredBlocksRequest) GetBlockchain() string
func (*GetRoveredBlocksRequest) GetEndHeight ¶
func (x *GetRoveredBlocksRequest) GetEndHeight() uint32
func (*GetRoveredBlocksRequest) GetStartHeight ¶
func (x *GetRoveredBlocksRequest) GetStartHeight() uint32
func (*GetRoveredBlocksRequest) ProtoMessage ¶
func (*GetRoveredBlocksRequest) ProtoMessage()
func (*GetRoveredBlocksRequest) ProtoReflect ¶
func (x *GetRoveredBlocksRequest) ProtoReflect() protoreflect.Message
func (*GetRoveredBlocksRequest) Reset ¶
func (x *GetRoveredBlocksRequest) Reset()
func (*GetRoveredBlocksRequest) String ¶
func (x *GetRoveredBlocksRequest) String() string
type GetRoveredBlocksResponse ¶
type GetRoveredBlocksResponse struct {
Blocks []*Block `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"`
// contains filtered or unexported fields
}
func (*GetRoveredBlocksResponse) Descriptor
deprecated
func (*GetRoveredBlocksResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoveredBlocksResponse.ProtoReflect.Descriptor instead.
func (*GetRoveredBlocksResponse) GetBlocks ¶
func (x *GetRoveredBlocksResponse) GetBlocks() []*Block
func (*GetRoveredBlocksResponse) ProtoMessage ¶
func (*GetRoveredBlocksResponse) ProtoMessage()
func (*GetRoveredBlocksResponse) ProtoReflect ¶
func (x *GetRoveredBlocksResponse) ProtoReflect() protoreflect.Message
func (*GetRoveredBlocksResponse) Reset ¶
func (x *GetRoveredBlocksResponse) Reset()
func (*GetRoveredBlocksResponse) String ¶
func (x *GetRoveredBlocksResponse) String() string
type GetSpendableCollateralRequest ¶
type GetSpendableCollateralRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
From uint32 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"`
To uint32 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"`
// contains filtered or unexported fields
}
func (*GetSpendableCollateralRequest) Descriptor
deprecated
func (*GetSpendableCollateralRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSpendableCollateralRequest.ProtoReflect.Descriptor instead.
func (*GetSpendableCollateralRequest) GetAddress ¶
func (x *GetSpendableCollateralRequest) GetAddress() string
func (*GetSpendableCollateralRequest) GetFrom ¶
func (x *GetSpendableCollateralRequest) GetFrom() uint32
func (*GetSpendableCollateralRequest) GetTo ¶
func (x *GetSpendableCollateralRequest) GetTo() uint32
func (*GetSpendableCollateralRequest) ProtoMessage ¶
func (*GetSpendableCollateralRequest) ProtoMessage()
func (*GetSpendableCollateralRequest) ProtoReflect ¶
func (x *GetSpendableCollateralRequest) ProtoReflect() protoreflect.Message
func (*GetSpendableCollateralRequest) Reset ¶
func (x *GetSpendableCollateralRequest) Reset()
func (*GetSpendableCollateralRequest) String ¶
func (x *GetSpendableCollateralRequest) String() string
type GetSpendableCollateralResponse ¶
type GetSpendableCollateralResponse struct {
Outpoints []*OutPoint `protobuf:"bytes,1,rep,name=outpoints,proto3" json:"outpoints,omitempty"`
// contains filtered or unexported fields
}
func (*GetSpendableCollateralResponse) Descriptor
deprecated
func (*GetSpendableCollateralResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSpendableCollateralResponse.ProtoReflect.Descriptor instead.
func (*GetSpendableCollateralResponse) GetOutpoints ¶
func (x *GetSpendableCollateralResponse) GetOutpoints() []*OutPoint
func (*GetSpendableCollateralResponse) ProtoMessage ¶
func (*GetSpendableCollateralResponse) ProtoMessage()
func (*GetSpendableCollateralResponse) ProtoReflect ¶
func (x *GetSpendableCollateralResponse) ProtoReflect() protoreflect.Message
func (*GetSpendableCollateralResponse) Reset ¶
func (x *GetSpendableCollateralResponse) Reset()
func (*GetSpendableCollateralResponse) String ¶
func (x *GetSpendableCollateralResponse) String() string
type GetTradeStatusResponse ¶
type GetTradeStatusResponse struct {
Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*GetTradeStatusResponse) Descriptor
deprecated
func (*GetTradeStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTradeStatusResponse.ProtoReflect.Descriptor instead.
func (*GetTradeStatusResponse) GetStatus ¶
func (x *GetTradeStatusResponse) GetStatus() uint32
func (*GetTradeStatusResponse) ProtoMessage ¶
func (*GetTradeStatusResponse) ProtoMessage()
func (*GetTradeStatusResponse) ProtoReflect ¶
func (x *GetTradeStatusResponse) ProtoReflect() protoreflect.Message
func (*GetTradeStatusResponse) Reset ¶
func (x *GetTradeStatusResponse) Reset()
func (*GetTradeStatusResponse) String ¶
func (x *GetTradeStatusResponse) String() string
type GetTxRequest ¶
type GetTxRequest struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
// contains filtered or unexported fields
}
func (*GetTxRequest) Descriptor
deprecated
func (*GetTxRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTxRequest.ProtoReflect.Descriptor instead.
func (*GetTxRequest) GetHash ¶
func (x *GetTxRequest) GetHash() string
func (*GetTxRequest) ProtoMessage ¶
func (*GetTxRequest) ProtoMessage()
func (*GetTxRequest) ProtoReflect ¶
func (x *GetTxRequest) ProtoReflect() protoreflect.Message
func (*GetTxRequest) Reset ¶
func (x *GetTxRequest) Reset()
func (*GetTxRequest) String ¶
func (x *GetTxRequest) String() string
type GetUnlockTakerTxParamsRequest ¶
type GetUnlockTakerTxParamsRequest struct {
TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
TxOutputIndex uint32 `protobuf:"varint,2,opt,name=tx_output_index,json=txOutputIndex,proto3" json:"tx_output_index,omitempty"`
// contains filtered or unexported fields
}
func (*GetUnlockTakerTxParamsRequest) Descriptor
deprecated
func (*GetUnlockTakerTxParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUnlockTakerTxParamsRequest.ProtoReflect.Descriptor instead.
func (*GetUnlockTakerTxParamsRequest) GetTxHash ¶
func (x *GetUnlockTakerTxParamsRequest) GetTxHash() string
func (*GetUnlockTakerTxParamsRequest) GetTxOutputIndex ¶
func (x *GetUnlockTakerTxParamsRequest) GetTxOutputIndex() uint32
func (*GetUnlockTakerTxParamsRequest) ProtoMessage ¶
func (*GetUnlockTakerTxParamsRequest) ProtoMessage()
func (*GetUnlockTakerTxParamsRequest) ProtoReflect ¶
func (x *GetUnlockTakerTxParamsRequest) ProtoReflect() protoreflect.Message
func (*GetUnlockTakerTxParamsRequest) Reset ¶
func (x *GetUnlockTakerTxParamsRequest) Reset()
func (*GetUnlockTakerTxParamsRequest) String ¶
func (x *GetUnlockTakerTxParamsRequest) String() string
type GetUnlockTakerTxParamsResponse ¶
type GetUnlockTakerTxParamsResponse struct {
UnlockScripts []string `protobuf:"bytes,1,rep,name=unlock_scripts,json=unlockScripts,proto3" json:"unlock_scripts,omitempty"`
ValueInTx []byte `protobuf:"bytes,2,opt,name=value_in_tx,json=valueInTx,proto3" json:"value_in_tx,omitempty"`
// contains filtered or unexported fields
}
func (*GetUnlockTakerTxParamsResponse) Descriptor
deprecated
func (*GetUnlockTakerTxParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUnlockTakerTxParamsResponse.ProtoReflect.Descriptor instead.
func (*GetUnlockTakerTxParamsResponse) GetUnlockScripts ¶
func (x *GetUnlockTakerTxParamsResponse) GetUnlockScripts() []string
func (*GetUnlockTakerTxParamsResponse) GetValueInTx ¶
func (x *GetUnlockTakerTxParamsResponse) GetValueInTx() []byte
func (*GetUnlockTakerTxParamsResponse) ProtoMessage ¶
func (*GetUnlockTakerTxParamsResponse) ProtoMessage()
func (*GetUnlockTakerTxParamsResponse) ProtoReflect ¶
func (x *GetUnlockTakerTxParamsResponse) ProtoReflect() protoreflect.Message
func (*GetUnlockTakerTxParamsResponse) Reset ¶
func (x *GetUnlockTakerTxParamsResponse) Reset()
func (*GetUnlockTakerTxParamsResponse) String ¶
func (x *GetUnlockTakerTxParamsResponse) String() string
type GetUtxoLengthRequest ¶
type GetUtxoLengthRequest struct {
ScriptType string `protobuf:"bytes,1,opt,name=script_type,json=scriptType,proto3" json:"script_type,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
func (*GetUtxoLengthRequest) Descriptor
deprecated
func (*GetUtxoLengthRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUtxoLengthRequest.ProtoReflect.Descriptor instead.
func (*GetUtxoLengthRequest) GetAddress ¶
func (x *GetUtxoLengthRequest) GetAddress() string
func (*GetUtxoLengthRequest) GetScriptType ¶
func (x *GetUtxoLengthRequest) GetScriptType() string
func (*GetUtxoLengthRequest) ProtoMessage ¶
func (*GetUtxoLengthRequest) ProtoMessage()
func (*GetUtxoLengthRequest) ProtoReflect ¶
func (x *GetUtxoLengthRequest) ProtoReflect() protoreflect.Message
func (*GetUtxoLengthRequest) Reset ¶
func (x *GetUtxoLengthRequest) Reset()
func (*GetUtxoLengthRequest) String ¶
func (x *GetUtxoLengthRequest) String() string
type GetUtxoLengthResponse ¶
type GetUtxoLengthResponse struct {
Length uint32 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"`
// contains filtered or unexported fields
}
func (*GetUtxoLengthResponse) Descriptor
deprecated
func (*GetUtxoLengthResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUtxoLengthResponse.ProtoReflect.Descriptor instead.
func (*GetUtxoLengthResponse) GetLength ¶
func (x *GetUtxoLengthResponse) GetLength() uint32
func (*GetUtxoLengthResponse) ProtoMessage ¶
func (*GetUtxoLengthResponse) ProtoMessage()
func (*GetUtxoLengthResponse) ProtoReflect ¶
func (x *GetUtxoLengthResponse) ProtoReflect() protoreflect.Message
func (*GetUtxoLengthResponse) Reset ¶
func (x *GetUtxoLengthResponse) Reset()
func (*GetUtxoLengthResponse) String ¶
func (x *GetUtxoLengthResponse) String() string
type GetUtxosRequest ¶
type GetUtxosRequest struct {
ScriptType string `protobuf:"bytes,1,opt,name=script_type,json=scriptType,proto3" json:"script_type,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
// contains filtered or unexported fields
}
func (*GetUtxosRequest) Descriptor
deprecated
func (*GetUtxosRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUtxosRequest.ProtoReflect.Descriptor instead.
func (*GetUtxosRequest) GetAddress ¶
func (x *GetUtxosRequest) GetAddress() string
func (*GetUtxosRequest) GetFrom ¶
func (x *GetUtxosRequest) GetFrom() string
func (*GetUtxosRequest) GetScriptType ¶
func (x *GetUtxosRequest) GetScriptType() string
func (*GetUtxosRequest) GetTo ¶
func (x *GetUtxosRequest) GetTo() string
func (*GetUtxosRequest) ProtoMessage ¶
func (*GetUtxosRequest) ProtoMessage()
func (*GetUtxosRequest) ProtoReflect ¶
func (x *GetUtxosRequest) ProtoReflect() protoreflect.Message
func (*GetUtxosRequest) Reset ¶
func (x *GetUtxosRequest) Reset()
func (*GetUtxosRequest) String ¶
func (x *GetUtxosRequest) String() string
type HelpResponse ¶
type HelpResponse struct {
HelpText string `protobuf:"bytes,1,opt,name=help_text,json=helpText,proto3" json:"help_text,omitempty"`
// contains filtered or unexported fields
}
func (*HelpResponse) Descriptor
deprecated
func (*HelpResponse) Descriptor() ([]byte, []int)
Deprecated: Use HelpResponse.ProtoReflect.Descriptor instead.
func (*HelpResponse) GetHelpText ¶
func (x *HelpResponse) GetHelpText() string
func (*HelpResponse) ProtoMessage ¶
func (*HelpResponse) ProtoMessage()
func (*HelpResponse) ProtoReflect ¶
func (x *HelpResponse) ProtoReflect() protoreflect.Message
func (*HelpResponse) Reset ¶
func (x *HelpResponse) Reset()
func (*HelpResponse) String ¶
func (x *HelpResponse) String() string
type InitialPeer ¶
type InitialPeer struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Expires uint64 `protobuf:"varint,2,opt,name=expires,proto3" json:"expires,omitempty"`
// contains filtered or unexported fields
}
func (*InitialPeer) Descriptor
deprecated
func (*InitialPeer) Descriptor() ([]byte, []int)
Deprecated: Use InitialPeer.ProtoReflect.Descriptor instead.
func (*InitialPeer) GetAddress ¶
func (x *InitialPeer) GetAddress() string
func (*InitialPeer) GetExpires ¶
func (x *InitialPeer) GetExpires() uint64
func (*InitialPeer) ProtoMessage ¶
func (*InitialPeer) ProtoMessage()
func (*InitialPeer) ProtoReflect ¶
func (x *InitialPeer) ProtoReflect() protoreflect.Message
func (*InitialPeer) Reset ¶
func (x *InitialPeer) Reset()
func (*InitialPeer) String ¶
func (x *InitialPeer) String() string
type InitialPeerEvents ¶
type InitialPeerEvents struct {
// contains filtered or unexported fields
}
func (*InitialPeerEvents) Descriptor
deprecated
func (*InitialPeerEvents) Descriptor() ([]byte, []int)
Deprecated: Use InitialPeerEvents.ProtoReflect.Descriptor instead.
func (*InitialPeerEvents) ProtoMessage ¶
func (*InitialPeerEvents) ProtoMessage()
func (*InitialPeerEvents) ProtoReflect ¶
func (x *InitialPeerEvents) ProtoReflect() protoreflect.Message
func (*InitialPeerEvents) Reset ¶
func (x *InitialPeerEvents) Reset()
func (*InitialPeerEvents) String ¶
func (x *InitialPeerEvents) String() string
type MakerOrderInfo ¶
type MakerOrderInfo struct {
TradeHeight uint64 `protobuf:"varint,1,opt,name=trade_height,json=tradeHeight,proto3" json:"trade_height,omitempty"`
Deposit uint64 `protobuf:"varint,2,opt,name=deposit,proto3" json:"deposit,omitempty"`
Settlement uint64 `protobuf:"varint,3,opt,name=settlement,proto3" json:"settlement,omitempty"`
ShiftMaker uint64 `protobuf:"varint,4,opt,name=shift_maker,json=shiftMaker,proto3" json:"shift_maker,omitempty"`
ShiftTaker uint64 `protobuf:"varint,5,opt,name=shift_taker,json=shiftTaker,proto3" json:"shift_taker,omitempty"`
SendsFromChain string `protobuf:"bytes,6,opt,name=sends_from_chain,json=sendsFromChain,proto3" json:"sends_from_chain,omitempty"`
ReceivesToChain string `protobuf:"bytes,7,opt,name=receives_to_chain,json=receivesToChain,proto3" json:"receives_to_chain,omitempty"`
SendsFromAddress string `protobuf:"bytes,8,opt,name=sends_from_address,json=sendsFromAddress,proto3" json:"sends_from_address,omitempty"`
ReceivesToAddress string `protobuf:"bytes,9,opt,name=receives_to_address,json=receivesToAddress,proto3" json:"receives_to_address,omitempty"`
SendsUnit string `protobuf:"bytes,10,opt,name=sends_unit,json=sendsUnit,proto3" json:"sends_unit,omitempty"`
ReceivesUnit string `protobuf:"bytes,11,opt,name=receives_unit,json=receivesUnit,proto3" json:"receives_unit,omitempty"`
DoubleHashedBcAddress string `` /* 129-byte string literal not displayed */
CollateralizedNrg string `protobuf:"bytes,13,opt,name=collateralized_nrg,json=collateralizedNrg,proto3" json:"collateralized_nrg,omitempty"`
OriginalNrg string `protobuf:"bytes,14,opt,name=original_nrg,json=originalNrg,proto3" json:"original_nrg,omitempty"`
NrgUnit string `protobuf:"bytes,15,opt,name=nrg_unit,json=nrgUnit,proto3" json:"nrg_unit,omitempty"`
TxHash string `protobuf:"bytes,16,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
TxOutputIndex uint32 `protobuf:"varint,17,opt,name=tx_output_index,json=txOutputIndex,proto3" json:"tx_output_index,omitempty"`
IsSettled bool `protobuf:"varint,18,opt,name=is_settled,json=isSettled,proto3" json:"is_settled,omitempty"`
FixedUnitFee string `protobuf:"bytes,19,opt,name=fixed_unit_fee,json=fixedUnitFee,proto3" json:"fixed_unit_fee,omitempty"`
Base uint32 `protobuf:"varint,20,opt,name=base,proto3" json:"base,omitempty"`
// contains filtered or unexported fields
}
func (*MakerOrderInfo) Descriptor
deprecated
func (*MakerOrderInfo) Descriptor() ([]byte, []int)
Deprecated: Use MakerOrderInfo.ProtoReflect.Descriptor instead.
func (*MakerOrderInfo) GetBase ¶
func (x *MakerOrderInfo) GetBase() uint32
func (*MakerOrderInfo) GetCollateralizedNrg ¶
func (x *MakerOrderInfo) GetCollateralizedNrg() string
func (*MakerOrderInfo) GetDeposit ¶
func (x *MakerOrderInfo) GetDeposit() uint64
func (*MakerOrderInfo) GetDoubleHashedBcAddress ¶
func (x *MakerOrderInfo) GetDoubleHashedBcAddress() string
func (*MakerOrderInfo) GetFixedUnitFee ¶
func (x *MakerOrderInfo) GetFixedUnitFee() string
func (*MakerOrderInfo) GetIsSettled ¶
func (x *MakerOrderInfo) GetIsSettled() bool
func (*MakerOrderInfo) GetNrgUnit ¶
func (x *MakerOrderInfo) GetNrgUnit() string
func (*MakerOrderInfo) GetOriginalNrg ¶
func (x *MakerOrderInfo) GetOriginalNrg() string
func (*MakerOrderInfo) GetReceivesToAddress ¶
func (x *MakerOrderInfo) GetReceivesToAddress() string
func (*MakerOrderInfo) GetReceivesToChain ¶
func (x *MakerOrderInfo) GetReceivesToChain() string
func (*MakerOrderInfo) GetReceivesUnit ¶
func (x *MakerOrderInfo) GetReceivesUnit() string
func (*MakerOrderInfo) GetSendsFromAddress ¶
func (x *MakerOrderInfo) GetSendsFromAddress() string
func (*MakerOrderInfo) GetSendsFromChain ¶
func (x *MakerOrderInfo) GetSendsFromChain() string
func (*MakerOrderInfo) GetSendsUnit ¶
func (x *MakerOrderInfo) GetSendsUnit() string
func (*MakerOrderInfo) GetSettlement ¶
func (x *MakerOrderInfo) GetSettlement() uint64
func (*MakerOrderInfo) GetShiftMaker ¶
func (x *MakerOrderInfo) GetShiftMaker() uint64
func (*MakerOrderInfo) GetShiftTaker ¶
func (x *MakerOrderInfo) GetShiftTaker() uint64
func (*MakerOrderInfo) GetTradeHeight ¶
func (x *MakerOrderInfo) GetTradeHeight() uint64
func (*MakerOrderInfo) GetTxHash ¶
func (x *MakerOrderInfo) GetTxHash() string
func (*MakerOrderInfo) GetTxOutputIndex ¶
func (x *MakerOrderInfo) GetTxOutputIndex() uint32
func (*MakerOrderInfo) ProtoMessage ¶
func (*MakerOrderInfo) ProtoMessage()
func (*MakerOrderInfo) ProtoReflect ¶
func (x *MakerOrderInfo) ProtoReflect() protoreflect.Message
func (*MakerOrderInfo) Reset ¶
func (x *MakerOrderInfo) Reset()
func (*MakerOrderInfo) String ¶
func (x *MakerOrderInfo) String() string
type MarkedTransaction ¶
type MarkedTransaction struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // the unique hash representing this transaction in the bridged chain
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // TODO: add blockchain / dataset identification field, 'eth', 'btc', ....
Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` // chains smart contract address, not BC
AddrFrom string `protobuf:"bytes,5,opt,name=addr_from,json=addrFrom,proto3" json:"addr_from,omitempty"` // bridged chains address, not BC
AddrTo string `protobuf:"bytes,6,opt,name=addr_to,json=addrTo,proto3" json:"addr_to,omitempty"` // bridged chains address, not BC
BlockHeight uint64 `protobuf:"varint,7,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // the block number in the bridged chain containing this transaction
Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` // the position relative to other marked transactions
BlockHash string `protobuf:"bytes,9,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // the block in which the marked transaction was stored, not BC, format of bridged chain
// contains filtered or unexported fields
}
func (*MarkedTransaction) Descriptor
deprecated
func (*MarkedTransaction) Descriptor() ([]byte, []int)
Deprecated: Use MarkedTransaction.ProtoReflect.Descriptor instead.
func (*MarkedTransaction) GetAddrFrom ¶
func (x *MarkedTransaction) GetAddrFrom() string
func (*MarkedTransaction) GetAddrTo ¶
func (x *MarkedTransaction) GetAddrTo() string
func (*MarkedTransaction) GetBlockHash ¶
func (x *MarkedTransaction) GetBlockHash() string
func (*MarkedTransaction) GetBlockHeight ¶
func (x *MarkedTransaction) GetBlockHeight() uint64
func (*MarkedTransaction) GetHash ¶
func (x *MarkedTransaction) GetHash() string
func (*MarkedTransaction) GetId ¶
func (x *MarkedTransaction) GetId() string
func (*MarkedTransaction) GetIndex ¶
func (x *MarkedTransaction) GetIndex() uint64
func (*MarkedTransaction) GetToken ¶
func (x *MarkedTransaction) GetToken() string
func (*MarkedTransaction) GetValue ¶
func (x *MarkedTransaction) GetValue() []byte
func (*MarkedTransaction) ProtoMessage ¶
func (*MarkedTransaction) ProtoMessage()
func (*MarkedTransaction) ProtoReflect ¶
func (x *MarkedTransaction) ProtoReflect() protoreflect.Message
func (*MarkedTransaction) Reset ¶
func (x *MarkedTransaction) Reset()
func (*MarkedTransaction) String ¶
func (x *MarkedTransaction) String() string
type MarkedTxsReq ¶
type MarkedTxsReq struct {
MarkedTransactions []*MarkedTransaction `protobuf:"bytes,1,rep,name=marked_transactions,json=markedTransactions,proto3" json:"marked_transactions,omitempty"`
BlockHash string `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
Blockchain string `protobuf:"bytes,3,opt,name=blockchain,proto3" json:"blockchain,omitempty"`
// contains filtered or unexported fields
}
func (*MarkedTxsReq) Descriptor
deprecated
func (*MarkedTxsReq) Descriptor() ([]byte, []int)
Deprecated: Use MarkedTxsReq.ProtoReflect.Descriptor instead.
func (*MarkedTxsReq) GetBlockHash ¶
func (x *MarkedTxsReq) GetBlockHash() string
func (*MarkedTxsReq) GetBlockchain ¶
func (x *MarkedTxsReq) GetBlockchain() string
func (*MarkedTxsReq) GetMarkedTransactions ¶
func (x *MarkedTxsReq) GetMarkedTransactions() []*MarkedTransaction
func (*MarkedTxsReq) ProtoMessage ¶
func (*MarkedTxsReq) ProtoMessage()
func (*MarkedTxsReq) ProtoReflect ¶
func (x *MarkedTxsReq) ProtoReflect() protoreflect.Message
func (*MarkedTxsReq) Reset ¶
func (x *MarkedTxsReq) Reset()
func (*MarkedTxsReq) String ¶
func (x *MarkedTxsReq) String() string
type MatchedOrderInfo ¶
type MatchedOrderInfo struct {
Maker *MakerOrderInfo `protobuf:"bytes,1,opt,name=maker,proto3" json:"maker,omitempty"`
Taker *TakerOrderInfo `protobuf:"bytes,2,opt,name=taker,proto3" json:"taker,omitempty"`
Unlocked bool `protobuf:"varint,7,opt,name=unlocked,proto3" json:"unlocked,omitempty"`
// contains filtered or unexported fields
}
func (*MatchedOrderInfo) Descriptor
deprecated
func (*MatchedOrderInfo) Descriptor() ([]byte, []int)
Deprecated: Use MatchedOrderInfo.ProtoReflect.Descriptor instead.
func (*MatchedOrderInfo) GetMaker ¶
func (x *MatchedOrderInfo) GetMaker() *MakerOrderInfo
func (*MatchedOrderInfo) GetTaker ¶
func (x *MatchedOrderInfo) GetTaker() *TakerOrderInfo
func (*MatchedOrderInfo) GetUnlocked ¶
func (x *MatchedOrderInfo) GetUnlocked() bool
func (*MatchedOrderInfo) ProtoMessage ¶
func (*MatchedOrderInfo) ProtoMessage()
func (*MatchedOrderInfo) ProtoReflect ¶
func (x *MatchedOrderInfo) ProtoReflect() protoreflect.Message
func (*MatchedOrderInfo) Reset ¶
func (x *MatchedOrderInfo) Reset()
func (*MatchedOrderInfo) String ¶
func (x *MatchedOrderInfo) String() string
type MessageGetObjectsRequest ¶
type MessageGetObjectsRequest struct {
Type MsgType `protobuf:"varint,1,opt,name=type,proto3,enum=MsgType" json:"type,omitempty"`
Body ObjType `protobuf:"varint,2,opt,name=body,proto3,enum=ObjType" json:"body,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MessageGetObjectsRequest) Descriptor ¶
func (*MessageGetObjectsRequest) Descriptor() ([]byte, []int)
func (*MessageGetObjectsRequest) GetBody ¶
func (m *MessageGetObjectsRequest) GetBody() ObjType
func (*MessageGetObjectsRequest) GetType ¶
func (m *MessageGetObjectsRequest) GetType() MsgType
func (*MessageGetObjectsRequest) ProtoMessage ¶
func (*MessageGetObjectsRequest) ProtoMessage()
func (*MessageGetObjectsRequest) Reset ¶
func (m *MessageGetObjectsRequest) Reset()
func (*MessageGetObjectsRequest) String ¶
func (m *MessageGetObjectsRequest) String() string
func (*MessageGetObjectsRequest) XXX_DiscardUnknown ¶
func (m *MessageGetObjectsRequest) XXX_DiscardUnknown()
func (*MessageGetObjectsRequest) XXX_Marshal ¶
func (m *MessageGetObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageGetObjectsRequest) XXX_Merge ¶
func (m *MessageGetObjectsRequest) XXX_Merge(src proto.Message)
func (*MessageGetObjectsRequest) XXX_Size ¶
func (m *MessageGetObjectsRequest) XXX_Size() int
func (*MessageGetObjectsRequest) XXX_Unmarshal ¶
func (m *MessageGetObjectsRequest) XXX_Unmarshal(b []byte) error
type MinerClient ¶
type MinerClient interface {
Mine(ctx context.Context, in *MinerRequest, opts ...grpc.CallOption) (*MinerResponse, error)
}
MinerClient is the client API for Miner service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMinerClient ¶
func NewMinerClient(cc grpc.ClientConnInterface) MinerClient
type MinerRequest ¶
type MinerRequest struct {
WorkId string `protobuf:"bytes,1,opt,name=work_id,json=workId,proto3" json:"work_id,omitempty"`
CurrentTimestamp uint64 `protobuf:"varint,2,opt,name=current_timestamp,json=currentTimestamp,proto3" json:"current_timestamp,omitempty"`
Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
Work string `protobuf:"bytes,4,opt,name=work,proto3" json:"work,omitempty"`
MinerKey string `protobuf:"bytes,5,opt,name=miner_key,json=minerKey,proto3" json:"miner_key,omitempty"`
MerkleRoot string `protobuf:"bytes,6,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
Difficulty string `protobuf:"bytes,7,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
LastPreviousBlock *BcBlock `protobuf:"bytes,8,opt,name=last_previous_block,json=lastPreviousBlock,proto3" json:"last_previous_block,omitempty"`
NewBlockHeaders *BlockchainHeaders `protobuf:"bytes,9,opt,name=new_block_headers,json=newBlockHeaders,proto3" json:"new_block_headers,omitempty"`
// contains filtered or unexported fields
}
Miner block input
func (*MinerRequest) Descriptor
deprecated
func (*MinerRequest) Descriptor() ([]byte, []int)
Deprecated: Use MinerRequest.ProtoReflect.Descriptor instead.
func (*MinerRequest) GetCurrentTimestamp ¶
func (x *MinerRequest) GetCurrentTimestamp() uint64
func (*MinerRequest) GetDifficulty ¶
func (x *MinerRequest) GetDifficulty() string
func (*MinerRequest) GetLastPreviousBlock ¶
func (x *MinerRequest) GetLastPreviousBlock() *BcBlock
func (*MinerRequest) GetMerkleRoot ¶
func (x *MinerRequest) GetMerkleRoot() string
func (*MinerRequest) GetMinerKey ¶
func (x *MinerRequest) GetMinerKey() string
func (*MinerRequest) GetNewBlockHeaders ¶
func (x *MinerRequest) GetNewBlockHeaders() *BlockchainHeaders
func (*MinerRequest) GetOffset ¶
func (x *MinerRequest) GetOffset() int32
func (*MinerRequest) GetWork ¶
func (x *MinerRequest) GetWork() string
func (*MinerRequest) GetWorkId ¶
func (x *MinerRequest) GetWorkId() string
func (*MinerRequest) ProtoMessage ¶
func (*MinerRequest) ProtoMessage()
func (*MinerRequest) ProtoReflect ¶
func (x *MinerRequest) ProtoReflect() protoreflect.Message
func (*MinerRequest) Reset ¶
func (x *MinerRequest) Reset()
func (*MinerRequest) String ¶
func (x *MinerRequest) String() string
type MinerResponse ¶
type MinerResponse struct {
Result MinerResponseResult `protobuf:"varint,1,opt,name=result,proto3,enum=bc.miner.MinerResponseResult" json:"result,omitempty"`
Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
Difficulty string `protobuf:"bytes,3,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
Distance string `protobuf:"bytes,4,opt,name=distance,proto3" json:"distance,omitempty"`
Timestamp uint64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Iterations uint64 `protobuf:"varint,6,opt,name=iterations,proto3" json:"iterations,omitempty"`
TimeDiff uint64 `protobuf:"varint,7,opt,name=time_diff,json=timeDiff,proto3" json:"time_diff,omitempty"`
// contains filtered or unexported fields
}
Miner block output
func (*MinerResponse) Descriptor
deprecated
func (*MinerResponse) Descriptor() ([]byte, []int)
Deprecated: Use MinerResponse.ProtoReflect.Descriptor instead.
func (*MinerResponse) GetDifficulty ¶
func (x *MinerResponse) GetDifficulty() string
func (*MinerResponse) GetDistance ¶
func (x *MinerResponse) GetDistance() string
func (*MinerResponse) GetIterations ¶
func (x *MinerResponse) GetIterations() uint64
func (*MinerResponse) GetNonce ¶
func (x *MinerResponse) GetNonce() string
func (*MinerResponse) GetResult ¶
func (x *MinerResponse) GetResult() MinerResponseResult
func (*MinerResponse) GetTimeDiff ¶
func (x *MinerResponse) GetTimeDiff() uint64
func (*MinerResponse) GetTimestamp ¶
func (x *MinerResponse) GetTimestamp() uint64
func (*MinerResponse) ProtoMessage ¶
func (*MinerResponse) ProtoMessage()
func (*MinerResponse) ProtoReflect ¶
func (x *MinerResponse) ProtoReflect() protoreflect.Message
func (*MinerResponse) Reset ¶
func (x *MinerResponse) Reset()
func (*MinerResponse) String ¶
func (x *MinerResponse) String() string
type MinerResponseResult ¶
type MinerResponseResult int32
const ( MinerResponseResult_Canceled MinerResponseResult = 0 MinerResponseResult_Ok MinerResponseResult = 1 MinerResponseResult_Error MinerResponseResult = 2 )
func (MinerResponseResult) Descriptor ¶
func (MinerResponseResult) Descriptor() protoreflect.EnumDescriptor
func (MinerResponseResult) Enum ¶
func (x MinerResponseResult) Enum() *MinerResponseResult
func (MinerResponseResult) EnumDescriptor
deprecated
func (MinerResponseResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use MinerResponseResult.Descriptor instead.
func (MinerResponseResult) Number ¶
func (x MinerResponseResult) Number() protoreflect.EnumNumber
func (MinerResponseResult) String ¶
func (x MinerResponseResult) String() string
func (MinerResponseResult) Type ¶
func (MinerResponseResult) Type() protoreflect.EnumType
type MinerServer ¶
type MinerServer interface {
Mine(context.Context, *MinerRequest) (*MinerResponse, error)
// contains filtered or unexported methods
}
MinerServer is the server API for Miner service. All implementations must embed UnimplementedMinerServer for forward compatibility
type MsgType ¶
type MsgType int32
const (
MsgType_GetObjectsRequest MsgType = 0
)
func (MsgType) EnumDescriptor ¶
type Null ¶
type Null struct {
// contains filtered or unexported fields
}
func (*Null) Descriptor
deprecated
func (*Null) ProtoMessage ¶
func (*Null) ProtoMessage()
func (*Null) ProtoReflect ¶
func (x *Null) ProtoReflect() protoreflect.Message
type ObjType ¶
type ObjType int32
const ( ObjType_BlockHeaders ObjType = 0 ObjType_BlockBodies ObjType = 1 ObjType_BlockTransactions ObjType = 2 ObjType_RoverBestHeights ObjType = 3 ObjType_RoverBlockHeaders ObjType = 4 ObjType_RoverBlockBodies ObjType = 5 ObjType_RoverTransactionHeaders ObjType = 6 ObjType_RoverMarkedHeaders ObjType = 7 )
func (ObjType) EnumDescriptor ¶
type OutPoint ¶
type OutPoint struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
// contains filtered or unexported fields
}
func (*OutPoint) Descriptor
deprecated
func (*OutPoint) ProtoMessage ¶
func (*OutPoint) ProtoMessage()
func (*OutPoint) ProtoReflect ¶
func (x *OutPoint) ProtoReflect() protoreflect.Message
type PutConfig ¶
type PutConfig struct {
Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Admin bool `protobuf:"varint,2,opt,name=admin,proto3" json:"admin,omitempty"` // indicates if this is an admin only configuration update
SecureSignature string `protobuf:"bytes,3,opt,name=secure_signature,json=secureSignature,proto3" json:"secure_signature,omitempty"` // signature of message and update services public key of admin (if admin is true) otherwise public key of group
Services []*PutService `protobuf:"bytes,4,rep,name=services,proto3" json:"services,omitempty"`
// contains filtered or unexported fields
}
func (*PutConfig) Descriptor
deprecated
func (*PutConfig) GetSecureSignature ¶
func (*PutConfig) GetServices ¶
func (x *PutConfig) GetServices() []*PutService
func (*PutConfig) GetVersion ¶
func (*PutConfig) ProtoMessage ¶
func (*PutConfig) ProtoMessage()
func (*PutConfig) ProtoReflect ¶
func (x *PutConfig) ProtoReflect() protoreflect.Message
type PutService ¶
type PutService struct {
Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // universal id of service for OVerline compatability
Pid string `protobuf:"bytes,3,opt,name=pid,proto3" json:"pid,omitempty"` // provisioned id
Encrypted bool `protobuf:"varint,4,opt,name=encrypted,proto3" json:"encrypted,omitempty"` // data is encrypted (likely provision update)
Text string `protobuf:"bytes,5,opt,name=text,proto3" json:"text,omitempty"` // empty unless service update is in progress
Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` // empty unless service update is in progress
// contains filtered or unexported fields
}
Update Service: over-the-air OP_X update Update Service: provision / authentication module Update Service: enable hardware functionality Update Service: data update
func (*PutService) Descriptor
deprecated
func (*PutService) Descriptor() ([]byte, []int)
Deprecated: Use PutService.ProtoReflect.Descriptor instead.
func (*PutService) GetData ¶
func (x *PutService) GetData() []byte
func (*PutService) GetEncrypted ¶
func (x *PutService) GetEncrypted() bool
func (*PutService) GetPid ¶
func (x *PutService) GetPid() string
func (*PutService) GetText ¶
func (x *PutService) GetText() string
func (*PutService) GetUuid ¶
func (x *PutService) GetUuid() string
func (*PutService) GetVersion ¶
func (x *PutService) GetVersion() uint64
func (*PutService) ProtoMessage ¶
func (*PutService) ProtoMessage()
func (*PutService) ProtoReflect ¶
func (x *PutService) ProtoReflect() protoreflect.Message
func (*PutService) Reset ¶
func (x *PutService) Reset()
func (*PutService) String ¶
func (x *PutService) String() string
type QueuedMarkedTxsResponse ¶
type QueuedMarkedTxsResponse struct {
MarkedTransactions []*MarkedTransaction `protobuf:"bytes,1,rep,name=marked_transactions,json=markedTransactions,proto3" json:"marked_transactions,omitempty"`
BlockHash string `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
// contains filtered or unexported fields
}
func (*QueuedMarkedTxsResponse) Descriptor
deprecated
func (*QueuedMarkedTxsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueuedMarkedTxsResponse.ProtoReflect.Descriptor instead.
func (*QueuedMarkedTxsResponse) GetBlockHash ¶
func (x *QueuedMarkedTxsResponse) GetBlockHash() string
func (*QueuedMarkedTxsResponse) GetMarkedTransactions ¶
func (x *QueuedMarkedTxsResponse) GetMarkedTransactions() []*MarkedTransaction
func (*QueuedMarkedTxsResponse) ProtoMessage ¶
func (*QueuedMarkedTxsResponse) ProtoMessage()
func (*QueuedMarkedTxsResponse) ProtoReflect ¶
func (x *QueuedMarkedTxsResponse) ProtoReflect() protoreflect.Message
func (*QueuedMarkedTxsResponse) Reset ¶
func (x *QueuedMarkedTxsResponse) Reset()
func (*QueuedMarkedTxsResponse) String ¶
func (x *QueuedMarkedTxsResponse) String() string
type Record ¶
type Record struct {
Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
Port uint64 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
LastSeen uint64 `protobuf:"varint,4,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // numeral date of when peer was last seen
LastSeenHash string `protobuf:"bytes,5,opt,name=last_seen_hash,json=lastSeenHash,proto3" json:"last_seen_hash,omitempty"` // optional last block hash
// contains filtered or unexported fields
}
func (*Record) Descriptor
deprecated
func (*Record) GetLastSeen ¶
func (*Record) GetLastSeenHash ¶
func (*Record) GetVersion ¶
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) ProtoReflect ¶
func (x *Record) ProtoReflect() protoreflect.Message
type RoverClient ¶
type RoverClient interface {
// Sends a greeting
Join(ctx context.Context, in *RoverIdent, opts ...grpc.CallOption) (Rover_JoinClient, error)
// Rovers sends block collected from the respective network
CollectBlock(ctx context.Context, opts ...grpc.CallOption) (Rover_CollectBlockClient, error)
// Rover reports back sync status
ReportSyncStatus(ctx context.Context, in *RoverSyncStatus, opts ...grpc.CallOption) (*Null, error)
// Rover submits block range
ReportBlockRange(ctx context.Context, in *RoverMessage_RoverBlockRange, opts ...grpc.CallOption) (*Null, error)
// Check is TX reciveved in rover is watched and before settlement height
IsBeforeSettleHeight(ctx context.Context, in *SettleTxCheckReq, opts ...grpc.CallOption) (*SettleTxCheckResponse, error)
// check if any marked txs have been queued
GetQueuedMarkedTxs(ctx context.Context, in *MarkedTxsReq, opts ...grpc.CallOption) (*QueuedMarkedTxsResponse, error)
}
RoverClient is the client API for Rover service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRoverClient ¶
func NewRoverClient(cc grpc.ClientConnInterface) RoverClient
type RoverIdent ¶
type RoverIdent struct {
RoverName string `protobuf:"bytes,1,opt,name=rover_name,json=roverName,proto3" json:"rover_name,omitempty"`
// contains filtered or unexported fields
}
func (*RoverIdent) Descriptor
deprecated
func (*RoverIdent) Descriptor() ([]byte, []int)
Deprecated: Use RoverIdent.ProtoReflect.Descriptor instead.
func (*RoverIdent) GetRoverName ¶
func (x *RoverIdent) GetRoverName() string
func (*RoverIdent) ProtoMessage ¶
func (*RoverIdent) ProtoMessage()
func (*RoverIdent) ProtoReflect ¶
func (x *RoverIdent) ProtoReflect() protoreflect.Message
func (*RoverIdent) Reset ¶
func (x *RoverIdent) Reset()
func (*RoverIdent) String ¶
func (x *RoverIdent) String() string
type RoverMessage ¶
type RoverMessage struct {
Type RoverMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=bc.rover.RoverMessageType" json:"type,omitempty"`
// Types that are assignable to Payload:
// *RoverMessage_Resync_
// *RoverMessage_FetchBlock_
// *RoverMessage_RoverBlockRange_
// *RoverMessage_LatestBlock_
Payload isRoverMessage_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
func (*RoverMessage) Descriptor
deprecated
func (*RoverMessage) Descriptor() ([]byte, []int)
Deprecated: Use RoverMessage.ProtoReflect.Descriptor instead.
func (*RoverMessage) GetFetchBlock ¶
func (x *RoverMessage) GetFetchBlock() *RoverMessage_FetchBlock
func (*RoverMessage) GetLatestBlock ¶
func (x *RoverMessage) GetLatestBlock() *RoverMessage_LatestBlock
func (*RoverMessage) GetPayload ¶
func (m *RoverMessage) GetPayload() isRoverMessage_Payload
func (*RoverMessage) GetResync ¶
func (x *RoverMessage) GetResync() *RoverMessage_Resync
func (*RoverMessage) GetRoverBlockRange ¶
func (x *RoverMessage) GetRoverBlockRange() *RoverMessage_RoverBlockRange
func (*RoverMessage) GetType ¶
func (x *RoverMessage) GetType() RoverMessageType
func (*RoverMessage) ProtoMessage ¶
func (*RoverMessage) ProtoMessage()
func (*RoverMessage) ProtoReflect ¶
func (x *RoverMessage) ProtoReflect() protoreflect.Message
func (*RoverMessage) Reset ¶
func (x *RoverMessage) Reset()
func (*RoverMessage) String ¶
func (x *RoverMessage) String() string
type RoverMessageType ¶
type RoverMessageType int32
const ( RoverMessageType_FetchBlock RoverMessageType = 0 RoverMessageType_RequestResync RoverMessageType = 1 RoverMessageType_rover_block_range RoverMessageType = 2 RoverMessageType_LatestBlock RoverMessageType = 3 )
func (RoverMessageType) Descriptor ¶
func (RoverMessageType) Descriptor() protoreflect.EnumDescriptor
func (RoverMessageType) Enum ¶
func (x RoverMessageType) Enum() *RoverMessageType
func (RoverMessageType) EnumDescriptor
deprecated
func (RoverMessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RoverMessageType.Descriptor instead.
func (RoverMessageType) Number ¶
func (x RoverMessageType) Number() protoreflect.EnumNumber
func (RoverMessageType) String ¶
func (x RoverMessageType) String() string
func (RoverMessageType) Type ¶
func (RoverMessageType) Type() protoreflect.EnumType
type RoverMessage_FetchBlock ¶
type RoverMessage_FetchBlock struct {
FromBlock *Block `protobuf:"bytes,1,opt,name=from_block,json=fromBlock,proto3" json:"from_block,omitempty"`
ToBlock *Block `protobuf:"bytes,2,opt,name=to_block,json=toBlock,proto3" json:"to_block,omitempty"`
// contains filtered or unexported fields
}
func (*RoverMessage_FetchBlock) Descriptor
deprecated
func (*RoverMessage_FetchBlock) Descriptor() ([]byte, []int)
Deprecated: Use RoverMessage_FetchBlock.ProtoReflect.Descriptor instead.
func (*RoverMessage_FetchBlock) GetFromBlock ¶
func (x *RoverMessage_FetchBlock) GetFromBlock() *Block
func (*RoverMessage_FetchBlock) GetToBlock ¶
func (x *RoverMessage_FetchBlock) GetToBlock() *Block
func (*RoverMessage_FetchBlock) ProtoMessage ¶
func (*RoverMessage_FetchBlock) ProtoMessage()
func (*RoverMessage_FetchBlock) ProtoReflect ¶
func (x *RoverMessage_FetchBlock) ProtoReflect() protoreflect.Message
func (*RoverMessage_FetchBlock) Reset ¶
func (x *RoverMessage_FetchBlock) Reset()
func (*RoverMessage_FetchBlock) String ¶
func (x *RoverMessage_FetchBlock) String() string
type RoverMessage_FetchBlock_ ¶
type RoverMessage_FetchBlock_ struct {
FetchBlock *RoverMessage_FetchBlock `protobuf:"bytes,3,opt,name=fetch_block,json=fetchBlock,proto3,oneof"`
}
type RoverMessage_LatestBlock ¶
type RoverMessage_LatestBlock struct {
RoverName string `protobuf:"bytes,1,opt,name=rover_name,json=roverName,proto3" json:"rover_name,omitempty"`
Block *Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
// contains filtered or unexported fields
}
func (*RoverMessage_LatestBlock) Descriptor
deprecated
func (*RoverMessage_LatestBlock) Descriptor() ([]byte, []int)
Deprecated: Use RoverMessage_LatestBlock.ProtoReflect.Descriptor instead.
func (*RoverMessage_LatestBlock) GetBlock ¶
func (x *RoverMessage_LatestBlock) GetBlock() *Block
func (*RoverMessage_LatestBlock) GetRoverName ¶
func (x *RoverMessage_LatestBlock) GetRoverName() string
func (*RoverMessage_LatestBlock) ProtoMessage ¶
func (*RoverMessage_LatestBlock) ProtoMessage()
func (*RoverMessage_LatestBlock) ProtoReflect ¶
func (x *RoverMessage_LatestBlock) ProtoReflect() protoreflect.Message
func (*RoverMessage_LatestBlock) Reset ¶
func (x *RoverMessage_LatestBlock) Reset()
func (*RoverMessage_LatestBlock) String ¶
func (x *RoverMessage_LatestBlock) String() string
type RoverMessage_LatestBlock_ ¶
type RoverMessage_LatestBlock_ struct {
LatestBlock *RoverMessage_LatestBlock `protobuf:"bytes,5,opt,name=latest_block,json=latestBlock,proto3,oneof"`
}
type RoverMessage_Resync ¶
type RoverMessage_Resync struct {
// latest know block we have in storage, can be empty
LatestBlock *Block `protobuf:"bytes,1,opt,name=latest_block,json=latestBlock,proto3" json:"latest_block,omitempty"`
Intervals []*RoverMessage_Resync_Interval `protobuf:"bytes,2,rep,name=intervals,proto3" json:"intervals,omitempty"`
// contains filtered or unexported fields
}
func (*RoverMessage_Resync) Descriptor
deprecated
func (*RoverMessage_Resync) Descriptor() ([]byte, []int)
Deprecated: Use RoverMessage_Resync.ProtoReflect.Descriptor instead.
func (*RoverMessage_Resync) GetIntervals ¶
func (x *RoverMessage_Resync) GetIntervals() []*RoverMessage_Resync_Interval
func (*RoverMessage_Resync) GetLatestBlock ¶
func (x *RoverMessage_Resync) GetLatestBlock() *Block
func (*RoverMessage_Resync) ProtoMessage ¶
func (*RoverMessage_Resync) ProtoMessage()
func (*RoverMessage_Resync) ProtoReflect ¶
func (x *RoverMessage_Resync) ProtoReflect() protoreflect.Message
func (*RoverMessage_Resync) Reset ¶
func (x *RoverMessage_Resync) Reset()
func (*RoverMessage_Resync) String ¶
func (x *RoverMessage_Resync) String() string
type RoverMessage_Resync_ ¶
type RoverMessage_Resync_ struct {
Resync *RoverMessage_Resync `protobuf:"bytes,2,opt,name=resync,proto3,oneof"`
}
type RoverMessage_Resync_Interval ¶
type RoverMessage_Resync_Interval struct {
FromBlock *Block `protobuf:"bytes,1,opt,name=from_block,json=fromBlock,proto3" json:"from_block,omitempty"`
ToBlock *Block `protobuf:"bytes,2,opt,name=to_block,json=toBlock,proto3" json:"to_block,omitempty"`
// contains filtered or unexported fields
}
func (*RoverMessage_Resync_Interval) Descriptor
deprecated
func (*RoverMessage_Resync_Interval) Descriptor() ([]byte, []int)
Deprecated: Use RoverMessage_Resync_Interval.ProtoReflect.Descriptor instead.
func (*RoverMessage_Resync_Interval) GetFromBlock ¶
func (x *RoverMessage_Resync_Interval) GetFromBlock() *Block
func (*RoverMessage_Resync_Interval) GetToBlock ¶
func (x *RoverMessage_Resync_Interval) GetToBlock() *Block
func (*RoverMessage_Resync_Interval) ProtoMessage ¶
func (*RoverMessage_Resync_Interval) ProtoMessage()
func (*RoverMessage_Resync_Interval) ProtoReflect ¶
func (x *RoverMessage_Resync_Interval) ProtoReflect() protoreflect.Message
func (*RoverMessage_Resync_Interval) Reset ¶
func (x *RoverMessage_Resync_Interval) Reset()
func (*RoverMessage_Resync_Interval) String ¶
func (x *RoverMessage_Resync_Interval) String() string
type RoverMessage_RoverBlockRange ¶
type RoverMessage_RoverBlockRange struct {
RoverName string `protobuf:"bytes,1,opt,name=rover_name,json=roverName,proto3" json:"rover_name,omitempty"`
HighestHeight uint64 `protobuf:"varint,2,opt,name=highest_height,json=highestHeight,proto3" json:"highest_height,omitempty"`
LowestHeight uint64 `protobuf:"varint,3,opt,name=lowest_height,json=lowestHeight,proto3" json:"lowest_height,omitempty"`
HighestHash string `protobuf:"bytes,4,opt,name=highest_hash,json=highestHash,proto3" json:"highest_hash,omitempty"`
LowestHash string `protobuf:"bytes,5,opt,name=lowest_hash,json=lowestHash,proto3" json:"lowest_hash,omitempty"`
Synced string `protobuf:"bytes,6,opt,name=synced,proto3" json:"synced,omitempty"`
// contains filtered or unexported fields
}
func (*RoverMessage_RoverBlockRange) Descriptor
deprecated
func (*RoverMessage_RoverBlockRange) Descriptor() ([]byte, []int)
Deprecated: Use RoverMessage_RoverBlockRange.ProtoReflect.Descriptor instead.
func (*RoverMessage_RoverBlockRange) GetHighestHash ¶
func (x *RoverMessage_RoverBlockRange) GetHighestHash() string
func (*RoverMessage_RoverBlockRange) GetHighestHeight ¶
func (x *RoverMessage_RoverBlockRange) GetHighestHeight() uint64
func (*RoverMessage_RoverBlockRange) GetLowestHash ¶
func (x *RoverMessage_RoverBlockRange) GetLowestHash() string
func (*RoverMessage_RoverBlockRange) GetLowestHeight ¶
func (x *RoverMessage_RoverBlockRange) GetLowestHeight() uint64
func (*RoverMessage_RoverBlockRange) GetRoverName ¶
func (x *RoverMessage_RoverBlockRange) GetRoverName() string
func (*RoverMessage_RoverBlockRange) GetSynced ¶
func (x *RoverMessage_RoverBlockRange) GetSynced() string
func (*RoverMessage_RoverBlockRange) ProtoMessage ¶
func (*RoverMessage_RoverBlockRange) ProtoMessage()
func (*RoverMessage_RoverBlockRange) ProtoReflect ¶
func (x *RoverMessage_RoverBlockRange) ProtoReflect() protoreflect.Message
func (*RoverMessage_RoverBlockRange) Reset ¶
func (x *RoverMessage_RoverBlockRange) Reset()
func (*RoverMessage_RoverBlockRange) String ¶
func (x *RoverMessage_RoverBlockRange) String() string
type RoverMessage_RoverBlockRange_ ¶
type RoverMessage_RoverBlockRange_ struct {
RoverBlockRange *RoverMessage_RoverBlockRange `protobuf:"bytes,4,opt,name=rover_block_range,json=roverBlockRange,proto3,oneof"`
}
type RoverServer ¶
type RoverServer interface {
// Sends a greeting
Join(*RoverIdent, Rover_JoinServer) error
// Rovers sends block collected from the respective network
CollectBlock(Rover_CollectBlockServer) error
// Rover reports back sync status
ReportSyncStatus(context.Context, *RoverSyncStatus) (*Null, error)
// Rover submits block range
ReportBlockRange(context.Context, *RoverMessage_RoverBlockRange) (*Null, error)
// Check is TX reciveved in rover is watched and before settlement height
IsBeforeSettleHeight(context.Context, *SettleTxCheckReq) (*SettleTxCheckResponse, error)
// check if any marked txs have been queued
GetQueuedMarkedTxs(context.Context, *MarkedTxsReq) (*QueuedMarkedTxsResponse, error)
// contains filtered or unexported methods
}
RoverServer is the server API for Rover service. All implementations must embed UnimplementedRoverServer for forward compatibility
type RoverSyncStatus ¶
type RoverSyncStatus struct {
RoverName string `protobuf:"bytes,1,opt,name=rover_name,json=roverName,proto3" json:"rover_name,omitempty"`
Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*RoverSyncStatus) Descriptor
deprecated
func (*RoverSyncStatus) Descriptor() ([]byte, []int)
Deprecated: Use RoverSyncStatus.ProtoReflect.Descriptor instead.
func (*RoverSyncStatus) GetRoverName ¶
func (x *RoverSyncStatus) GetRoverName() string
func (*RoverSyncStatus) GetStatus ¶
func (x *RoverSyncStatus) GetStatus() bool
func (*RoverSyncStatus) ProtoMessage ¶
func (*RoverSyncStatus) ProtoMessage()
func (*RoverSyncStatus) ProtoReflect ¶
func (x *RoverSyncStatus) ProtoReflect() protoreflect.Message
func (*RoverSyncStatus) Reset ¶
func (x *RoverSyncStatus) Reset()
func (*RoverSyncStatus) String ¶
func (x *RoverSyncStatus) String() string
type Rover_JoinClient ¶
type Rover_JoinClient interface {
Recv() (*RoverMessage, error)
grpc.ClientStream
}
type Rover_JoinServer ¶
type Rover_JoinServer interface {
Send(*RoverMessage) error
grpc.ServerStream
}
type RpcFeedTransactionRequest ¶
type RpcFeedTransactionRequest struct {
OwnerAddr string `protobuf:"bytes,1,opt,name=owner_addr,json=ownerAddr,proto3" json:"owner_addr,omitempty"`
FeedAddr string `protobuf:"bytes,2,opt,name=feed_addr,json=feedAddr,proto3" json:"feed_addr,omitempty"`
DataType FeedTransactionDataType `` /* 127-byte string literal not displayed */
DataLength uint64 `protobuf:"varint,4,opt,name=data_length,json=dataLength,proto3" json:"data_length,omitempty"`
Data string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
Amount string `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"`
TxFee string `protobuf:"bytes,7,opt,name=tx_fee,json=txFee,proto3" json:"tx_fee,omitempty"`
TxPart string `protobuf:"bytes,8,opt,name=tx_part,json=txPart,proto3" json:"tx_part,omitempty"`
TxPanel string `protobuf:"bytes,9,opt,name=tx_panel,json=txPanel,proto3" json:"tx_panel,omitempty"`
TxNonce string `protobuf:"bytes,10,opt,name=tx_nonce,json=txNonce,proto3" json:"tx_nonce,omitempty"`
MinimumDistance string `protobuf:"bytes,11,opt,name=minimum_distance,json=minimumDistance,proto3" json:"minimum_distance,omitempty"`
PrivateKeyHex string `protobuf:"bytes,12,opt,name=private_key_hex,json=privateKeyHex,proto3" json:"private_key_hex,omitempty"`
// contains filtered or unexported fields
}
func (*RpcFeedTransactionRequest) Descriptor
deprecated
func (*RpcFeedTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RpcFeedTransactionRequest.ProtoReflect.Descriptor instead.
func (*RpcFeedTransactionRequest) GetAmount ¶
func (x *RpcFeedTransactionRequest) GetAmount() string
func (*RpcFeedTransactionRequest) GetData ¶
func (x *RpcFeedTransactionRequest) GetData() string
func (*RpcFeedTransactionRequest) GetDataLength ¶
func (x *RpcFeedTransactionRequest) GetDataLength() uint64
func (*RpcFeedTransactionRequest) GetDataType ¶
func (x *RpcFeedTransactionRequest) GetDataType() FeedTransactionDataType
func (*RpcFeedTransactionRequest) GetFeedAddr ¶
func (x *RpcFeedTransactionRequest) GetFeedAddr() string
func (*RpcFeedTransactionRequest) GetMinimumDistance ¶
func (x *RpcFeedTransactionRequest) GetMinimumDistance() string
func (*RpcFeedTransactionRequest) GetOwnerAddr ¶
func (x *RpcFeedTransactionRequest) GetOwnerAddr() string
func (*RpcFeedTransactionRequest) GetPrivateKeyHex ¶
func (x *RpcFeedTransactionRequest) GetPrivateKeyHex() string
func (*RpcFeedTransactionRequest) GetTxFee ¶
func (x *RpcFeedTransactionRequest) GetTxFee() string
func (*RpcFeedTransactionRequest) GetTxNonce ¶
func (x *RpcFeedTransactionRequest) GetTxNonce() string
func (*RpcFeedTransactionRequest) GetTxPanel ¶
func (x *RpcFeedTransactionRequest) GetTxPanel() string
func (*RpcFeedTransactionRequest) GetTxPart ¶
func (x *RpcFeedTransactionRequest) GetTxPart() string
func (*RpcFeedTransactionRequest) ProtoMessage ¶
func (*RpcFeedTransactionRequest) ProtoMessage()
func (*RpcFeedTransactionRequest) ProtoReflect ¶
func (x *RpcFeedTransactionRequest) ProtoReflect() protoreflect.Message
func (*RpcFeedTransactionRequest) Reset ¶
func (x *RpcFeedTransactionRequest) Reset()
func (*RpcFeedTransactionRequest) String ¶
func (x *RpcFeedTransactionRequest) String() string
type RpcTransaction ¶
type RpcTransaction struct {
FromAddr string `protobuf:"bytes,1,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"`
ToAddr string `protobuf:"bytes,2,opt,name=to_addr,json=toAddr,proto3" json:"to_addr,omitempty"`
Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
TxFee string `protobuf:"bytes,4,opt,name=tx_fee,json=txFee,proto3" json:"tx_fee,omitempty"`
PrivateKeyHex string `protobuf:"bytes,5,opt,name=private_key_hex,json=privateKeyHex,proto3" json:"private_key_hex,omitempty"`
// contains filtered or unexported fields
}
func (*RpcTransaction) Descriptor
deprecated
func (*RpcTransaction) Descriptor() ([]byte, []int)
Deprecated: Use RpcTransaction.ProtoReflect.Descriptor instead.
func (*RpcTransaction) GetAmount ¶
func (x *RpcTransaction) GetAmount() string
func (*RpcTransaction) GetFromAddr ¶
func (x *RpcTransaction) GetFromAddr() string
func (*RpcTransaction) GetPrivateKeyHex ¶
func (x *RpcTransaction) GetPrivateKeyHex() string
func (*RpcTransaction) GetToAddr ¶
func (x *RpcTransaction) GetToAddr() string
func (*RpcTransaction) GetTxFee ¶
func (x *RpcTransaction) GetTxFee() string
func (*RpcTransaction) ProtoMessage ¶
func (*RpcTransaction) ProtoMessage()
func (*RpcTransaction) ProtoReflect ¶
func (x *RpcTransaction) ProtoReflect() protoreflect.Message
func (*RpcTransaction) Reset ¶
func (x *RpcTransaction) Reset()
func (*RpcTransaction) String ¶
func (x *RpcTransaction) String() string
type RpcTransactionResponse ¶
type RpcTransactionResponse struct {
Status RpcTransactionResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=bc.exchange.RpcTransactionResponseStatus" json:"status,omitempty"`
TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*RpcTransactionResponse) Descriptor
deprecated
func (*RpcTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RpcTransactionResponse.ProtoReflect.Descriptor instead.
func (*RpcTransactionResponse) GetError ¶
func (x *RpcTransactionResponse) GetError() string
func (*RpcTransactionResponse) GetStatus ¶
func (x *RpcTransactionResponse) GetStatus() RpcTransactionResponseStatus
func (*RpcTransactionResponse) GetTxHash ¶
func (x *RpcTransactionResponse) GetTxHash() string
func (*RpcTransactionResponse) ProtoMessage ¶
func (*RpcTransactionResponse) ProtoMessage()
func (*RpcTransactionResponse) ProtoReflect ¶
func (x *RpcTransactionResponse) ProtoReflect() protoreflect.Message
func (*RpcTransactionResponse) Reset ¶
func (x *RpcTransactionResponse) Reset()
func (*RpcTransactionResponse) String ¶
func (x *RpcTransactionResponse) String() string
type RpcTransactionResponseStatus ¶
type RpcTransactionResponseStatus int32
const ( RpcTransactionResponseStatus_Success RpcTransactionResponseStatus = 0 RpcTransactionResponseStatus_Failure RpcTransactionResponseStatus = 1 )
func (RpcTransactionResponseStatus) Descriptor ¶
func (RpcTransactionResponseStatus) Descriptor() protoreflect.EnumDescriptor
func (RpcTransactionResponseStatus) Enum ¶
func (x RpcTransactionResponseStatus) Enum() *RpcTransactionResponseStatus
func (RpcTransactionResponseStatus) EnumDescriptor
deprecated
func (RpcTransactionResponseStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use RpcTransactionResponseStatus.Descriptor instead.
func (RpcTransactionResponseStatus) Number ¶
func (x RpcTransactionResponseStatus) Number() protoreflect.EnumNumber
func (RpcTransactionResponseStatus) String ¶
func (x RpcTransactionResponseStatus) String() string
func (RpcTransactionResponseStatus) Type ¶
func (RpcTransactionResponseStatus) Type() protoreflect.EnumType
type RpcUpdateFeedTransactionRequest ¶
type RpcUpdateFeedTransactionRequest struct {
OwnerAddr string `protobuf:"bytes,1,opt,name=owner_addr,json=ownerAddr,proto3" json:"owner_addr,omitempty"`
FeedAddr string `protobuf:"bytes,2,opt,name=feed_addr,json=feedAddr,proto3" json:"feed_addr,omitempty"`
SenderAddr string `protobuf:"bytes,3,opt,name=sender_addr,json=senderAddr,proto3" json:"sender_addr,omitempty"`
DataType FeedTransactionDataType `` /* 127-byte string literal not displayed */
DataLength uint64 `protobuf:"varint,5,opt,name=data_length,json=dataLength,proto3" json:"data_length,omitempty"`
Data string `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
Amount string `protobuf:"bytes,7,opt,name=amount,proto3" json:"amount,omitempty"`
TxFee string `protobuf:"bytes,8,opt,name=tx_fee,json=txFee,proto3" json:"tx_fee,omitempty"`
TxPanel string `protobuf:"bytes,9,opt,name=tx_panel,json=txPanel,proto3" json:"tx_panel,omitempty"`
TxPart string `protobuf:"bytes,10,opt,name=tx_part,json=txPart,proto3" json:"tx_part,omitempty"`
TxNonce string `protobuf:"bytes,11,opt,name=tx_nonce,json=txNonce,proto3" json:"tx_nonce,omitempty"`
MinimumDistance string `protobuf:"bytes,12,opt,name=minimum_distance,json=minimumDistance,proto3" json:"minimum_distance,omitempty"`
PrivateKeyHex string `protobuf:"bytes,13,opt,name=private_key_hex,json=privateKeyHex,proto3" json:"private_key_hex,omitempty"`
// contains filtered or unexported fields
}
func (*RpcUpdateFeedTransactionRequest) Descriptor
deprecated
func (*RpcUpdateFeedTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RpcUpdateFeedTransactionRequest.ProtoReflect.Descriptor instead.
func (*RpcUpdateFeedTransactionRequest) GetAmount ¶
func (x *RpcUpdateFeedTransactionRequest) GetAmount() string
func (*RpcUpdateFeedTransactionRequest) GetData ¶
func (x *RpcUpdateFeedTransactionRequest) GetData() string
func (*RpcUpdateFeedTransactionRequest) GetDataLength ¶
func (x *RpcUpdateFeedTransactionRequest) GetDataLength() uint64
func (*RpcUpdateFeedTransactionRequest) GetDataType ¶
func (x *RpcUpdateFeedTransactionRequest) GetDataType() FeedTransactionDataType
func (*RpcUpdateFeedTransactionRequest) GetFeedAddr ¶
func (x *RpcUpdateFeedTransactionRequest) GetFeedAddr() string
func (*RpcUpdateFeedTransactionRequest) GetMinimumDistance ¶
func (x *RpcUpdateFeedTransactionRequest) GetMinimumDistance() string
func (*RpcUpdateFeedTransactionRequest) GetOwnerAddr ¶
func (x *RpcUpdateFeedTransactionRequest) GetOwnerAddr() string
func (*RpcUpdateFeedTransactionRequest) GetPrivateKeyHex ¶
func (x *RpcUpdateFeedTransactionRequest) GetPrivateKeyHex() string
func (*RpcUpdateFeedTransactionRequest) GetSenderAddr ¶
func (x *RpcUpdateFeedTransactionRequest) GetSenderAddr() string
func (*RpcUpdateFeedTransactionRequest) GetTxFee ¶
func (x *RpcUpdateFeedTransactionRequest) GetTxFee() string
func (*RpcUpdateFeedTransactionRequest) GetTxNonce ¶
func (x *RpcUpdateFeedTransactionRequest) GetTxNonce() string
func (*RpcUpdateFeedTransactionRequest) GetTxPanel ¶
func (x *RpcUpdateFeedTransactionRequest) GetTxPanel() string
func (*RpcUpdateFeedTransactionRequest) GetTxPart ¶
func (x *RpcUpdateFeedTransactionRequest) GetTxPart() string
func (*RpcUpdateFeedTransactionRequest) ProtoMessage ¶
func (*RpcUpdateFeedTransactionRequest) ProtoMessage()
func (*RpcUpdateFeedTransactionRequest) ProtoReflect ¶
func (x *RpcUpdateFeedTransactionRequest) ProtoReflect() protoreflect.Message
func (*RpcUpdateFeedTransactionRequest) Reset ¶
func (x *RpcUpdateFeedTransactionRequest) Reset()
func (*RpcUpdateFeedTransactionRequest) String ¶
func (x *RpcUpdateFeedTransactionRequest) String() string
type Service ¶
type Service struct {
Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // universal id of service for Overline compatibility
Pid string `protobuf:"bytes,3,opt,name=pid,proto3" json:"pid,omitempty"` // provisioned id of service for specific operator or provisioned group
Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` // empty unless service requires text data
Data string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // empty unless service requires data
// contains filtered or unexported fields
}
Services: over-the-air OP_X update Services: provision authentication module Services: enable hardware functionality Services: data update
func (*Service) Descriptor
deprecated
func (*Service) GetVersion ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type SettingsResponse ¶
type SettingsResponse struct {
NgrokTunnel string `protobuf:"bytes,1,opt,name=ngrok_tunnel,json=ngrokTunnel,proto3" json:"ngrok_tunnel,omitempty"`
BuildVersion string `protobuf:"bytes,2,opt,name=build_version,json=buildVersion,proto3" json:"build_version,omitempty"`
// contains filtered or unexported fields
}
func (*SettingsResponse) Descriptor
deprecated
func (*SettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SettingsResponse.ProtoReflect.Descriptor instead.
func (*SettingsResponse) GetBuildVersion ¶
func (x *SettingsResponse) GetBuildVersion() string
func (*SettingsResponse) GetNgrokTunnel ¶
func (x *SettingsResponse) GetNgrokTunnel() string
func (*SettingsResponse) ProtoMessage ¶
func (*SettingsResponse) ProtoMessage()
func (*SettingsResponse) ProtoReflect ¶
func (x *SettingsResponse) ProtoReflect() protoreflect.Message
func (*SettingsResponse) Reset ¶
func (x *SettingsResponse) Reset()
func (*SettingsResponse) String ¶
func (x *SettingsResponse) String() string
type SettleTxCheckReq ¶
type SettleTxCheckReq struct {
PossibleTransactions []*SettleTxCheckReq_PossibleTransaction `protobuf:"bytes,1,rep,name=possible_transactions,json=possibleTransactions,proto3" json:"possible_transactions,omitempty"`
BlockHash string `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
BridgedChain string `protobuf:"bytes,3,opt,name=bridged_chain,json=bridgedChain,proto3" json:"bridged_chain,omitempty"`
// contains filtered or unexported fields
}
func (*SettleTxCheckReq) Descriptor
deprecated
func (*SettleTxCheckReq) Descriptor() ([]byte, []int)
Deprecated: Use SettleTxCheckReq.ProtoReflect.Descriptor instead.
func (*SettleTxCheckReq) GetBlockHash ¶
func (x *SettleTxCheckReq) GetBlockHash() string
func (*SettleTxCheckReq) GetBridgedChain ¶
func (x *SettleTxCheckReq) GetBridgedChain() string
func (*SettleTxCheckReq) GetPossibleTransactions ¶
func (x *SettleTxCheckReq) GetPossibleTransactions() []*SettleTxCheckReq_PossibleTransaction
func (*SettleTxCheckReq) ProtoMessage ¶
func (*SettleTxCheckReq) ProtoMessage()
func (*SettleTxCheckReq) ProtoReflect ¶
func (x *SettleTxCheckReq) ProtoReflect() protoreflect.Message
func (*SettleTxCheckReq) Reset ¶
func (x *SettleTxCheckReq) Reset()
func (*SettleTxCheckReq) String ¶
func (x *SettleTxCheckReq) String() string
type SettleTxCheckReq_PossibleTransaction ¶
type SettleTxCheckReq_PossibleTransaction struct {
AddrTo string `protobuf:"bytes,1,opt,name=addr_to,json=addrTo,proto3" json:"addr_to,omitempty"`
AddrFrom string `protobuf:"bytes,2,opt,name=addr_from,json=addrFrom,proto3" json:"addr_from,omitempty"`
Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
BridgedChain string `protobuf:"bytes,4,opt,name=bridged_chain,json=bridgedChain,proto3" json:"bridged_chain,omitempty"`
TxId string `protobuf:"bytes,5,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
BlockHeight uint64 `protobuf:"varint,6,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
TokenType string `protobuf:"bytes,7,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
// contains filtered or unexported fields
}
func (*SettleTxCheckReq_PossibleTransaction) Descriptor
deprecated
func (*SettleTxCheckReq_PossibleTransaction) Descriptor() ([]byte, []int)
Deprecated: Use SettleTxCheckReq_PossibleTransaction.ProtoReflect.Descriptor instead.
func (*SettleTxCheckReq_PossibleTransaction) GetAddrFrom ¶
func (x *SettleTxCheckReq_PossibleTransaction) GetAddrFrom() string
func (*SettleTxCheckReq_PossibleTransaction) GetAddrTo ¶
func (x *SettleTxCheckReq_PossibleTransaction) GetAddrTo() string
func (*SettleTxCheckReq_PossibleTransaction) GetBlockHeight ¶
func (x *SettleTxCheckReq_PossibleTransaction) GetBlockHeight() uint64
func (*SettleTxCheckReq_PossibleTransaction) GetBridgedChain ¶
func (x *SettleTxCheckReq_PossibleTransaction) GetBridgedChain() string
func (*SettleTxCheckReq_PossibleTransaction) GetTokenType ¶
func (x *SettleTxCheckReq_PossibleTransaction) GetTokenType() string
func (*SettleTxCheckReq_PossibleTransaction) GetTxId ¶
func (x *SettleTxCheckReq_PossibleTransaction) GetTxId() string
func (*SettleTxCheckReq_PossibleTransaction) GetValue ¶
func (x *SettleTxCheckReq_PossibleTransaction) GetValue() []byte
func (*SettleTxCheckReq_PossibleTransaction) ProtoMessage ¶
func (*SettleTxCheckReq_PossibleTransaction) ProtoMessage()
func (*SettleTxCheckReq_PossibleTransaction) ProtoReflect ¶
func (x *SettleTxCheckReq_PossibleTransaction) ProtoReflect() protoreflect.Message
func (*SettleTxCheckReq_PossibleTransaction) Reset ¶
func (x *SettleTxCheckReq_PossibleTransaction) Reset()
func (*SettleTxCheckReq_PossibleTransaction) String ¶
func (x *SettleTxCheckReq_PossibleTransaction) String() string
type SettleTxCheckResponse ¶
type SettleTxCheckResponse struct {
MarkedTransactions []*MarkedTransaction `protobuf:"bytes,1,rep,name=marked_transactions,json=markedTransactions,proto3" json:"marked_transactions,omitempty"`
// contains filtered or unexported fields
}
func (*SettleTxCheckResponse) Descriptor
deprecated
func (*SettleTxCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use SettleTxCheckResponse.ProtoReflect.Descriptor instead.
func (*SettleTxCheckResponse) GetMarkedTransactions ¶
func (x *SettleTxCheckResponse) GetMarkedTransactions() []*MarkedTransaction
func (*SettleTxCheckResponse) ProtoMessage ¶
func (*SettleTxCheckResponse) ProtoMessage()
func (*SettleTxCheckResponse) ProtoReflect ¶
func (x *SettleTxCheckResponse) ProtoReflect() protoreflect.Message
func (*SettleTxCheckResponse) Reset ¶
func (x *SettleTxCheckResponse) Reset()
func (*SettleTxCheckResponse) String ¶
func (x *SettleTxCheckResponse) String() string
type StatsResponse ¶
type StatsResponse struct {
Calls int64 `protobuf:"varint,1,opt,name=calls,proto3" json:"calls,omitempty"`
LatestGpuMinerUpdate uint64 `` /* 126-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*StatsResponse) Descriptor
deprecated
func (*StatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatsResponse.ProtoReflect.Descriptor instead.
func (*StatsResponse) GetCalls ¶
func (x *StatsResponse) GetCalls() int64
func (*StatsResponse) GetLatestGpuMinerUpdate ¶
func (x *StatsResponse) GetLatestGpuMinerUpdate() uint64
func (*StatsResponse) ProtoMessage ¶
func (*StatsResponse) ProtoMessage()
func (*StatsResponse) ProtoReflect ¶
func (x *StatsResponse) ProtoReflect() protoreflect.Message
func (*StatsResponse) Reset ¶
func (x *StatsResponse) Reset()
func (*StatsResponse) String ¶
func (x *StatsResponse) String() string
type SyncStatus ¶
type SyncStatus struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*SyncStatus) Descriptor
deprecated
func (*SyncStatus) Descriptor() ([]byte, []int)
Deprecated: Use SyncStatus.ProtoReflect.Descriptor instead.
func (*SyncStatus) GetStatus ¶
func (x *SyncStatus) GetStatus() string
func (*SyncStatus) ProtoMessage ¶
func (*SyncStatus) ProtoMessage()
func (*SyncStatus) ProtoReflect ¶
func (x *SyncStatus) ProtoReflect() protoreflect.Message
func (*SyncStatus) Reset ¶
func (x *SyncStatus) Reset()
func (*SyncStatus) String ¶
func (x *SyncStatus) String() string
type TakerOrder ¶
type TakerOrder struct {
SendsFromAddress string `protobuf:"bytes,1,opt,name=sends_from_address,json=sendsFromAddress,proto3" json:"sends_from_address,omitempty"`
ReceivesToAddress string `protobuf:"bytes,2,opt,name=receives_to_address,json=receivesToAddress,proto3" json:"receives_to_address,omitempty"`
MakerTxHash string `protobuf:"bytes,3,opt,name=maker_tx_hash,json=makerTxHash,proto3" json:"maker_tx_hash,omitempty"`
MakerTxOutputIndex uint32 `protobuf:"varint,4,opt,name=maker_tx_output_index,json=makerTxOutputIndex,proto3" json:"maker_tx_output_index,omitempty"`
CollateralizedNrg string `protobuf:"bytes,5,opt,name=collateralized_nrg,json=collateralizedNrg,proto3" json:"collateralized_nrg,omitempty"`
// contains filtered or unexported fields
}
func (*TakerOrder) Descriptor
deprecated
func (*TakerOrder) Descriptor() ([]byte, []int)
Deprecated: Use TakerOrder.ProtoReflect.Descriptor instead.
func (*TakerOrder) GetCollateralizedNrg ¶
func (x *TakerOrder) GetCollateralizedNrg() string
func (*TakerOrder) GetMakerTxHash ¶
func (x *TakerOrder) GetMakerTxHash() string
func (*TakerOrder) GetMakerTxOutputIndex ¶
func (x *TakerOrder) GetMakerTxOutputIndex() uint32
func (*TakerOrder) GetReceivesToAddress ¶
func (x *TakerOrder) GetReceivesToAddress() string
func (*TakerOrder) GetSendsFromAddress ¶
func (x *TakerOrder) GetSendsFromAddress() string
func (*TakerOrder) ProtoMessage ¶
func (*TakerOrder) ProtoMessage()
func (*TakerOrder) ProtoReflect ¶
func (x *TakerOrder) ProtoReflect() protoreflect.Message
func (*TakerOrder) Reset ¶
func (x *TakerOrder) Reset()
func (*TakerOrder) String ¶
func (x *TakerOrder) String() string
type TakerOrderInfo ¶
type TakerOrderInfo struct {
SendsFromAddress string `protobuf:"bytes,1,opt,name=sends_from_address,json=sendsFromAddress,proto3" json:"sends_from_address,omitempty"`
ReceivesToAddress string `protobuf:"bytes,2,opt,name=receives_to_address,json=receivesToAddress,proto3" json:"receives_to_address,omitempty"`
DoubleHashedBcAddress string `` /* 128-byte string literal not displayed */
IsSettled bool `protobuf:"varint,4,opt,name=is_settled,json=isSettled,proto3" json:"is_settled,omitempty"`
TxHash string `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
TxOutputIndex uint32 `protobuf:"varint,6,opt,name=tx_output_index,json=txOutputIndex,proto3" json:"tx_output_index,omitempty"`
TotalCollateral string `protobuf:"bytes,7,opt,name=total_collateral,json=totalCollateral,proto3" json:"total_collateral,omitempty"`
TradeHeight uint64 `protobuf:"varint,8,opt,name=trade_height,json=tradeHeight,proto3" json:"trade_height,omitempty"`
Timestamp uint64 `protobuf:"varint,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*TakerOrderInfo) Descriptor
deprecated
func (*TakerOrderInfo) Descriptor() ([]byte, []int)
Deprecated: Use TakerOrderInfo.ProtoReflect.Descriptor instead.
func (*TakerOrderInfo) GetDoubleHashedBcAddress ¶
func (x *TakerOrderInfo) GetDoubleHashedBcAddress() string
func (*TakerOrderInfo) GetIsSettled ¶
func (x *TakerOrderInfo) GetIsSettled() bool
func (*TakerOrderInfo) GetReceivesToAddress ¶
func (x *TakerOrderInfo) GetReceivesToAddress() string
func (*TakerOrderInfo) GetSendsFromAddress ¶
func (x *TakerOrderInfo) GetSendsFromAddress() string
func (*TakerOrderInfo) GetTimestamp ¶
func (x *TakerOrderInfo) GetTimestamp() uint64
func (*TakerOrderInfo) GetTotalCollateral ¶
func (x *TakerOrderInfo) GetTotalCollateral() string
func (*TakerOrderInfo) GetTradeHeight ¶
func (x *TakerOrderInfo) GetTradeHeight() uint64
func (*TakerOrderInfo) GetTxHash ¶
func (x *TakerOrderInfo) GetTxHash() string
func (*TakerOrderInfo) GetTxOutputIndex ¶
func (x *TakerOrderInfo) GetTxOutputIndex() uint32
func (*TakerOrderInfo) ProtoMessage ¶
func (*TakerOrderInfo) ProtoMessage()
func (*TakerOrderInfo) ProtoReflect ¶
func (x *TakerOrderInfo) ProtoReflect() protoreflect.Message
func (*TakerOrderInfo) Reset ¶
func (x *TakerOrderInfo) Reset()
func (*TakerOrderInfo) String ¶
func (x *TakerOrderInfo) String() string
type Transaction ¶
type Transaction struct {
Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // <rnd>+<minerAddess> / <tx mine work>
Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
Overline string `protobuf:"bytes,4,opt,name=overline,proto3" json:"overline,omitempty"`
NinCount uint64 `protobuf:"varint,5,opt,name=nin_count,json=ninCount,proto3" json:"nin_count,omitempty"`
NoutCount uint64 `protobuf:"varint,6,opt,name=nout_count,json=noutCount,proto3" json:"nout_count,omitempty"`
Inputs []*TransactionInput `protobuf:"bytes,7,rep,name=inputs,proto3" json:"inputs,omitempty"`
Outputs []*TransactionOutput `protobuf:"bytes,8,rep,name=outputs,proto3" json:"outputs,omitempty"`
LockTime uint32 `protobuf:"varint,9,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"`
// contains filtered or unexported fields
}
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetHash ¶
func (x *Transaction) GetHash() string
func (*Transaction) GetInputs ¶
func (x *Transaction) GetInputs() []*TransactionInput
func (*Transaction) GetLockTime ¶
func (x *Transaction) GetLockTime() uint32
func (*Transaction) GetNinCount ¶
func (x *Transaction) GetNinCount() uint64
func (*Transaction) GetNonce ¶
func (x *Transaction) GetNonce() string
func (*Transaction) GetNoutCount ¶
func (x *Transaction) GetNoutCount() uint64
func (*Transaction) GetOutputs ¶
func (x *Transaction) GetOutputs() []*TransactionOutput
func (*Transaction) GetOverline ¶
func (x *Transaction) GetOverline() string
func (*Transaction) GetVersion ¶
func (x *Transaction) GetVersion() uint64
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type TransactionInput ¶
type TransactionInput struct {
OutPoint *OutPoint `protobuf:"bytes,1,opt,name=out_point,json=outPoint,proto3" json:"out_point,omitempty"`
ScriptLength uint32 `protobuf:"varint,2,opt,name=script_length,json=scriptLength,proto3" json:"script_length,omitempty"`
InputScript []byte `protobuf:"bytes,3,opt,name=input_script,json=inputScript,proto3" json:"input_script,omitempty"`
// contains filtered or unexported fields
}
func (*TransactionInput) Descriptor
deprecated
func (*TransactionInput) Descriptor() ([]byte, []int)
Deprecated: Use TransactionInput.ProtoReflect.Descriptor instead.
func (*TransactionInput) GetInputScript ¶
func (x *TransactionInput) GetInputScript() []byte
func (*TransactionInput) GetOutPoint ¶
func (x *TransactionInput) GetOutPoint() *OutPoint
func (*TransactionInput) GetScriptLength ¶
func (x *TransactionInput) GetScriptLength() uint32
func (*TransactionInput) ProtoMessage ¶
func (*TransactionInput) ProtoMessage()
func (*TransactionInput) ProtoReflect ¶
func (x *TransactionInput) ProtoReflect() protoreflect.Message
func (*TransactionInput) Reset ¶
func (x *TransactionInput) Reset()
func (*TransactionInput) String ¶
func (x *TransactionInput) String() string
type TransactionOutput ¶
type TransactionOutput struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Unit []byte `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
ScriptLength uint32 `protobuf:"varint,3,opt,name=script_length,json=scriptLength,proto3" json:"script_length,omitempty"`
OutputScript []byte `protobuf:"bytes,4,opt,name=output_script,json=outputScript,proto3" json:"output_script,omitempty"`
// contains filtered or unexported fields
}
func (*TransactionOutput) Descriptor
deprecated
func (*TransactionOutput) Descriptor() ([]byte, []int)
Deprecated: Use TransactionOutput.ProtoReflect.Descriptor instead.
func (*TransactionOutput) GetOutputScript ¶
func (x *TransactionOutput) GetOutputScript() []byte
func (*TransactionOutput) GetScriptLength ¶
func (x *TransactionOutput) GetScriptLength() uint32
func (*TransactionOutput) GetUnit ¶
func (x *TransactionOutput) GetUnit() []byte
func (*TransactionOutput) GetValue ¶
func (x *TransactionOutput) GetValue() []byte
func (*TransactionOutput) ProtoMessage ¶
func (*TransactionOutput) ProtoMessage()
func (*TransactionOutput) ProtoReflect ¶
func (x *TransactionOutput) ProtoReflect() protoreflect.Message
func (*TransactionOutput) Reset ¶
func (x *TransactionOutput) Reset()
func (*TransactionOutput) String ¶
func (x *TransactionOutput) String() string
type Transfer ¶
type Transfer struct {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
TxHash string `protobuf:"bytes,4,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
TxOutputIndex uint32 `protobuf:"varint,5,opt,name=tx_output_index,json=txOutputIndex,proto3" json:"tx_output_index,omitempty"`
Timestamp uint64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Height uint64 `protobuf:"varint,7,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
func (*Transfer) Descriptor
deprecated
func (*Transfer) GetTimestamp ¶
func (*Transfer) GetTxOutputIndex ¶
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) ProtoReflect ¶
func (x *Transfer) ProtoReflect() protoreflect.Message
type TransferRequest ¶
type TransferRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Max uint32 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
// contains filtered or unexported fields
}
func (*TransferRequest) Descriptor
deprecated
func (*TransferRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransferRequest.ProtoReflect.Descriptor instead.
func (*TransferRequest) GetAddress ¶
func (x *TransferRequest) GetAddress() string
func (*TransferRequest) GetFrom ¶
func (x *TransferRequest) GetFrom() string
func (*TransferRequest) GetMax ¶
func (x *TransferRequest) GetMax() uint32
func (*TransferRequest) ProtoMessage ¶
func (*TransferRequest) ProtoMessage()
func (*TransferRequest) ProtoReflect ¶
func (x *TransferRequest) ProtoReflect() protoreflect.Message
func (*TransferRequest) Reset ¶
func (x *TransferRequest) Reset()
func (*TransferRequest) String ¶
func (x *TransferRequest) String() string
type TransferResponse ¶
type TransferResponse struct {
Transfers []*Transfer `protobuf:"bytes,1,rep,name=transfers,proto3" json:"transfers,omitempty"`
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
// contains filtered or unexported fields
}
func (*TransferResponse) Descriptor
deprecated
func (*TransferResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransferResponse.ProtoReflect.Descriptor instead.
func (*TransferResponse) GetFrom ¶
func (x *TransferResponse) GetFrom() string
func (*TransferResponse) GetTo ¶
func (x *TransferResponse) GetTo() string
func (*TransferResponse) GetTransfers ¶
func (x *TransferResponse) GetTransfers() []*Transfer
func (*TransferResponse) ProtoMessage ¶
func (*TransferResponse) ProtoMessage()
func (*TransferResponse) ProtoReflect ¶
func (x *TransferResponse) ProtoReflect() protoreflect.Message
func (*TransferResponse) Reset ¶
func (x *TransferResponse) Reset()
func (*TransferResponse) String ¶
func (x *TransferResponse) String() string
type UnimplementedBcServer ¶
type UnimplementedBcServer struct {
}
UnimplementedBcServer must be embedded to have forward compatible implementations.
func (UnimplementedBcServer) GetBalance ¶
func (UnimplementedBcServer) GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
func (UnimplementedBcServer) GetBcAddressViaVanity ¶
func (UnimplementedBcServer) GetBcAddressViaVanity(context.Context, *VanityConvertRequest) (*VanityConvertResponse, error)
func (UnimplementedBcServer) GetBlake2Bl ¶
func (UnimplementedBcServer) GetBlake2Bl(context.Context, *GetBlake2BlRequest) (*GetBlake2BlResponse, error)
func (UnimplementedBcServer) GetBlockByTx ¶
func (UnimplementedBcServer) GetBlockByTx(context.Context, *GetTxRequest) (*BcBlock, error)
func (UnimplementedBcServer) GetBlockHash ¶
func (UnimplementedBcServer) GetBlockHash(context.Context, *GetBlockHashRequest) (*BcBlock, error)
func (UnimplementedBcServer) GetBlockHeight ¶
func (UnimplementedBcServer) GetBlockHeight(context.Context, *GetBlockHeightRequest) (*BcBlock, error)
func (UnimplementedBcServer) GetBlocks ¶
func (UnimplementedBcServer) GetBlocks(context.Context, *GetBlocksRequest) (*GetBlocksResponse, error)
func (UnimplementedBcServer) GetBlocksByRoveredHash ¶
func (UnimplementedBcServer) GetBlocksByRoveredHash(context.Context, *GetBlocksByRoveredHashRequest) (*GetBlocksByRoveredHashResponse, error)
func (UnimplementedBcServer) GetBlocksHeight ¶
func (UnimplementedBcServer) GetBlocksHeight(context.Context, *GetBlockHeightRequest) (*GetBlocksResponse, error)
func (UnimplementedBcServer) GetByteFeeMultiplier ¶
func (UnimplementedBcServer) GetByteFeeMultiplier(context.Context, *Null) (*GetByteFeeResponse, error)
func (UnimplementedBcServer) GetCurrentWork ¶
func (UnimplementedBcServer) GetCurrentWork(context.Context, *Null) (*CurrentWork, error)
func (UnimplementedBcServer) GetEmbBalance ¶
func (UnimplementedBcServer) GetEmbBalance(context.Context, *GetBalanceRequest) (*GetEmbBalanceResponse, error)
func (UnimplementedBcServer) GetEphemeralFeedMessages ¶ added in v0.0.4
func (UnimplementedBcServer) GetEphemeralFeedMessages(context.Context, *GetFeedMessagesRequest) (*FeedMessages, error)
func (UnimplementedBcServer) GetFastSyncStatus ¶
func (UnimplementedBcServer) GetFastSyncStatus(context.Context, *Null) (*SyncStatus, error)
func (UnimplementedBcServer) GetFeaturedFeedMessages ¶ added in v0.0.4
func (UnimplementedBcServer) GetFeaturedFeedMessages(context.Context, *GetFeedMessagesRequest) (*FeedMessages, error)
func (UnimplementedBcServer) GetHistoricalOrders ¶
func (UnimplementedBcServer) GetHistoricalOrders(context.Context, *GetHistoryRequest) (*GetHistoricalOrdersResponse, error)
func (UnimplementedBcServer) GetLatestBlock ¶
func (UnimplementedBcServer) GetLatestRoveredBlocks ¶
func (UnimplementedBcServer) GetLatestRoveredBlocks(context.Context, *Null) (*GetRoveredBlocksResponse, error)
func (UnimplementedBcServer) GetLatestUTXOBlock ¶
func (UnimplementedBcServer) GetMarkedTx ¶
func (UnimplementedBcServer) GetMarkedTx(context.Context, *GetMarkedTxRequest) (*MarkedTransaction, error)
func (UnimplementedBcServer) GetMarkedTxsForMatchedOrder ¶
func (UnimplementedBcServer) GetMarkedTxsForMatchedOrder(context.Context, *GetOutPointRequest) (*GetMarkedTxs, error)
func (UnimplementedBcServer) GetMatchedOrder ¶
func (UnimplementedBcServer) GetMatchedOrder(context.Context, *GetOutPointRequest) (*GetMatchedOrdersResponse, error)
func (UnimplementedBcServer) GetMatchedOrders ¶
func (UnimplementedBcServer) GetMatchedOrders(context.Context, *GetSpendableCollateralRequest) (*GetMatchedOrdersResponse, error)
func (UnimplementedBcServer) GetNrgSupply ¶
func (UnimplementedBcServer) GetNrgSupply(context.Context, *Null) (*GetNrgSupplyResponse, error)
func (UnimplementedBcServer) GetOpenCallbackOrder ¶
func (UnimplementedBcServer) GetOpenCallbackOrder(context.Context, *GetOutPointRequest) (*GetOpenOrdersResponse, error)
func (UnimplementedBcServer) GetOpenOrder ¶
func (UnimplementedBcServer) GetOpenOrder(context.Context, *GetOutPointRequest) (*GetOpenOrdersResponse, error)
func (UnimplementedBcServer) GetOpenOrders ¶
func (UnimplementedBcServer) GetOpenOrders(context.Context, *GetSpendableCollateralRequest) (*GetOpenOrdersResponse, error)
func (UnimplementedBcServer) GetOriginalMakerOrder ¶
func (UnimplementedBcServer) GetOriginalMakerOrder(context.Context, *GetOutPointRequest) (*Transaction, error)
func (UnimplementedBcServer) GetOutpointStatus ¶
func (UnimplementedBcServer) GetOutpointStatus(context.Context, *GetOutPointRequest) (*GetOutPointStatusResponse, error)
func (UnimplementedBcServer) GetRawMempool ¶
func (UnimplementedBcServer) GetRawMempool(context.Context, *Null) (*GetRawMempoolResponse, error)
func (UnimplementedBcServer) GetRoveredBlockForMarkedTx ¶
func (UnimplementedBcServer) GetRoveredBlockForMarkedTx(context.Context, *GetMarkedTxRequest) (*Block, error)
func (UnimplementedBcServer) GetRoveredBlockHash ¶
func (UnimplementedBcServer) GetRoveredBlockHash(context.Context, *GetRoveredBlockHashRequest) (*Block, error)
func (UnimplementedBcServer) GetRoveredBlockHeight ¶
func (UnimplementedBcServer) GetRoveredBlockHeight(context.Context, *GetRoveredBlockHeightRequest) (*Block, error)
func (UnimplementedBcServer) GetRoveredBlocks ¶
func (UnimplementedBcServer) GetRoveredBlocks(context.Context, *GetRoveredBlocksRequest) (*GetRoveredBlocksResponse, error)
func (UnimplementedBcServer) GetSTXOLength ¶
func (UnimplementedBcServer) GetSTXOLength(context.Context, *GetUtxoLengthRequest) (*GetUtxoLengthResponse, error)
func (UnimplementedBcServer) GetSavedFeedMessages ¶ added in v0.0.4
func (UnimplementedBcServer) GetSavedFeedMessages(context.Context, *GetFeedMessagesRequest) (*FeedMessages, error)
func (UnimplementedBcServer) GetSettings ¶
func (UnimplementedBcServer) GetSettings(context.Context, *Null) (*SettingsResponse, error)
func (UnimplementedBcServer) GetSpendableCollateral ¶
func (UnimplementedBcServer) GetSpendableCollateral(context.Context, *GetSpendableCollateralRequest) (*GetSpendableCollateralResponse, error)
func (UnimplementedBcServer) GetSpendableOutpoints ¶
func (UnimplementedBcServer) GetSpendableOutpoints(context.Context, *GetSpendableCollateralRequest) (*WalletData, error)
func (UnimplementedBcServer) GetSyncStatus ¶
func (UnimplementedBcServer) GetSyncStatus(context.Context, *Null) (*SyncStatus, error)
func (UnimplementedBcServer) GetTakerForMaker ¶
func (UnimplementedBcServer) GetTakerForMaker(context.Context, *GetOutPointRequest) (*GetOutPointRequest, error)
func (UnimplementedBcServer) GetTradeStatus ¶
func (UnimplementedBcServer) GetTradeStatus(context.Context, *GetOutPointRequest) (*GetTradeStatusResponse, error)
func (UnimplementedBcServer) GetTransfers ¶
func (UnimplementedBcServer) GetTransfers(context.Context, *TransferRequest) (*TransferResponse, error)
func (UnimplementedBcServer) GetTx ¶
func (UnimplementedBcServer) GetTx(context.Context, *GetTxRequest) (*Transaction, error)
func (UnimplementedBcServer) GetTxClaimedBy ¶
func (UnimplementedBcServer) GetTxClaimedBy(context.Context, *GetOutPointRequest) (*Transaction, error)
func (UnimplementedBcServer) GetUTXOLength ¶
func (UnimplementedBcServer) GetUTXOLength(context.Context, *GetUtxoLengthRequest) (*GetUtxoLengthResponse, error)
func (UnimplementedBcServer) GetUnlockTakerTxParams ¶
func (UnimplementedBcServer) GetUnlockTakerTxParams(context.Context, *GetUnlockTakerTxParamsRequest) (*GetUnlockTakerTxParamsResponse, error)
func (UnimplementedBcServer) GetUnmatchedOrders ¶
func (UnimplementedBcServer) GetUnmatchedOrders(context.Context, *GetBalanceRequest) (*GetOpenOrdersResponse, error)
func (UnimplementedBcServer) GetUtxos ¶
func (UnimplementedBcServer) GetUtxos(context.Context, *GetUtxosRequest) (*Utxos, error)
func (UnimplementedBcServer) GetWallet ¶
func (UnimplementedBcServer) GetWallet(context.Context, *GetBalanceRequest) (*WalletData, error)
func (UnimplementedBcServer) Help ¶
func (UnimplementedBcServer) Help(context.Context, *Null) (*HelpResponse, error)
func (UnimplementedBcServer) NewFeed ¶
func (UnimplementedBcServer) NewFeed(context.Context, *RpcFeedTransactionRequest) (*RpcTransactionResponse, error)
func (UnimplementedBcServer) NewTx ¶
func (UnimplementedBcServer) NewTx(context.Context, *RpcTransaction) (*RpcTransactionResponse, error)
func (UnimplementedBcServer) SendTx ¶
func (UnimplementedBcServer) SendTx(context.Context, *Transaction) (*RpcTransactionResponse, error)
func (UnimplementedBcServer) Stats ¶
func (UnimplementedBcServer) Stats(context.Context, *Null) (*StatsResponse, error)
func (UnimplementedBcServer) UpdateFeed ¶
func (UnimplementedBcServer) UpdateFeed(context.Context, *RpcUpdateFeedTransactionRequest) (*RpcTransactionResponse, error)
type UnimplementedMinerServer ¶
type UnimplementedMinerServer struct {
}
UnimplementedMinerServer must be embedded to have forward compatible implementations.
func (UnimplementedMinerServer) Mine ¶
func (UnimplementedMinerServer) Mine(context.Context, *MinerRequest) (*MinerResponse, error)
type UnimplementedRoverServer ¶
type UnimplementedRoverServer struct {
}
UnimplementedRoverServer must be embedded to have forward compatible implementations.
func (UnimplementedRoverServer) CollectBlock ¶
func (UnimplementedRoverServer) CollectBlock(Rover_CollectBlockServer) error
func (UnimplementedRoverServer) GetQueuedMarkedTxs ¶
func (UnimplementedRoverServer) GetQueuedMarkedTxs(context.Context, *MarkedTxsReq) (*QueuedMarkedTxsResponse, error)
func (UnimplementedRoverServer) IsBeforeSettleHeight ¶
func (UnimplementedRoverServer) IsBeforeSettleHeight(context.Context, *SettleTxCheckReq) (*SettleTxCheckResponse, error)
func (UnimplementedRoverServer) Join ¶
func (UnimplementedRoverServer) Join(*RoverIdent, Rover_JoinServer) error
func (UnimplementedRoverServer) ReportBlockRange ¶
func (UnimplementedRoverServer) ReportBlockRange(context.Context, *RoverMessage_RoverBlockRange) (*Null, error)
func (UnimplementedRoverServer) ReportSyncStatus ¶
func (UnimplementedRoverServer) ReportSyncStatus(context.Context, *RoverSyncStatus) (*Null, error)
type UnsafeBcServer ¶
type UnsafeBcServer interface {
// contains filtered or unexported methods
}
UnsafeBcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BcServer will result in compilation errors.
type UnsafeMinerServer ¶
type UnsafeMinerServer interface {
// contains filtered or unexported methods
}
UnsafeMinerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MinerServer will result in compilation errors.
type UnsafeRoverServer ¶
type UnsafeRoverServer interface {
// contains filtered or unexported methods
}
UnsafeRoverServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RoverServer will result in compilation errors.
type UnspentTransactions ¶
type UnspentTransactions struct {
Utxo []string `protobuf:"bytes,1,rep,name=utxo,proto3" json:"utxo,omitempty"`
// contains filtered or unexported fields
}
func (*UnspentTransactions) Descriptor
deprecated
func (*UnspentTransactions) Descriptor() ([]byte, []int)
Deprecated: Use UnspentTransactions.ProtoReflect.Descriptor instead.
func (*UnspentTransactions) GetUtxo ¶
func (x *UnspentTransactions) GetUtxo() []string
func (*UnspentTransactions) ProtoMessage ¶
func (*UnspentTransactions) ProtoMessage()
func (*UnspentTransactions) ProtoReflect ¶
func (x *UnspentTransactions) ProtoReflect() protoreflect.Message
func (*UnspentTransactions) Reset ¶
func (x *UnspentTransactions) Reset()
func (*UnspentTransactions) String ¶
func (x *UnspentTransactions) String() string
type Utxo ¶
type Utxo struct {
Output *TransactionOutput `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
TxIndex uint64 `protobuf:"varint,3,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
BlockHash string `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
BlockHeight uint64 `protobuf:"varint,5,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
Coinbase bool `protobuf:"varint,6,opt,name=coinbase,proto3" json:"coinbase,omitempty"`
// contains filtered or unexported fields
}
func (*Utxo) Descriptor
deprecated
func (*Utxo) GetBlockHash ¶
func (*Utxo) GetBlockHeight ¶
func (*Utxo) GetCoinbase ¶
func (*Utxo) GetOutput ¶
func (x *Utxo) GetOutput() *TransactionOutput
func (*Utxo) GetTxIndex ¶
func (*Utxo) ProtoMessage ¶
func (*Utxo) ProtoMessage()
func (*Utxo) ProtoReflect ¶
func (x *Utxo) ProtoReflect() protoreflect.Message
type Utxos ¶
type Utxos struct {
Utxo []*Utxo `protobuf:"bytes,1,rep,name=utxo,proto3" json:"utxo,omitempty"`
// contains filtered or unexported fields
}
func (*Utxos) Descriptor
deprecated
func (*Utxos) ProtoMessage ¶
func (*Utxos) ProtoMessage()
func (*Utxos) ProtoReflect ¶
func (x *Utxos) ProtoReflect() protoreflect.Message
type VanityConvertRequest ¶
type VanityConvertRequest struct {
Vanity string `protobuf:"bytes,1,opt,name=vanity,proto3" json:"vanity,omitempty"`
// contains filtered or unexported fields
}
func (*VanityConvertRequest) Descriptor
deprecated
func (*VanityConvertRequest) Descriptor() ([]byte, []int)
Deprecated: Use VanityConvertRequest.ProtoReflect.Descriptor instead.
func (*VanityConvertRequest) GetVanity ¶
func (x *VanityConvertRequest) GetVanity() string
func (*VanityConvertRequest) ProtoMessage ¶
func (*VanityConvertRequest) ProtoMessage()
func (*VanityConvertRequest) ProtoReflect ¶
func (x *VanityConvertRequest) ProtoReflect() protoreflect.Message
func (*VanityConvertRequest) Reset ¶
func (x *VanityConvertRequest) Reset()
func (*VanityConvertRequest) String ¶
func (x *VanityConvertRequest) String() string
type VanityConvertResponse ¶
type VanityConvertResponse struct {
BcAddress string `protobuf:"bytes,1,opt,name=bc_address,json=bcAddress,proto3" json:"bc_address,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*VanityConvertResponse) Descriptor
deprecated
func (*VanityConvertResponse) Descriptor() ([]byte, []int)
Deprecated: Use VanityConvertResponse.ProtoReflect.Descriptor instead.
func (*VanityConvertResponse) GetBcAddress ¶
func (x *VanityConvertResponse) GetBcAddress() string
func (*VanityConvertResponse) GetError ¶
func (x *VanityConvertResponse) GetError() string
func (*VanityConvertResponse) ProtoMessage ¶
func (*VanityConvertResponse) ProtoMessage()
func (*VanityConvertResponse) ProtoReflect ¶
func (x *VanityConvertResponse) ProtoReflect() protoreflect.Message
func (*VanityConvertResponse) Reset ¶
func (x *VanityConvertResponse) Reset()
func (*VanityConvertResponse) String ¶
func (x *VanityConvertResponse) String() string
type WalletData ¶
type WalletData struct {
BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
BlockHash string `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
UnconfirmedSpendableOutpoints []*WalletOutPoint `` /* 150-byte string literal not displayed */
SpendableOutpoints []*WalletOutPoint `protobuf:"bytes,4,rep,name=spendable_outpoints,json=spendableOutpoints,proto3" json:"spendable_outpoints,omitempty"`
CollateralizedMakerOutpoints []*WalletOutPoint `` /* 147-byte string literal not displayed */
CollateralizedUnmatchedOutpoints []*WalletOutPoint `` /* 159-byte string literal not displayed */
CollateralizedMatchedOutpoints []*WalletOutPoint `` /* 153-byte string literal not displayed */
CollateralizedSpendableOutpoints []*WalletOutPoint `` /* 159-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*WalletData) Descriptor
deprecated
func (*WalletData) Descriptor() ([]byte, []int)
Deprecated: Use WalletData.ProtoReflect.Descriptor instead.
func (*WalletData) GetBlockHash ¶
func (x *WalletData) GetBlockHash() string
func (*WalletData) GetBlockHeight ¶
func (x *WalletData) GetBlockHeight() uint64
func (*WalletData) GetCollateralizedMakerOutpoints ¶
func (x *WalletData) GetCollateralizedMakerOutpoints() []*WalletOutPoint
func (*WalletData) GetCollateralizedMatchedOutpoints ¶
func (x *WalletData) GetCollateralizedMatchedOutpoints() []*WalletOutPoint
func (*WalletData) GetCollateralizedSpendableOutpoints ¶
func (x *WalletData) GetCollateralizedSpendableOutpoints() []*WalletOutPoint
func (*WalletData) GetCollateralizedUnmatchedOutpoints ¶
func (x *WalletData) GetCollateralizedUnmatchedOutpoints() []*WalletOutPoint
func (*WalletData) GetSpendableOutpoints ¶
func (x *WalletData) GetSpendableOutpoints() []*WalletOutPoint
func (*WalletData) GetUnconfirmedSpendableOutpoints ¶
func (x *WalletData) GetUnconfirmedSpendableOutpoints() []*WalletOutPoint
func (*WalletData) ProtoMessage ¶
func (*WalletData) ProtoMessage()
func (*WalletData) ProtoReflect ¶
func (x *WalletData) ProtoReflect() protoreflect.Message
func (*WalletData) Reset ¶
func (x *WalletData) Reset()
func (*WalletData) String ¶
func (x *WalletData) String() string
type WalletOutPoint ¶
type WalletOutPoint struct {
Outpoint *OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
CallbackScript []byte `protobuf:"bytes,2,opt,name=callback_script,json=callbackScript,proto3" json:"callback_script,omitempty"`
OriginalScript []byte `protobuf:"bytes,3,opt,name=original_script,json=originalScript,proto3" json:"original_script,omitempty"`
BlockHeight uint64 `protobuf:"varint,4,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
// contains filtered or unexported fields
}
func (*WalletOutPoint) Descriptor
deprecated
func (*WalletOutPoint) Descriptor() ([]byte, []int)
Deprecated: Use WalletOutPoint.ProtoReflect.Descriptor instead.
func (*WalletOutPoint) GetBlockHeight ¶
func (x *WalletOutPoint) GetBlockHeight() uint64
func (*WalletOutPoint) GetCallbackScript ¶
func (x *WalletOutPoint) GetCallbackScript() []byte
func (*WalletOutPoint) GetOriginalScript ¶
func (x *WalletOutPoint) GetOriginalScript() []byte
func (*WalletOutPoint) GetOutpoint ¶
func (x *WalletOutPoint) GetOutpoint() *OutPoint
func (*WalletOutPoint) ProtoMessage ¶
func (*WalletOutPoint) ProtoMessage()
func (*WalletOutPoint) ProtoReflect ¶
func (x *WalletOutPoint) ProtoReflect() protoreflect.Message
func (*WalletOutPoint) Reset ¶
func (x *WalletOutPoint) Reset()
func (*WalletOutPoint) String ¶
func (x *WalletOutPoint) String() string
type WirelessBcBlock ¶
type WirelessBcBlock struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // string in BcBlock (32)
PreviousHash []byte `protobuf:"bytes,2,opt,name=previous_hash,json=previousHash,proto3" json:"previous_hash,omitempty"` // string in BcBlock (32)
Version uint64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
SchemaVersion uint64 `protobuf:"varint,4,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
Height uint64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
Miner string `protobuf:"bytes,6,opt,name=miner,proto3" json:"miner,omitempty"`
Difficulty []byte `protobuf:"bytes,7,opt,name=difficulty,proto3" json:"difficulty,omitempty"` // string in BcBlock(7)
Timestamp uint64 `protobuf:"varint,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
MerkleRoot []byte `protobuf:"bytes,9,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"` // string in BcBlock (32)
ChainRoot []byte `protobuf:"bytes,10,opt,name=chain_root,json=chainRoot,proto3" json:"chain_root,omitempty"` // string in BcBlock (32)
Distance []byte `protobuf:"bytes,11,opt,name=distance,proto3" json:"distance,omitempty"` // string in BcBlock (7)
TotalDistance []byte `protobuf:"bytes,12,opt,name=total_distance,json=totalDistance,proto3" json:"total_distance,omitempty"` // string in BcBlock (13)
Nonce string `protobuf:"bytes,13,opt,name=nonce,proto3" json:"nonce,omitempty"` // TODO check if bytes
NrgGrant uint64 `protobuf:"varint,14,opt,name=nrg_grant,json=nrgGrant,proto3" json:"nrg_grant,omitempty"`
Twn uint64 `protobuf:"varint,15,opt,name=twn,proto3" json:"twn,omitempty"`
Tws []string `protobuf:"bytes,16,rep,name=tws,proto3" json:"tws,omitempty"`
EmblemWeight uint64 `protobuf:"varint,17,opt,name=emblem_weight,json=emblemWeight,proto3" json:"emblem_weight,omitempty"`
EmblemChainFingerprintRoot string `` /* 144-byte string literal not displayed */
EmblemChainAddress string `protobuf:"bytes,19,opt,name=emblem_chain_address,json=emblemChainAddress,proto3" json:"emblem_chain_address,omitempty"`
TxCount uint64 `protobuf:"varint,20,opt,name=tx_count,json=txCount,proto3" json:"tx_count,omitempty"`
Txs []*WirelessTransaction `protobuf:"bytes,21,rep,name=txs,proto3" json:"txs,omitempty"`
TxFeeBase uint64 `protobuf:"varint,22,opt,name=tx_fee_base,json=txFeeBase,proto3" json:"tx_fee_base,omitempty"`
TxDistanceSumLimit uint64 `protobuf:"varint,23,opt,name=tx_distance_sum_limit,json=txDistanceSumLimit,proto3" json:"tx_distance_sum_limit,omitempty"`
BlockchainHeadersCount uint64 `` /* 131-byte string literal not displayed */
BlockchainHeaders *WirelessBlockchainHeaders `protobuf:"bytes,25,opt,name=blockchain_headers,json=blockchainHeaders,proto3" json:"blockchain_headers,omitempty"`
BlockchainFingerprintsRoot []byte `` // string in BcBlock (32)
/* 142-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*WirelessBcBlock) Descriptor
deprecated
func (*WirelessBcBlock) Descriptor() ([]byte, []int)
Deprecated: Use WirelessBcBlock.ProtoReflect.Descriptor instead.
func (*WirelessBcBlock) GetBlockchainFingerprintsRoot ¶
func (x *WirelessBcBlock) GetBlockchainFingerprintsRoot() []byte
func (*WirelessBcBlock) GetBlockchainHeaders ¶
func (x *WirelessBcBlock) GetBlockchainHeaders() *WirelessBlockchainHeaders
func (*WirelessBcBlock) GetBlockchainHeadersCount ¶
func (x *WirelessBcBlock) GetBlockchainHeadersCount() uint64
func (*WirelessBcBlock) GetChainRoot ¶
func (x *WirelessBcBlock) GetChainRoot() []byte
func (*WirelessBcBlock) GetDifficulty ¶
func (x *WirelessBcBlock) GetDifficulty() []byte
func (*WirelessBcBlock) GetDistance ¶
func (x *WirelessBcBlock) GetDistance() []byte
func (*WirelessBcBlock) GetEmblemChainAddress ¶
func (x *WirelessBcBlock) GetEmblemChainAddress() string
func (*WirelessBcBlock) GetEmblemChainFingerprintRoot ¶
func (x *WirelessBcBlock) GetEmblemChainFingerprintRoot() string
func (*WirelessBcBlock) GetEmblemWeight ¶
func (x *WirelessBcBlock) GetEmblemWeight() uint64
func (*WirelessBcBlock) GetHash ¶
func (x *WirelessBcBlock) GetHash() []byte
func (*WirelessBcBlock) GetHeight ¶
func (x *WirelessBcBlock) GetHeight() uint64
func (*WirelessBcBlock) GetMerkleRoot ¶
func (x *WirelessBcBlock) GetMerkleRoot() []byte
func (*WirelessBcBlock) GetMiner ¶
func (x *WirelessBcBlock) GetMiner() string
func (*WirelessBcBlock) GetNonce ¶
func (x *WirelessBcBlock) GetNonce() string
func (*WirelessBcBlock) GetNrgGrant ¶
func (x *WirelessBcBlock) GetNrgGrant() uint64
func (*WirelessBcBlock) GetPreviousHash ¶
func (x *WirelessBcBlock) GetPreviousHash() []byte
func (*WirelessBcBlock) GetSchemaVersion ¶
func (x *WirelessBcBlock) GetSchemaVersion() uint64
func (*WirelessBcBlock) GetTimestamp ¶
func (x *WirelessBcBlock) GetTimestamp() uint64
func (*WirelessBcBlock) GetTotalDistance ¶
func (x *WirelessBcBlock) GetTotalDistance() []byte
func (*WirelessBcBlock) GetTwn ¶
func (x *WirelessBcBlock) GetTwn() uint64
func (*WirelessBcBlock) GetTws ¶
func (x *WirelessBcBlock) GetTws() []string
func (*WirelessBcBlock) GetTxCount ¶
func (x *WirelessBcBlock) GetTxCount() uint64
func (*WirelessBcBlock) GetTxDistanceSumLimit ¶
func (x *WirelessBcBlock) GetTxDistanceSumLimit() uint64
func (*WirelessBcBlock) GetTxFeeBase ¶
func (x *WirelessBcBlock) GetTxFeeBase() uint64
func (*WirelessBcBlock) GetTxs ¶
func (x *WirelessBcBlock) GetTxs() []*WirelessTransaction
func (*WirelessBcBlock) GetVersion ¶
func (x *WirelessBcBlock) GetVersion() uint64
func (*WirelessBcBlock) ProtoMessage ¶
func (*WirelessBcBlock) ProtoMessage()
func (*WirelessBcBlock) ProtoReflect ¶
func (x *WirelessBcBlock) ProtoReflect() protoreflect.Message
func (*WirelessBcBlock) Reset ¶
func (x *WirelessBcBlock) Reset()
func (*WirelessBcBlock) String ¶
func (x *WirelessBcBlock) String() string
type WirelessBlockchainHeader ¶
type WirelessBlockchainHeader struct {
Blockchain string `protobuf:"bytes,1,opt,name=blockchain,proto3" json:"blockchain,omitempty"`
Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
PreviousHash string `protobuf:"bytes,3,opt,name=previous_hash,json=previousHash,proto3" json:"previous_hash,omitempty"`
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Height uint64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
MerkleRoot string `protobuf:"bytes,6,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
BlockchainConfirmationsInParentCount uint64 `` /* 176-byte string literal not displayed */
MarkedTxs []*WirelessMarkedTransaction `protobuf:"bytes,8,rep,name=marked_txs,json=markedTxs,proto3" json:"marked_txs,omitempty"`
MarkedTxCount uint64 `protobuf:"varint,9,opt,name=marked_tx_count,json=markedTxCount,proto3" json:"marked_tx_count,omitempty"`
// contains filtered or unexported fields
}
func (*WirelessBlockchainHeader) Descriptor
deprecated
func (*WirelessBlockchainHeader) Descriptor() ([]byte, []int)
Deprecated: Use WirelessBlockchainHeader.ProtoReflect.Descriptor instead.
func (*WirelessBlockchainHeader) GetBlockchain ¶
func (x *WirelessBlockchainHeader) GetBlockchain() string
func (*WirelessBlockchainHeader) GetBlockchainConfirmationsInParentCount ¶
func (x *WirelessBlockchainHeader) GetBlockchainConfirmationsInParentCount() uint64
func (*WirelessBlockchainHeader) GetHash ¶
func (x *WirelessBlockchainHeader) GetHash() string
func (*WirelessBlockchainHeader) GetHeight ¶
func (x *WirelessBlockchainHeader) GetHeight() uint64
func (*WirelessBlockchainHeader) GetMarkedTxCount ¶
func (x *WirelessBlockchainHeader) GetMarkedTxCount() uint64
func (*WirelessBlockchainHeader) GetMarkedTxs ¶
func (x *WirelessBlockchainHeader) GetMarkedTxs() []*WirelessMarkedTransaction
func (*WirelessBlockchainHeader) GetMerkleRoot ¶
func (x *WirelessBlockchainHeader) GetMerkleRoot() string
func (*WirelessBlockchainHeader) GetPreviousHash ¶
func (x *WirelessBlockchainHeader) GetPreviousHash() string
func (*WirelessBlockchainHeader) GetTimestamp ¶
func (x *WirelessBlockchainHeader) GetTimestamp() uint64
func (*WirelessBlockchainHeader) ProtoMessage ¶
func (*WirelessBlockchainHeader) ProtoMessage()
func (*WirelessBlockchainHeader) ProtoReflect ¶
func (x *WirelessBlockchainHeader) ProtoReflect() protoreflect.Message
func (*WirelessBlockchainHeader) Reset ¶
func (x *WirelessBlockchainHeader) Reset()
func (*WirelessBlockchainHeader) String ¶
func (x *WirelessBlockchainHeader) String() string
type WirelessBlockchainHeaders ¶
type WirelessBlockchainHeaders struct {
Btc []*WirelessBlockchainHeader `protobuf:"bytes,1,rep,name=btc,proto3" json:"btc,omitempty"`
Eth []*WirelessBlockchainHeader `protobuf:"bytes,2,rep,name=eth,proto3" json:"eth,omitempty"`
Lsk []*WirelessBlockchainHeader `protobuf:"bytes,3,rep,name=lsk,proto3" json:"lsk,omitempty"`
Neo []*WirelessBlockchainHeader `protobuf:"bytes,4,rep,name=neo,proto3" json:"neo,omitempty"`
Wav []*WirelessBlockchainHeader `protobuf:"bytes,5,rep,name=wav,proto3" json:"wav,omitempty"`
// contains filtered or unexported fields
}
func (*WirelessBlockchainHeaders) Descriptor
deprecated
func (*WirelessBlockchainHeaders) Descriptor() ([]byte, []int)
Deprecated: Use WirelessBlockchainHeaders.ProtoReflect.Descriptor instead.
func (*WirelessBlockchainHeaders) GetBtc ¶
func (x *WirelessBlockchainHeaders) GetBtc() []*WirelessBlockchainHeader
func (*WirelessBlockchainHeaders) GetEth ¶
func (x *WirelessBlockchainHeaders) GetEth() []*WirelessBlockchainHeader
func (*WirelessBlockchainHeaders) GetLsk ¶
func (x *WirelessBlockchainHeaders) GetLsk() []*WirelessBlockchainHeader
func (*WirelessBlockchainHeaders) GetNeo ¶
func (x *WirelessBlockchainHeaders) GetNeo() []*WirelessBlockchainHeader
func (*WirelessBlockchainHeaders) GetWav ¶
func (x *WirelessBlockchainHeaders) GetWav() []*WirelessBlockchainHeader
func (*WirelessBlockchainHeaders) ProtoMessage ¶
func (*WirelessBlockchainHeaders) ProtoMessage()
func (*WirelessBlockchainHeaders) ProtoReflect ¶
func (x *WirelessBlockchainHeaders) ProtoReflect() protoreflect.Message
func (*WirelessBlockchainHeaders) Reset ¶
func (x *WirelessBlockchainHeaders) Reset()
func (*WirelessBlockchainHeaders) String ¶
func (x *WirelessBlockchainHeaders) String() string
type WirelessMarkedTransaction ¶
type WirelessMarkedTransaction struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // the unique hash representing this transaction in the bridged chain
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // TODO: add blockchain / dataset identification field, 'eth', 'btc', ....
Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` // chains smart contract address, not BC
AddrFrom string `protobuf:"bytes,5,opt,name=addr_from,json=addrFrom,proto3" json:"addr_from,omitempty"` // bridged chains address, not BC
AddrTo string `protobuf:"bytes,6,opt,name=addr_to,json=addrTo,proto3" json:"addr_to,omitempty"` // bridged chains address, not BC
BlockHeight uint64 `protobuf:"varint,7,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // the block number in the bridged chain containing this transaction
Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` // the position relative to other marked transactions
BlockHash string `protobuf:"bytes,9,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // the block in which the marked transaction was stored, not BC, format of the bridged chain
// contains filtered or unexported fields
}
func (*WirelessMarkedTransaction) Descriptor
deprecated
func (*WirelessMarkedTransaction) Descriptor() ([]byte, []int)
Deprecated: Use WirelessMarkedTransaction.ProtoReflect.Descriptor instead.
func (*WirelessMarkedTransaction) GetAddrFrom ¶
func (x *WirelessMarkedTransaction) GetAddrFrom() string
func (*WirelessMarkedTransaction) GetAddrTo ¶
func (x *WirelessMarkedTransaction) GetAddrTo() string
func (*WirelessMarkedTransaction) GetBlockHash ¶
func (x *WirelessMarkedTransaction) GetBlockHash() string
func (*WirelessMarkedTransaction) GetBlockHeight ¶
func (x *WirelessMarkedTransaction) GetBlockHeight() uint64
func (*WirelessMarkedTransaction) GetHash ¶
func (x *WirelessMarkedTransaction) GetHash() string
func (*WirelessMarkedTransaction) GetId ¶
func (x *WirelessMarkedTransaction) GetId() string
func (*WirelessMarkedTransaction) GetIndex ¶
func (x *WirelessMarkedTransaction) GetIndex() uint64
func (*WirelessMarkedTransaction) GetToken ¶
func (x *WirelessMarkedTransaction) GetToken() string
func (*WirelessMarkedTransaction) GetValue ¶
func (x *WirelessMarkedTransaction) GetValue() []byte
func (*WirelessMarkedTransaction) ProtoMessage ¶
func (*WirelessMarkedTransaction) ProtoMessage()
func (*WirelessMarkedTransaction) ProtoReflect ¶
func (x *WirelessMarkedTransaction) ProtoReflect() protoreflect.Message
func (*WirelessMarkedTransaction) Reset ¶
func (x *WirelessMarkedTransaction) Reset()
func (*WirelessMarkedTransaction) String ¶
func (x *WirelessMarkedTransaction) String() string
type WirelessOutPoint ¶
type WirelessOutPoint struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // string in OutPoint (32)
Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
// contains filtered or unexported fields
}
func (*WirelessOutPoint) Descriptor
deprecated
func (*WirelessOutPoint) Descriptor() ([]byte, []int)
Deprecated: Use WirelessOutPoint.ProtoReflect.Descriptor instead.
func (*WirelessOutPoint) GetHash ¶
func (x *WirelessOutPoint) GetHash() []byte
func (*WirelessOutPoint) GetIndex ¶
func (x *WirelessOutPoint) GetIndex() uint64
func (*WirelessOutPoint) GetValue ¶
func (x *WirelessOutPoint) GetValue() []byte
func (*WirelessOutPoint) ProtoMessage ¶
func (*WirelessOutPoint) ProtoMessage()
func (*WirelessOutPoint) ProtoReflect ¶
func (x *WirelessOutPoint) ProtoReflect() protoreflect.Message
func (*WirelessOutPoint) Reset ¶
func (x *WirelessOutPoint) Reset()
func (*WirelessOutPoint) String ¶
func (x *WirelessOutPoint) String() string
type WirelessTransaction ¶
type WirelessTransaction struct {
Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // <rnd>+<minerAddess> / <tx mine work> TODO check if bytes
Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // string in Transaction (32)
Overline string `protobuf:"bytes,4,opt,name=overline,proto3" json:"overline,omitempty"`
NinCount uint64 `protobuf:"varint,5,opt,name=nin_count,json=ninCount,proto3" json:"nin_count,omitempty"`
NoutCount uint64 `protobuf:"varint,6,opt,name=nout_count,json=noutCount,proto3" json:"nout_count,omitempty"`
Inputs []*WirelessTransactionInput `protobuf:"bytes,7,rep,name=inputs,proto3" json:"inputs,omitempty"`
Outputs []*WirelessTransactionOutput `protobuf:"bytes,8,rep,name=outputs,proto3" json:"outputs,omitempty"`
LockTime uint32 `protobuf:"varint,9,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"`
// contains filtered or unexported fields
}
func (*WirelessTransaction) Descriptor
deprecated
func (*WirelessTransaction) Descriptor() ([]byte, []int)
Deprecated: Use WirelessTransaction.ProtoReflect.Descriptor instead.
func (*WirelessTransaction) GetHash ¶
func (x *WirelessTransaction) GetHash() []byte
func (*WirelessTransaction) GetInputs ¶
func (x *WirelessTransaction) GetInputs() []*WirelessTransactionInput
func (*WirelessTransaction) GetLockTime ¶
func (x *WirelessTransaction) GetLockTime() uint32
func (*WirelessTransaction) GetNinCount ¶
func (x *WirelessTransaction) GetNinCount() uint64
func (*WirelessTransaction) GetNonce ¶
func (x *WirelessTransaction) GetNonce() string
func (*WirelessTransaction) GetNoutCount ¶
func (x *WirelessTransaction) GetNoutCount() uint64
func (*WirelessTransaction) GetOutputs ¶
func (x *WirelessTransaction) GetOutputs() []*WirelessTransactionOutput
func (*WirelessTransaction) GetOverline ¶
func (x *WirelessTransaction) GetOverline() string
func (*WirelessTransaction) GetVersion ¶
func (x *WirelessTransaction) GetVersion() uint64
func (*WirelessTransaction) ProtoMessage ¶
func (*WirelessTransaction) ProtoMessage()
func (*WirelessTransaction) ProtoReflect ¶
func (x *WirelessTransaction) ProtoReflect() protoreflect.Message
func (*WirelessTransaction) Reset ¶
func (x *WirelessTransaction) Reset()
func (*WirelessTransaction) String ¶
func (x *WirelessTransaction) String() string
type WirelessTransactionInput ¶
type WirelessTransactionInput struct {
OutPoint *WirelessOutPoint `protobuf:"bytes,1,opt,name=out_point,json=outPoint,proto3" json:"out_point,omitempty"`
ScriptLength uint32 `protobuf:"varint,2,opt,name=script_length,json=scriptLength,proto3" json:"script_length,omitempty"`
InputScript []byte `protobuf:"bytes,3,opt,name=input_script,json=inputScript,proto3" json:"input_script,omitempty"`
// contains filtered or unexported fields
}
func (*WirelessTransactionInput) Descriptor
deprecated
func (*WirelessTransactionInput) Descriptor() ([]byte, []int)
Deprecated: Use WirelessTransactionInput.ProtoReflect.Descriptor instead.
func (*WirelessTransactionInput) GetInputScript ¶
func (x *WirelessTransactionInput) GetInputScript() []byte
func (*WirelessTransactionInput) GetOutPoint ¶
func (x *WirelessTransactionInput) GetOutPoint() *WirelessOutPoint
func (*WirelessTransactionInput) GetScriptLength ¶
func (x *WirelessTransactionInput) GetScriptLength() uint32
func (*WirelessTransactionInput) ProtoMessage ¶
func (*WirelessTransactionInput) ProtoMessage()
func (*WirelessTransactionInput) ProtoReflect ¶
func (x *WirelessTransactionInput) ProtoReflect() protoreflect.Message
func (*WirelessTransactionInput) Reset ¶
func (x *WirelessTransactionInput) Reset()
func (*WirelessTransactionInput) String ¶
func (x *WirelessTransactionInput) String() string
type WirelessTransactionOutput ¶
type WirelessTransactionOutput struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Unit []byte `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
ScriptLength uint32 `protobuf:"varint,3,opt,name=script_length,json=scriptLength,proto3" json:"script_length,omitempty"`
OutputScript []byte `protobuf:"bytes,4,opt,name=output_script,json=outputScript,proto3" json:"output_script,omitempty"`
// contains filtered or unexported fields
}
func (*WirelessTransactionOutput) Descriptor
deprecated
func (*WirelessTransactionOutput) Descriptor() ([]byte, []int)
Deprecated: Use WirelessTransactionOutput.ProtoReflect.Descriptor instead.
func (*WirelessTransactionOutput) GetOutputScript ¶
func (x *WirelessTransactionOutput) GetOutputScript() []byte
func (*WirelessTransactionOutput) GetScriptLength ¶
func (x *WirelessTransactionOutput) GetScriptLength() uint32
func (*WirelessTransactionOutput) GetUnit ¶
func (x *WirelessTransactionOutput) GetUnit() []byte
func (*WirelessTransactionOutput) GetValue ¶
func (x *WirelessTransactionOutput) GetValue() []byte
func (*WirelessTransactionOutput) ProtoMessage ¶
func (*WirelessTransactionOutput) ProtoMessage()
func (*WirelessTransactionOutput) ProtoReflect ¶
func (x *WirelessTransactionOutput) ProtoReflect() protoreflect.Message
func (*WirelessTransactionOutput) Reset ¶
func (x *WirelessTransactionOutput) Reset()
func (*WirelessTransactionOutput) String ¶
func (x *WirelessTransactionOutput) String() string