Versions in this module Expand all Collapse all v1 v1.0.1 Apr 29, 2022 v1.0.0 Apr 29, 2022 v0 v0.0.0 Mar 10, 2022 Changes in this version + type APIHandlers struct + CalDataHandler http.Handler + CalHandler http.Handler + GatewaysHandler http.Handler + HashHandler http.Handler + HomeHandler http.Handler + PeerHandler http.Handler + ProofHandler http.Handler + StatusHandler http.Handler + type AggState struct + AggID string + AggRoot string + AggState string + Hash string + ProofID string + type Aggregation struct + AggID string + AggRoot string + AggStates []AggState + type AnchorBtcAggState struct + AnchorBtcAggId string + AnchorBtcAggState string + CalId string + type AnchorBtcHeadState struct + BtcHeadHeight int64 + BtcHeadState string + BtcTxId string + type AnchorBtcTxState struct + AnchorBtcAggId string + BtcTxId string + BtcTxState string + type AnchorConfig struct + APIPort string + AnalyticsID string + AnchorInterval int + AnchorReward int + AnchorTimeout int + ApiQuota int + BitcoinNetwork string + CIDRBlockList []string + ChainId string + CoreName string + CoreURI string + DBType string + DoAnchor bool + DoCal bool + DoNodeAudit bool + DoNodeManagement bool + ECPrivateKey *ecdsa.PrivateKey + ElectionMode string + EthConfig EthConfig + FeeInterval int64 + FeeMultiplier float64 + FilePV privval.FilePV + GatewayAllowlist []string + HashPrice int + HashQuota int + HomePath string + IPBlockList []string + LightningConfig lightning.LightningClient + Logger *log.Logger + ProofQuota int + ProposedVal string + RemoveRateLimits bool + StakePerCore int64 + TendermintConfig TendermintConfig + UpdateStake string + UseAllowlist bool + UseChainpointLndConfig bool + type AnchorObj struct + AnchorID string + Uris []string + type AnchorOpsState struct + Anchor AnchorObj + Ops []ProofLineItem + type AnchorRange struct + AmLeader bool + AnchorBtcAggRoot string + BeginCalTxInt int64 + BtcBlockHeight int64 + CalBlockHeight int64 + EndCalTxInt int64 + type AnchorState struct + AmValidator bool + AppHash []byte + AppReady bool + BeginCalTxInt int64 + BtcHeight int64 + ChainSynced bool + CoreKeys map[string]ecdsa.PublicKey + CurrentCalInts int64 + EndCalTxInt int64 + Height int64 + ID string + IDMap map[string]string + JWKStaked bool + LNState lnrpc2.GetInfoResponse + LastAnchorCoreID string + LastBtcFeeHeight int64 + LastElectedCoreID string + LastErrorCoreID string + LatestBtcAggRoot string + LatestBtcFee int64 + LatestBtcTx string + LatestBtcaHeight int64 + LatestBtcaTx []byte + LatestBtcaTxInt int64 + LatestBtccHeight int64 + LatestBtccTx []byte + LatestBtccTxInt int64 + LatestCalTxInt int64 + LatestErrRoot string + LatestNistRecord string + LatestTimeRecord string + LnStakePerVal int64 + LnStakePrice int64 + LnUris map[string]LnIdentity + Migrations map[int]string + TMNetInfo coretypes.ResultNetInfo + TMState coretypes.ResultStatus + TxInt int64 + TxValidation map[string]TxValidation + Validators []*types3.Validator + type BtcA struct + AnchorBtcAggRoot string + BtcTxID string + type BtcAgg struct + AnchorBtcAggID string + AnchorBtcAggRoot string + ProofData []BtcProofData + type BtcMonMsg struct + BtcHeadHeight int64 + BtcHeadRoot string + BtcTxID string + Path []JSProof + type BtcMsgObj struct + BtcTxBody string + BtcTxID string + type BtcProofData struct + CalID string + Proof []ProofLineItem + type BtcTxMsg struct + AnchorBtcAggID string + AnchorBtcAggRoot string + BeginCalTxInt int64 + BtcTxBody string + BtcTxHeight int64 + BtcTxID string + CalBlockHeight int64 + EndCalTxInt int64 + type BtcTxProofState struct + AnchorBtcAggID string + BtcTxID string + BtcTxState OpsState + type BtccStateObj struct + BtcHeadHeight int64 + BtcHeadState AnchorOpsState + BtcTxID string + type CalAgg struct + CalRoot string + ProofData []CalProofData + type CalProofData struct + AggID string + Proof []ProofLineItem + type CalState struct + Anchor AnchorObj + CalID string + ProofData []CalProofData + type CalStateObject struct + AggID string + CalId string + CalState string + type Core struct + BlockNumber sql.NullInt64 + CoreId sql.NullString + EthAddr string + PublicIP sql.NullString + type CoreAPIStatus struct + ActiveChannelsCount int + Alias string + BaseURI string + HashPriceSatoshis int + IdentityPubkey string + Jwk Jwk + LightningAddress string + LightningBalance struct{ ... } + Network string + NodeInfo p2p.DefaultNodeInfo + PublicKey string + SyncInfo coretypes.SyncInfo + Time string + TotalStakePrice int64 + Uris []string + ValidatorInfo coretypes.ValidatorInfo + ValidatorStakePrice int64 + Version string + type EcdsaSignature struct + R *big.Int + S *big.Int + type EthConfig struct + EthPrivateKey string + EthereumURL string + RegistryContractAddr string + TokenContractAddr string + type HashItem struct + Hash string + ProofID string + type JSProof struct + Left string + Right string + type Jwk struct + Crv string + Kid string + Kty string + X string + Y string + type LnIdentity struct + Peer string + RequiredChanAmt int64 + type OpsState struct + Ops []ProofLineItem + type ProofData struct + Hash string + Proof []ProofLineItem + ProofID string + type ProofLineItem struct + Left string + Op string + Right string + type ProofState struct + Proof string + ProofID string + type RateLimit struct + AllowedRate int64 + Bucket float32 + LastCheck int64 + PerBlocks int64 + type TendermintConfig struct + Config *cfg.Config + FilePV privval.FilePV + Logger log.Logger + NodeKey *p2p.NodeKey + TMPort string + TMServer string + type Tx struct + CoreID string + Data string + Meta string + Sig string + Time int64 + TxType string + Version int64 + type TxID struct + AnchorBtcAggRoot string + BlockHeight int64 + TxID string + type TxTm struct + Data []byte + Hash []byte + type TxValidation struct + BtcaAllowedRate RateLimit + BtccAllowedRate RateLimit + CalAllowedRate RateLimit + CalValidationFailures int64 + CalValidationSuccess int64 + ConfirmedAnchors int64 + FailedAnchors int64 + FeeAllowedRate RateLimit + FeeValidationFailures int64 + JWKAllowedRate RateLimit + JWKSubmissions int64 + LastBtcaTxHeight int64 + LastBtccTxHeight int64 + LastCalTxHeight int64 + LastFeeTxHeight int64 + LastJWKTxHeight int64 + LastNISTTxHeight int64 + NISTAllowedRate RateLimit + UnAuthValSubmissions int64