Versions in this module Expand all Collapse all v22 v22.4.2 Apr 28, 2022 Changes in this version + func IsNodePermissioned(node *enode.Node, nodename string, currentNode string, datadir string, ...) bool + func NewPermissionContractService(ethClnt bind.ContractBackend, permissionV2 bool, key *ecdsa.PrivateKey, ...) ptype.InitService + type AccountUpdateAction int + const ActivateSuspendedAccount + const ApproveBlacklistedAccountRecovery + const BlacklistAccount + const RecoverBlacklistedAccount + const SuspendAccount + type NodeUpdateAction int + const ActivateSuspendedNode + const ApproveBlacklistedNodeRecovery + const BlacklistNode + const RecoverBlacklistedNode + const SuspendNode + type OrgUpdateAction int + const ActivateSuspendedOrg + const SuspendOrg + type PendingOpInfo struct + PendingKey string + PendingOp string + type PermAction int + const AddAccountToOrg + const AddNewRole + const AddNode + const AddOrg + const AddSubOrg + const ApproveAccountRecovery + const ApproveAdminRole + const ApproveNodeRecovery + const ApproveOrg + const ApproveOrgStatus + const AssignAdminRole + const ChangeAccountRole + const InitiateAccountRecovery + const InitiateNodeRecovery + const RemoveRole + const UpdateAccountStatus + const UpdateNodeStatus + const UpdateOrgStatus + type PermissionCtrl struct + func NewQuorumPermissionCtrl(stack *node.Node, pconfig *ptype.PermissionConfig, useDns bool, ...) (*PermissionCtrl, error) + func (p *PermissionCtrl) AfterStart() error + func (p *PermissionCtrl) ConnectionAllowed(_enodeId, _ip string, _port, _raftPort uint16) (bool, error) + func (p *PermissionCtrl) IsTransactionAllowed(_sender common.Address, _target common.Address, _value *big.Int, ...) error + func (p *PermissionCtrl) IsV2Permission() bool + func (p *PermissionCtrl) NewPermissionAccountService(txa ethapi.SendTxArgs) (ptype.AccountService, error) + func (p *PermissionCtrl) NewPermissionAuditService() (ptype.AuditService, error) + func (p *PermissionCtrl) NewPermissionControlService() (ptype.ControlService, error) + func (p *PermissionCtrl) NewPermissionNodeService(txa ethapi.SendTxArgs) (ptype.NodeService, error) + func (p *PermissionCtrl) NewPermissionOrgService(txa ethapi.SendTxArgs) (ptype.OrgService, error) + func (p *PermissionCtrl) NewPermissionRoleService(txa ethapi.SendTxArgs) (ptype.RoleService, error) + func (p *PermissionCtrl) Start() error + func (p *PermissionCtrl) Stop() error + type QuorumControlsAPI struct + func NewQuorumControlsAPI(p *PermissionCtrl) *QuorumControlsAPI + func (q *QuorumControlsAPI) AcctList() []core.AccountInfo + func (q *QuorumControlsAPI) AddAccountToOrg(acct common.Address, orgId string, roleId string, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) AddNewRole(orgId string, roleId string, access uint8, isVoter bool, isAdmin bool, ...) (string, error) + func (q *QuorumControlsAPI) AddNode(orgId string, url string, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) AddOrg(orgId string, url string, acct common.Address, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) AddSubOrg(porgId, orgId string, url string, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) ApproveAdminRole(orgId string, acct common.Address, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) ApproveBlackListedAccountRecovery(orgId string, acctId common.Address, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) ApproveBlackListedNodeRecovery(orgId string, enodeId string, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) ApproveOrg(orgId string, url string, acct common.Address, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) ApproveOrgStatus(orgId string, status uint8, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) AssignAdminRole(orgId string, acct common.Address, roleId string, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) ChangeAccountRole(acct common.Address, orgId string, roleId string, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) ConnectionAllowed(enodeId, ip string, port, raftPort uint16) bool + func (q *QuorumControlsAPI) GetOrgDetails(orgId string) (core.OrgDetailInfo, error) + func (q *QuorumControlsAPI) NodeList() []core.NodeInfo + func (q *QuorumControlsAPI) OrgList() []core.OrgInfo + func (q *QuorumControlsAPI) RecoverBlackListedAccount(orgId string, acctId common.Address, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) RecoverBlackListedNode(orgId string, enodeId string, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) RemoveRole(orgId string, roleId string, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) RoleList() []core.RoleInfo + func (q *QuorumControlsAPI) TransactionAllowed(txa ethapi.SendTxArgs) bool + func (q *QuorumControlsAPI) UpdateAccountStatus(orgId string, acct common.Address, status uint8, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) UpdateNodeStatus(orgId string, url string, action uint8, txa ethapi.SendTxArgs) (string, error) + func (q *QuorumControlsAPI) UpdateOrgStatus(orgId string, status uint8, txa ethapi.SendTxArgs) (string, error) Other modules containing this package github.com/baptiste-b-pegasys/quorum