Documentation ¶
Index ¶
- Constants
- Variables
- func MaxInt32(v []int32) int32
- func ReturnCheckTx(code uint32, log string) types.ResponseCheckTx
- type ABCIApplication
- func (app *ABCIApplication) AddAccessor(param string, nodeID string) types.ResponseDeliverTx
- func (app *ABCIApplication) BeginBlock(req types.RequestBeginBlock) types.ResponseBeginBlock
- func (app *ABCIApplication) CheckTx(req types.RequestCheckTx) (res types.ResponseCheckTx)
- func (app *ABCIApplication) CheckTxRouter(method string, param string, nonce []byte, signature []byte, nodeID string, ...) types.ResponseCheckTx
- func (app *ABCIApplication) Commit() types.ResponseCommit
- func (app *ABCIApplication) DeliverTx(req types.RequestDeliverTx) (res types.ResponseDeliverTx)
- func (app *ABCIApplication) DeliverTxRouter(method string, param string, nonce []byte, signature []byte, nodeID string) types.ResponseDeliverTx
- func (app *ABCIApplication) EndBlock(req types.RequestEndBlock) types.ResponseEndBlock
- func (app *ABCIApplication) EndInit(param string, nodeID string) types.ResponseDeliverTx
- func (app *ABCIApplication) GetAllowedMinIalForRegisterIdentityAtFirstIdp(param string) types.ResponseQuery
- func (app *ABCIApplication) GetAllowedMinIalForRegisterIdentityAtFirstIdpFromStateDB(committedState bool) float64
- func (app *ABCIApplication) GetAllowedModeFromStateDB(purpose string, committedState bool) (result []int32)
- func (app *ABCIApplication) GetAllowedModeList(param string) types.ResponseQuery
- func (app *ABCIApplication) GetNamespaceAllowedIdentifierCountMap(committedState bool) (result map[string]int)
- func (app *ABCIApplication) GetNamespaceMap(committedState bool) (result map[string]bool)
- func (app *ABCIApplication) GetReferenceGroupCode(param string) types.ResponseQuery
- func (app *ABCIApplication) GetReferenceGroupCodeByAccessorID(param string) types.ResponseQuery
- func (app *ABCIApplication) Info(req types.RequestInfo) (resInfo types.ResponseInfo)
- func (app *ABCIApplication) InitChain(req types.RequestInitChain) types.ResponseInitChain
- func (app *ABCIApplication) Query(reqQuery types.RequestQuery) (res types.ResponseQuery)
- func (app *ABCIApplication) QueryRouter(method string, param string, height int64) types.ResponseQuery
- func (app *ABCIApplication) ReturnDeliverTxLog(code uint32, log string, extraData string) types.ResponseDeliverTx
- func (app *ABCIApplication) ReturnDeliverTxLogWithAttributes(code uint32, log string, additionalAttributes []cmn.KVPair) types.ResponseDeliverTx
- func (app *ABCIApplication) ReturnQuery(value []byte, log string, height int64) types.ResponseQuery
- func (app *ABCIApplication) SetAllowedMinIalForRegisterIdentityAtFirstIdp(param string, nodeID string) types.ResponseDeliverTx
- func (app *ABCIApplication) SetAllowedModeList(param string, nodeID string) types.ResponseDeliverTx
- func (app *ABCIApplication) SetInitData(param string, nodeID string) types.ResponseDeliverTx
- func (app *ABCIApplication) Validators() (validators []types.Validator)
- type ASNode
- type ASNodeResult
- type ASWithMqNode
- type ASWithMqNodeBehindProxy
- type ASorRPBehindProxy
- type Accessor
- type AddAccessorParam
- type AddIdentityParam
- type AddNodeToProxyNodeParam
- type AddNodeTokenParam
- type AddServiceParam
- type AppState
- func (appState *AppState) Delete(key []byte)
- func (appState *AppState) DeleteVersioned(key []byte)
- func (appState *AppState) Get(key []byte, committed bool) (value []byte, err error)
- func (appState *AppState) GetVersioned(key []byte, height int64, committed bool) (value []byte, err error)
- func (appState *AppState) Has(key []byte, committed bool) bool
- func (appState *AppState) HasVersioned(key []byte, committed bool) bool
- func (appState *AppState) Save()
- func (appState *AppState) SaveMetadata()
- func (appState *AppState) Set(key, value []byte)
- func (appState *AppState) SetVersioned(key, value []byte)
- type AppStateMetadata
- type ApproveService
- type CheckExistingAccessorGroupIDParam
- type CheckExistingAccessorIDParam
- type CheckExistingIdentityParam
- type CheckExistingIdentityResult
- type CheckExistingResult
- type ClearRegisterIdentityTimeoutParam
- type CloseRequestParam
- type CreateIdpResponseParam
- type CreateRequestParam
- type DataRequest
- type DisableAccessorMethodParam
- type DisableMsqDestinationParam
- type DisableNamespaceParam
- type DisableNodeParam
- type DisableServiceDestinationByNDIDParam
- type DisableServiceDestinationParam
- type DisableServiceParam
- type EndInitParam
- type GetAccessorGroupIDParam
- type GetAccessorGroupIDResult
- type GetAccessorKeyParam
- type GetAccessorKeyResult
- type GetAccessorMethodParam
- type GetAccessorMethodResult
- type GetAccessorOwnerParam
- type GetAccessorOwnerResult
- type GetAccessorsInAccessorGroupParam
- type GetAccessorsInAccessorGroupResult
- type GetAllowedMinIalForRegisterIdentityAtFirstIdpResult
- type GetAllowedModeListParam
- type GetAllowedModeListResult
- type GetAsNodesByServiceIdParam
- type GetAsNodesByServiceIdResult
- type GetAsNodesByServiceIdWithNameResult
- type GetAsNodesInfoByServiceIdResult
- type GetDataSignatureParam
- type GetDataSignatureResult
- type GetIdentityInfoParam
- type GetIdentityInfoResult
- type GetIdpNodesInfoResult
- type GetIdpNodesParam
- type GetIdpNodesResult
- type GetMqAddressesParam
- type GetMqAddressesResult
- type GetNodeIDListParam
- type GetNodeIDListResult
- type GetNodeInfoIdPResult
- type GetNodeInfoParam
- type GetNodeInfoResult
- type GetNodeInfoResultIdPandASBehindProxy
- type GetNodeInfoResultRPandASBehindProxy
- type GetNodeMasterPublicKeyParam
- type GetNodeMasterPublicKeyResult
- type GetNodePublicKeyParam
- type GetNodePublicKeyResult
- type GetNodeTokenParam
- type GetNodeTokenResult
- type GetNodesBehindProxyNodeParam
- type GetNodesBehindProxyNodeResult
- type GetPriceFuncParam
- type GetPriceFuncResult
- type GetReferenceGroupCodeByAccessorIDParam
- type GetReferenceGroupCodeParam
- type GetReferenceGroupCodeResult
- type GetRequestDetailResult
- type GetRequestParam
- type GetRequestResult
- type GetServiceDetailParam
- type GetServicesByAsIDParam
- type GetServicesByAsIDResult
- type IdPBehindProxy
- type Identity
- type IdpNode
- type IdpNodeBehindProxy
- type IdpNodeBehindProxyWithModeList
- type IdpNodeWithModeList
- type InitNDIDParam
- type IsInitEndedParam
- type IsInitEndedResult
- type KeyValue
- type MaxIalAal
- type MsqAddress
- type MsqDestination
- type MsqDestinationNode
- type MsqDestinationNodeWithModeList
- type Namespace
- type Node
- type NodeDetail
- type NodePublicKey
- type Proxy
- type ReduceNodeTokenParam
- type RegisterAccessorParam
- type RegisterIdentityParam
- type RegisterNode
- type RegisterServiceDestinationByNDIDParam
- type RegisterServiceDestinationParam
- type RemoveNodeFromProxyNode
- type Report
- type RequestIDParam
- type Response
- type ResponseValid
- type RevokeAccessorParam
- type RevokeAndAddAccessorParam
- type RevokeIdentityAssociationParam
- type Service
- type ServiceDetail
- type SetAllowedMinIalForRegisterIdentityAtFirstIdpParam
- type SetAllowedModeListParam
- type SetDataReceivedParam
- type SetInitDataParam
- type SetLastBlockParam
- type SetMqAddressesParam
- type SetNodeTokenParam
- type SetPriceFuncParam
- type SetValidatorParam
- type SignDataParam
- type TimeOutBlockRegisterIdentity
- type TimeOutRequestParam
- type TransferNDIDParam
- type UpdateIdentityModeListParam
- type UpdateIdentityParam
- type UpdateNamespaceParam
- type UpdateNodeByNDIDParam
- type UpdateNodeParam
- type UpdateNodeProxyNodeParam
- type UpdateServiceDestinationParam
- type UpdateServiceParam
Constants ¶
View Source
const (
ValidatorSetChangePrefix string = "val:"
)
Variables ¶
View Source
var IsCheckOwnerRequestMethod = map[string]bool{ "CloseRequest": true, "TimeOutRequest": true, "SetDataReceived": true, }
View Source
var IsMasterKeyMethod = map[string]bool{ "UpdateNode": true, }
View Source
var IsMethod = map[string]bool{ "InitNDID": true, "RegisterNode": true, "AddNodeToken": true, "ReduceNodeToken": true, "SetNodeToken": true, "SetPriceFunc": true, "AddNamespace": true, "SetValidator": true, "AddService": true, "UpdateNodeByNDID": true, "UpdateService": true, "RegisterServiceDestinationByNDID": true, "DisableNode": true, "DisableNamespace": true, "DisableService": true, "DisableServiceDestinationByNDID": true, "EnableNode": true, "EnableServiceDestinationByNDID": true, "EnableNamespace": true, "EnableService": true, "RegisterIdentity": true, "AddAccessor": true, "CreateIdpResponse": true, "RegisterAccessor": true, "UpdateIdentity": true, "SignData": true, "RegisterServiceDestination": true, "UpdateServiceDestination": true, "CreateRequest": true, "SetMqAddresses": true, "UpdateNode": true, "CloseRequest": true, "TimeOutRequest": true, "SetDataReceived": true, "DisableServiceDestination": true, "EnableServiceDestination": true, "ClearRegisterIdentityTimeout": true, "SetTimeOutBlockRegisterIdentity": true, "AddNodeToProxyNode": true, "UpdateNodeProxyNode": true, "RemoveNodeFromProxyNode": true, "RevokeAccessor": true, "SetInitData": true, "EndInit": true, "SetLastBlock": true, "RevokeIdentityAssociation": true, "UpdateIdentityModeList": true, "AddIdentity": true, "SetAllowedModeList": true, "UpdateNamespace": true, "SetAllowedMinIalForRegisterIdentityAtFirstIdp": true, "RevokeAndAddAccessor": true, }
Functions ¶
func ReturnCheckTx ¶
func ReturnCheckTx(code uint32, log string) types.ResponseCheckTx
ReturnCheckTx return types.ResponseDeliverTx
Types ¶
type ABCIApplication ¶
type ABCIApplication struct { types.BaseApplication AppProtocolVersion uint64 CurrentChain string Version string // contains filtered or unexported fields }
func NewABCIApplication ¶
func NewABCIApplication(logger *logrus.Entry, db dbm.DB) *ABCIApplication
func (*ABCIApplication) AddAccessor ¶
func (app *ABCIApplication) AddAccessor(param string, nodeID string) types.ResponseDeliverTx
func (*ABCIApplication) BeginBlock ¶
func (app *ABCIApplication) BeginBlock(req types.RequestBeginBlock) types.ResponseBeginBlock
Track the block hash and header information
func (*ABCIApplication) CheckTx ¶
func (app *ABCIApplication) CheckTx(req types.RequestCheckTx) (res types.ResponseCheckTx)
func (*ABCIApplication) CheckTxRouter ¶
func (app *ABCIApplication) CheckTxRouter(method string, param string, nonce []byte, signature []byte, nodeID string, committedState bool) types.ResponseCheckTx
CheckTxRouter check if Tx is valid TODO: add parameter "committedState" (bool) since both CheckTx and DeliverTx call this function CheckTx must get committed state while DeliverTx must get uncommitted state
func (*ABCIApplication) Commit ¶
func (app *ABCIApplication) Commit() types.ResponseCommit
func (*ABCIApplication) DeliverTx ¶
func (app *ABCIApplication) DeliverTx(req types.RequestDeliverTx) (res types.ResponseDeliverTx)
func (*ABCIApplication) DeliverTxRouter ¶
func (app *ABCIApplication) DeliverTxRouter(method string, param string, nonce []byte, signature []byte, nodeID string) types.ResponseDeliverTx
DeliverTxRouter is Pointer to function
func (*ABCIApplication) EndBlock ¶
func (app *ABCIApplication) EndBlock(req types.RequestEndBlock) types.ResponseEndBlock
Update the validator set
func (*ABCIApplication) EndInit ¶
func (app *ABCIApplication) EndInit(param string, nodeID string) types.ResponseDeliverTx
func (*ABCIApplication) GetAllowedMinIalForRegisterIdentityAtFirstIdp ¶
func (app *ABCIApplication) GetAllowedMinIalForRegisterIdentityAtFirstIdp(param string) types.ResponseQuery
func (*ABCIApplication) GetAllowedMinIalForRegisterIdentityAtFirstIdpFromStateDB ¶
func (app *ABCIApplication) GetAllowedMinIalForRegisterIdentityAtFirstIdpFromStateDB(committedState bool) float64
func (*ABCIApplication) GetAllowedModeFromStateDB ¶
func (app *ABCIApplication) GetAllowedModeFromStateDB(purpose string, committedState bool) (result []int32)
func (*ABCIApplication) GetAllowedModeList ¶
func (app *ABCIApplication) GetAllowedModeList(param string) types.ResponseQuery
func (*ABCIApplication) GetNamespaceAllowedIdentifierCountMap ¶
func (app *ABCIApplication) GetNamespaceAllowedIdentifierCountMap(committedState bool) (result map[string]int)
func (*ABCIApplication) GetNamespaceMap ¶
func (app *ABCIApplication) GetNamespaceMap(committedState bool) (result map[string]bool)
func (*ABCIApplication) GetReferenceGroupCode ¶
func (app *ABCIApplication) GetReferenceGroupCode(param string) types.ResponseQuery
func (*ABCIApplication) GetReferenceGroupCodeByAccessorID ¶
func (app *ABCIApplication) GetReferenceGroupCodeByAccessorID(param string) types.ResponseQuery
func (*ABCIApplication) Info ¶
func (app *ABCIApplication) Info(req types.RequestInfo) (resInfo types.ResponseInfo)
func (*ABCIApplication) InitChain ¶
func (app *ABCIApplication) InitChain(req types.RequestInitChain) types.ResponseInitChain
Save the validators in the merkle tree
func (*ABCIApplication) Query ¶
func (app *ABCIApplication) Query(reqQuery types.RequestQuery) (res types.ResponseQuery)
func (*ABCIApplication) QueryRouter ¶
func (app *ABCIApplication) QueryRouter(method string, param string, height int64) types.ResponseQuery
QueryRouter is Pointer to function
func (*ABCIApplication) ReturnDeliverTxLog ¶
func (app *ABCIApplication) ReturnDeliverTxLog(code uint32, log string, extraData string) types.ResponseDeliverTx
app.ReturnDeliverTxLog return types.ResponseDeliverTx
func (*ABCIApplication) ReturnDeliverTxLogWithAttributes ¶
func (app *ABCIApplication) ReturnDeliverTxLogWithAttributes(code uint32, log string, additionalAttributes []cmn.KVPair) types.ResponseDeliverTx
func (*ABCIApplication) ReturnQuery ¶
func (app *ABCIApplication) ReturnQuery(value []byte, log string, height int64) types.ResponseQuery
ReturnQuery return types.ResponseQuery
func (*ABCIApplication) SetAllowedMinIalForRegisterIdentityAtFirstIdp ¶
func (app *ABCIApplication) SetAllowedMinIalForRegisterIdentityAtFirstIdp(param string, nodeID string) types.ResponseDeliverTx
func (*ABCIApplication) SetAllowedModeList ¶
func (app *ABCIApplication) SetAllowedModeList(param string, nodeID string) types.ResponseDeliverTx
func (*ABCIApplication) SetInitData ¶
func (app *ABCIApplication) SetInitData(param string, nodeID string) types.ResponseDeliverTx
func (*ABCIApplication) Validators ¶
func (app *ABCIApplication) Validators() (validators []types.Validator)
type ASNodeResult ¶
type ASWithMqNode ¶
type ASWithMqNodeBehindProxy ¶
type ASWithMqNodeBehindProxy struct { NodeID string `json:"node_id"` Name string `json:"name"` MinIal float64 `json:"min_ial"` MinAal float64 `json:"min_aal"` PublicKey string `json:"public_key"` SupportedNamespaceList []string `json:"supported_namespace_list"` Proxy struct { NodeID string `json:"node_id"` PublicKey string `json:"public_key"` Mq []MsqAddress `json:"mq"` Config string `json:"config"` } `json:"proxy"` }
type ASorRPBehindProxy ¶
type AddAccessorParam ¶
type AddAccessorParam struct { ReferenceGroupCode string `json:"reference_group_code"` IdentityNamespace string `json:"identity_namespace"` IdentityIdentifierHash string `json:"identity_identifier_hash"` AccessorID string `json:"accessor_id"` AccessorPublicKey string `json:"accessor_public_key"` AccessorType string `json:"accessor_type"` RequestID string `json:"request_id"` }
type AddIdentityParam ¶
type AddNodeToProxyNodeParam ¶
type AddNodeTokenParam ¶
type AddServiceParam ¶
type AppState ¶
type AppState struct { AppStateMetadata CurrentBlockHeight int64 HashData []byte // contains filtered or unexported fields }
func NewAppState ¶
func (*AppState) DeleteVersioned ¶
func (*AppState) GetVersioned ¶
func (*AppState) HasVersioned ¶
func (*AppState) SaveMetadata ¶
func (appState *AppState) SaveMetadata()
func (*AppState) SetVersioned ¶
type AppStateMetadata ¶
type ApproveService ¶
type ApproveService struct {
Active bool `json:"active"`
}
type CheckExistingAccessorGroupIDParam ¶
type CheckExistingAccessorGroupIDParam struct {
AccessorGroupID string `json:"accessor_group_id"`
}
type CheckExistingAccessorIDParam ¶
type CheckExistingAccessorIDParam struct {
AccessorID string `json:"accessor_id"`
}
type CheckExistingIdentityResult ¶
type CheckExistingIdentityResult struct {
Exist bool `json:"exist"`
}
type CheckExistingResult ¶
type CheckExistingResult struct {
Exist bool `json:"exist"`
}
type ClearRegisterIdentityTimeoutParam ¶
type ClearRegisterIdentityTimeoutParam struct {
HashID string `json:"hash_id"`
}
type CloseRequestParam ¶
type CloseRequestParam struct { RequestID string `json:"request_id"` ResponseValidList []ResponseValid `json:"response_valid_list"` }
type CreateIdpResponseParam ¶
type CreateRequestParam ¶
type CreateRequestParam struct { RequestID string `json:"request_id"` MinIdp int `json:"min_idp"` MinAal float64 `json:"min_aal"` MinIal float64 `json:"min_ial"` Timeout int `json:"request_timeout"` IdPIDList []string `json:"idp_id_list"` DataRequestList []DataRequest `json:"data_request_list"` MessageHash string `json:"request_message_hash"` Purpose string `json:"purpose"` Mode int32 `json:"mode"` }
type DataRequest ¶
type DisableAccessorMethodParam ¶
type DisableAccessorMethodParam struct {
AccessorID string `json:"accessor_id"`
}
type DisableMsqDestinationParam ¶
type DisableMsqDestinationParam struct {
HashID string `json:"hash_id"`
}
type DisableNamespaceParam ¶
type DisableNamespaceParam struct {
Namespace string `json:"namespace"`
}
type DisableNodeParam ¶
type DisableNodeParam struct {
NodeID string `json:"node_id"`
}
type DisableServiceDestinationParam ¶
type DisableServiceDestinationParam struct {
ServiceID string `json:"service_id"`
}
type DisableServiceParam ¶
type DisableServiceParam struct {
ServiceID string `json:"service_id"`
}
type EndInitParam ¶
type EndInitParam struct{}
type GetAccessorGroupIDParam ¶
type GetAccessorGroupIDParam struct {
AccessorID string `json:"accessor_id"`
}
type GetAccessorGroupIDResult ¶
type GetAccessorGroupIDResult struct {
AccessorGroupID string `json:"accessor_group_id"`
}
type GetAccessorKeyParam ¶
type GetAccessorKeyParam struct {
AccessorID string `json:"accessor_id"`
}
type GetAccessorKeyResult ¶
type GetAccessorMethodParam ¶
type GetAccessorMethodParam struct {
AccessorID string `json:"accessor_id"`
}
type GetAccessorMethodResult ¶
type GetAccessorOwnerParam ¶
type GetAccessorOwnerParam struct {
AccessorID string `json:"accessor_id"`
}
type GetAccessorOwnerResult ¶
type GetAccessorOwnerResult struct {
NodeID string `json:"node_id"`
}
type GetAccessorsInAccessorGroupResult ¶
type GetAccessorsInAccessorGroupResult struct {
AccessorList []string `json:"accessor_list"`
}
type GetAllowedMinIalForRegisterIdentityAtFirstIdpResult ¶
type GetAllowedMinIalForRegisterIdentityAtFirstIdpResult struct {
MinIal float64 `json:"min_ial"`
}
type GetAllowedModeListParam ¶
type GetAllowedModeListParam struct {
Purpose string `json:"purpose"`
}
type GetAllowedModeListResult ¶
type GetAllowedModeListResult struct {
AllowedModeList []int32 `json:"allowed_mode_list"`
}
type GetAsNodesByServiceIdResult ¶
type GetAsNodesByServiceIdResult struct {
Node []ASNode `json:"node"`
}
type GetAsNodesByServiceIdWithNameResult ¶
type GetAsNodesByServiceIdWithNameResult struct {
Node []ASNodeResult `json:"node"`
}
type GetAsNodesInfoByServiceIdResult ¶
type GetAsNodesInfoByServiceIdResult struct {
Node []interface{} `json:"node"`
}
type GetDataSignatureParam ¶
type GetDataSignatureResult ¶
type GetDataSignatureResult struct {
Signature string `json:"signature"`
}
type GetIdentityInfoParam ¶
type GetIdentityInfoResult ¶
type GetIdpNodesInfoResult ¶
type GetIdpNodesInfoResult struct {
Node []interface{} `json:"node"`
}
type GetIdpNodesParam ¶
type GetIdpNodesParam struct { ReferenceGroupCode string `json:"reference_group_code"` IdentityNamespace string `json:"identity_namespace"` IdentityIdentifierHash string `json:"identity_identifier_hash"` MinAal float64 `json:"min_aal"` MinIal float64 `json:"min_ial"` NodeIDList []string `json:"node_id_list"` SupportedRequestMessageDataUrlTypeList []string `json:"supported_request_message_data_url_type_list"` ModeList []int32 `json:"mode_list"` }
type GetIdpNodesResult ¶
type GetIdpNodesResult struct {
Node []interface{} `json:"node"`
}
type GetMqAddressesParam ¶
type GetMqAddressesParam struct {
NodeID string `json:"node_id"`
}
type GetMqAddressesResult ¶
type GetMqAddressesResult []MsqAddress
type GetNodeIDListParam ¶
type GetNodeIDListParam struct {
Role string `json:"role"`
}
type GetNodeIDListResult ¶
type GetNodeIDListResult struct {
NodeIDList []string `json:"node_id_list"`
}
type GetNodeInfoIdPResult ¶
type GetNodeInfoIdPResult struct { PublicKey string `json:"public_key"` MasterPublicKey string `json:"master_public_key"` NodeName string `json:"node_name"` Role string `json:"role"` MaxIal float64 `json:"max_ial"` MaxAal float64 `json:"max_aal"` SupportedRequestMessageDataUrlTypeList []string `json:"supported_request_message_data_url_type_list"` Mq []MsqAddress `json:"mq"` Active bool `json:"active"` }
type GetNodeInfoParam ¶
type GetNodeInfoParam struct {
NodeID string `json:"node_id"`
}
type GetNodeInfoResult ¶
type GetNodeInfoResultIdPandASBehindProxy ¶
type GetNodeInfoResultIdPandASBehindProxy struct { PublicKey string `json:"public_key"` MasterPublicKey string `json:"master_public_key"` NodeName string `json:"node_name"` Role string `json:"role"` MaxIal float64 `json:"max_ial"` MaxAal float64 `json:"max_aal"` SupportedRequestMessageDataUrlTypeList []string `json:"supported_request_message_data_url_type_list"` Proxy struct { NodeID string `json:"node_id"` NodeName string `json:"node_name"` PublicKey string `json:"public_key"` MasterPublicKey string `json:"master_public_key"` Mq []MsqAddress `json:"mq"` Config string `json:"config"` } `json:"proxy"` Active bool `json:"active"` }
type GetNodeInfoResultRPandASBehindProxy ¶
type GetNodeInfoResultRPandASBehindProxy struct { PublicKey string `json:"public_key"` MasterPublicKey string `json:"master_public_key"` NodeName string `json:"node_name"` Role string `json:"role"` Proxy struct { NodeID string `json:"node_id"` NodeName string `json:"node_name"` PublicKey string `json:"public_key"` MasterPublicKey string `json:"master_public_key"` Mq []MsqAddress `json:"mq"` Config string `json:"config"` } `json:"proxy"` Active bool `json:"active"` }
type GetNodeMasterPublicKeyParam ¶
type GetNodeMasterPublicKeyParam struct {
NodeID string `json:"node_id"`
}
type GetNodeMasterPublicKeyResult ¶
type GetNodeMasterPublicKeyResult struct {
MasterPublicKey string `json:"master_public_key"`
}
type GetNodePublicKeyParam ¶
type GetNodePublicKeyParam struct {
NodeID string `json:"node_id"`
}
type GetNodePublicKeyResult ¶
type GetNodePublicKeyResult struct {
PublicKey string `json:"public_key"`
}
type GetNodeTokenParam ¶
type GetNodeTokenParam struct {
NodeID string `json:"node_id"`
}
type GetNodeTokenResult ¶
type GetNodeTokenResult struct {
Amount float64 `json:"amount"`
}
type GetNodesBehindProxyNodeParam ¶
type GetNodesBehindProxyNodeParam struct {
ProxyNodeID string `json:"proxy_node_id"`
}
type GetNodesBehindProxyNodeResult ¶
type GetNodesBehindProxyNodeResult struct {
Nodes []interface{} `json:"nodes"`
}
type GetPriceFuncParam ¶
type GetPriceFuncParam struct {
Func string `json:"func"`
}
type GetPriceFuncResult ¶
type GetPriceFuncResult struct {
Price float64 `json:"price"`
}
type GetReferenceGroupCodeByAccessorIDParam ¶
type GetReferenceGroupCodeByAccessorIDParam struct {
AccessorID string `json:"accessor_id"`
}
type GetReferenceGroupCodeResult ¶
type GetReferenceGroupCodeResult struct {
ReferenceGroupCode string `json:"reference_group_code"`
}
type GetRequestDetailResult ¶
type GetRequestDetailResult struct { RequestID string `json:"request_id"` MinIdp int `json:"min_idp"` MinAal float64 `json:"min_aal"` MinIal float64 `json:"min_ial"` Timeout int `json:"request_timeout"` IdPIDList []string `json:"idp_id_list"` DataRequestList []DataRequest `json:"data_request_list"` MessageHash string `json:"request_message_hash"` Responses []Response `json:"response_list"` IsClosed bool `json:"closed"` IsTimedOut bool `json:"timed_out"` Purpose string `json:"purpose"` Mode int32 `json:"mode"` RequesterNodeID string `json:"requester_node_id"` CreationBlockHeight int64 `json:"creation_block_height"` CreationChainID string `json:"creation_chain_id"` }
type GetRequestParam ¶
type GetRequestParam struct {
RequestID string `json:"request_id"`
}
type GetRequestResult ¶
type GetServiceDetailParam ¶
type GetServiceDetailParam struct {
ServiceID string `json:"service_id"`
}
type GetServicesByAsIDParam ¶
type GetServicesByAsIDParam struct {
AsID string `json:"as_id"`
}
type GetServicesByAsIDResult ¶
type GetServicesByAsIDResult struct {
Services []Service `json:"services"`
}
type IdPBehindProxy ¶
type IdPBehindProxy struct { NodeID string `json:"node_id"` NodeName string `json:"node_name"` Role string `json:"role"` PublicKey string `json:"public_key"` MasterPublicKey string `json:"master_public_key"` MaxIal float64 `json:"max_ial"` MaxAal float64 `json:"max_aal"` Config string `json:"config"` SupportedRequestMessageDataUrlTypeList []string `json:"supported_request_message_data_url_type_list"` }
type IdpNode ¶
type IdpNode struct { NodeID string `json:"node_id"` Name string `json:"name"` MaxIal float64 `json:"max_ial"` MaxAal float64 `json:"max_aal"` PublicKey string `json:"public_key"` Mq []MsqAddress `json:"mq"` SupportedRequestMessageDataUrlTypeList []string `json:"supported_request_message_data_url_type_list"` }
type IdpNodeBehindProxy ¶
type IdpNodeBehindProxy struct { NodeID string `json:"node_id"` Name string `json:"name"` MaxIal float64 `json:"max_ial"` MaxAal float64 `json:"max_aal"` PublicKey string `json:"public_key"` SupportedRequestMessageDataUrlTypeList []string `json:"supported_request_message_data_url_type_list"` Proxy struct { NodeID string `json:"node_id"` PublicKey string `json:"public_key"` Mq []MsqAddress `json:"mq"` Config string `json:"config"` } `json:"proxy"` }
type IdpNodeBehindProxyWithModeList ¶
type IdpNodeBehindProxyWithModeList struct { NodeID string `json:"node_id"` Name string `json:"name"` MaxIal float64 `json:"max_ial"` MaxAal float64 `json:"max_aal"` PublicKey string `json:"public_key"` ModeList []int32 `json:"mode_list"` SupportedRequestMessageDataUrlTypeList []string `json:"supported_request_message_data_url_type_list"` Proxy struct { NodeID string `json:"node_id"` PublicKey string `json:"public_key"` Mq []MsqAddress `json:"mq"` Config string `json:"config"` } `json:"proxy"` }
type IdpNodeWithModeList ¶
type IdpNodeWithModeList struct { NodeID string `json:"node_id"` Name string `json:"name"` MaxIal float64 `json:"max_ial"` MaxAal float64 `json:"max_aal"` PublicKey string `json:"public_key"` Mq []MsqAddress `json:"mq"` Ial float64 `json:"ial"` ModeList []int32 `json:"mode_list"` SupportedRequestMessageDataUrlTypeList []string `json:"supported_request_message_data_url_type_list"` }
type InitNDIDParam ¶
type IsInitEndedParam ¶
type IsInitEndedParam struct{}
type IsInitEndedResult ¶
type IsInitEndedResult struct {
InitEnded bool `json:"init_ended"`
}
type MsqAddress ¶
type MsqDestination ¶
type MsqDestination struct {
Nodes []Node `json:"nodes"`
}
type MsqDestinationNode ¶
type MsqDestinationNodeWithModeList ¶
type MsqDestinationNodeWithModeList struct { ID string `json:"node_id"` Name string `json:"node_name"` MaxIal float64 `json:"max_ial"` MaxAal float64 `json:"max_aal"` Ial float64 `json:"ial"` ModeList []int32 `json:"mode_list"` SupportedRequestMessageDataUrlTypeList []string `json:"supported_request_message_data_url_type_list"` }
type Namespace ¶
type Namespace struct { Namespace string `json:"namespace"` Description string `json:"description"` Active bool `json:"active"` AllowedIdentifierCountInReferenceGroup int32 `json:"allowed_identifier_count_in_reference_group"` AllowedActiveIdentifierCountInReferenceGroup int32 `json:"allowed_active_identifier_count_in_reference_group"` }
type NodeDetail ¶
type NodePublicKey ¶
type ReduceNodeTokenParam ¶
type RegisterAccessorParam ¶
type RegisterIdentityParam ¶
type RegisterIdentityParam struct { ReferenceGroupCode string `json:"reference_group_code"` NewIdentityList []Identity `json:"new_identity_list"` Ial float64 `json:"ial"` ModeList []int32 `json:"mode_list"` AccessorID string `json:"accessor_id"` AccessorPublicKey string `json:"accessor_public_key"` AccessorType string `json:"accessor_type"` RequestID string `json:"request_id"` }
type RegisterNode ¶
type RemoveNodeFromProxyNode ¶
type RemoveNodeFromProxyNode struct {
NodeID string `json:"node_id"`
}
type RequestIDParam ¶
type RequestIDParam struct {
RequestID string `json:"request_id"`
}
type ResponseValid ¶
type RevokeAccessorParam ¶
type ServiceDetail ¶
type SetAllowedMinIalForRegisterIdentityAtFirstIdpParam ¶
type SetAllowedMinIalForRegisterIdentityAtFirstIdpParam struct {
MinIal float64 `json:"min_ial"`
}
type SetAllowedModeListParam ¶
type SetDataReceivedParam ¶
type SetInitDataParam ¶
type SetInitDataParam struct {
KVList []KeyValue `json:"kv_list"`
}
type SetLastBlockParam ¶
type SetLastBlockParam struct {
BlockHeight int64 `json:"block_height"`
}
type SetMqAddressesParam ¶
type SetMqAddressesParam struct {
Addresses []MsqAddress `json:"addresses"`
}
type SetNodeTokenParam ¶
type SetPriceFuncParam ¶
type SetValidatorParam ¶
type SignDataParam ¶
type TimeOutBlockRegisterIdentity ¶
type TimeOutBlockRegisterIdentity struct {
TimeOutBlock int64 `json:"time_out_block"`
}
type TimeOutRequestParam ¶
type TimeOutRequestParam struct { RequestID string `json:"request_id"` ResponseValidList []ResponseValid `json:"response_valid_list"` }
type TransferNDIDParam ¶
type TransferNDIDParam struct {
PublicKey string `json:"public_key"`
}
type UpdateIdentityParam ¶
type UpdateNamespaceParam ¶
type UpdateNamespaceParam struct { Namespace string `json:"namespace"` Description string `json:"description"` AllowedIdentifierCountInReferenceGroup int32 `json:"allowed_identifier_count_in_reference_group"` AllowedActiveIdentifierCountInReferenceGroup int32 `json:"allowed_active_identifier_count_in_reference_group"` }
type UpdateNodeByNDIDParam ¶
type UpdateNodeParam ¶
Click to show internal directories.
Click to hide internal directories.