proto

package module
v0.0.0-...-67f1137 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2026 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 40 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

thruput-protocol-go

Go bindings for the Thruput protocol: its XDR data types, constants, and RPC program clients and servers, generated with goxdr. The Rust bindings live in thruput-protocol-rs.

Use

Requires Go 1.24 or later.

go get github.com/thruputchain/thruput-protocol-go

The package is named proto:

import proto "github.com/thruputchain/thruput-protocol-go"

The generated types marshal through goxdr's runtime, github.com/xdrpp/goxdr/xdr; see the goxdr manual. proto.ProtocolGitCommit names the thruput-protocol commit the bindings were generated from, and proto.HogProtocol() returns the token peers exchange to check that they share a protocol revision.

Layout

  • generated.go: goxdr output. Do not edit it by hand.
  • pkg.go: the go:generate line that produces generated.go.
  • hogp.go: the protocol commit constants.
  • protocol/: the thruput-protocol submodule, the .x sources. build.sh lists the files it leaves out of the Go bindings.
  • build.sh: writes pkg.go and hogp.go, then regenerates generated.go.

Regenerate

generated.go is committed, so using the package needs neither the submodule nor goxdr. To regenerate it, check out the submodule and install the goxdr version go.mod pins; any other version reorders generated.go wholesale.

git clone --recurse-submodules https://github.com/thruputchain/thruput-protocol-go.git
cd thruput-protocol-go
go install "github.com/xdrpp/goxdr/cmd/goxdr@$(go list -m -f '{{.Version}}' github.com/xdrpp/goxdr)"
export PATH="$(go env GOPATH)/bin:$PATH"
./build.sh          # regenerate from protocol/
./build.sh --check  # regenerate, and fail if the result differs from what is committed

Protocol changes belong in thruput-protocol. The Auto-update protocol workflow moves the submodule to thruput-protocol main, regenerates, and opens the bump pull request; CI runs ./build.sh --check, so a hand edit to the generated files fails it.

Test

GOWORK=off go test ./...
go vet -composites=false ./...

-composites=false is needed because goxdr's output uses unkeyed composite literals throughout.

License

Apache License 2.0; see LICENSE.

Documentation

Index

Constants

View Source
const KAuthTokenMaxChildNodes = 4

#[rust(const=u32)]

View Source
const KAuthTokenMaxDepth = 4

/ Levels of node nesting a token may carry when a configuration does not / state `kConfigParamMaxAuthTokenDepth`. Consensus-critical, so frozen.

View Source
const KAuthTokenMaxLen = 256

#[rust(const=u32)]

View Source
const KBytestringCeilingLen = 65000

/ The largest bytestring the wire format admits, and so the ceiling on / `kConfigParamMaxBytestringLen`. Raising this is a protocol upgrade; / raising the configured limit is not.

View Source
const KCoordinatorMaxBytesCVMessage = 70_000_000

/ kCoordinatorMaxBytesCVMessage is the maximum size of a dissemination / message containing consensus values.

View Source
const KCoordinatorMaxBytesSCPEnvelopeMessage = 5_000_000

/ kCoordinatorMaxBytesSCPEnvelopeMessage is the maximum size of a dissemination / message containing an SCP envelope. These messages are passed on to SCPD verbatim. / Thus the SCPD controller RPC (used by the coordinator) must have a slightly higher / maximum message size to accommodate for RPC framing.

View Source
const KCoordinatorMaxBytesSCPQuorumSet = 1_000_000

/ kCoordinatorMaxBytesSCPQuorumSet is the maximum acceptable encoded quorum set size, / enforced at the coordinator.

View Source
const KCoordinatorMaxBytesTxsMessage = 2_000_000_000

/ kCoordinatorMaxBytesTxsMessage is the maximum size of a dissemination / message containing transactions. The transaction batches inside these / messages will be submitted to the mempool as vetted txs. / Thus the mempool-to-coordinator RPC must have a slightly higher / maximum message size to accommodate for RPC framing.

View Source
const KDefaultMaxBytestringLen = 1024

/ The limit in force when a configuration does not state one.

View Source
const KDefaultMaxContractSizeBytes = 524288

/ The largest contract code blob a chain admits when its configuration does / not state `kConfigParamMaxContractSizeBytes`. Includes the artifact header, / code, and initial memory.

View Source
const KDefaultNewAddressKeyID = 0

/ The key ID a `kPubkeySignature` claim's single signature must carry. / / Nothing is installed under it: an address authorized by a pubkey claim has / no [`AddressAuthData`] at all.

View Source
const KDefaultNewAddressRequiredWeight = 1

/ Default required weight for a newly initialized address. / / An address has no [`AddressAuthData`] until a change registers a key or / writes a threshold for it. The row that change creates requires this / weight unless the change writes a threshold of its own.

View Source
const KMaxBytesSignedTransaction = 2_000_000

/ kMaxBytesSignedTransaction is the maximum encoded size of a signed transaction; / the auth server rejects larger ones. / This bound is also used by the coordinator to calculate how many unvetted transactions it can buffer / before submitting them to the mempool without violating kMempoolCoordinatorRpcMaxBytes.

View Source
const KMaxConcurrentRcqReadsPerTx = 16384

/ Per-transaction cap on the number of concurrent RetrocausalQueue entries a / transaction may observe (peek/consume) and record in its / NondeterministicProposalData. Each observation is proposer-controlled and / must be buffered and validated against an insert, so an unbounded count is / an unbounded memory/compute vector — this is a tx resource limit in the same / family as gas, not an RPC artifact. Because it is a tx-observable count / checked against this protocol constant, the limit is consensus-uniform / (every node agrees on "<= cap reads") and independent of any RPC buffer size.

View Source
const KMaxContractAddressesPerEventFilter = 5

/ Max contracts per filter. Matches Soroban getEvents' limit of 5; / designed to be low enough that the merge-walk stays cheap even on / degenerate inputs.

View Source
const KMaxEventFiltersPerQuery = 5

/ Max filters per query, chosen like `kMaxContractAddressesPerEventFilter`.

View Source
const KMaxEventLength = 1024

/ Maximum length in bytes for a serialized event. / Events exceeding this length will be rejected by the LogEvent syscall.

View Source
const KMaxEventsPerTransaction = 1000

/ Maximum number of events a single transaction may emit. / This keeps a single TxEventLog well below the RPC transport message limit.

View Source
const KMaxSigners = 21

/ Maximum number of signers that can be configured on an address. / / This matches Stellar's `MAX_SIGNERS` (20) plus 1 for the primary key. / Must be <= 32 so that every key ID has a bit in a [`BitMap`].

View Source
const KMaxTopics = 3

/ Maximum number of topics that can be attached to an event. / Topics enable efficient indexing and filtering of events.

View Source
const KMempoolCoordinatorRpcMaxBytes = 2_000_010_000

2GB + 10KB

View Source
const KNativeTokenAgeGroupAlreadyScheduled = 1
View Source
const KNativeTokenAgeGroupReceived = 2
View Source
const KNativeTokenAgeGroupToSchedule = 0
View Source
const KNativeTokenAgeNumGroups = 3
View Source
const KNativeTokenDivisibility = 10_000_000

#[rust(const=u32)]

View Source
const KQueueEntryMaxLen = 256
View Source
const KRPCFrameMaxBytes = 10_000

/ kRPCFrameMaxBytes is an over-estimate of the maximum RPC frame size, used by the coordinator / to make sure it does not overflow the mempool's max RPC message size.

View Source
const KReplayCacheHeightsMaxLen = 4000

/ Maximum heights with an unexpired consumed uniquifier in a cache.

View Source
const KReplayCacheNoncesMaxLen = 8000

/ Maximum unexpired consumed uniquifiers allowed per height in a cache.

View Source
const KRetrocausalQueueBlockEntriesMaxLen = 250

/ Maximum number of entries in a single RetrocausalQueue block. / Each entry is at most 256 bytes. With XDR serialization overhead (4 bytes / per entry length prefix, 12 bytes framing), storage key overhead (73 bytes), / and item header (24 bytes), 250 entries of 256 bytes fits within the / storage engine's 64 KiB item limit.

View Source
const ProtocolGitCommit string = "7f7de2d6403077806aa3b78454df9fa81af3689d"
View Source
const SCSYMBOL_LIMIT = 32

Variables

This section is empty.

Functions

func XDR_xdrProcArg_Authdb_get_auth_data

func XDR_xdrProcArg_Authdb_get_auth_data(v *xdrProcArg_Authdb_get_auth_data) *xdrProcArg_Authdb_get_auth_data

func XDR_xdrProcArg_Authdb_get_auth_data_batch

func XDR_xdrProcArg_Authdb_get_auth_data_batch(v *xdrProcArg_Authdb_get_auth_data_batch) *xdrProcArg_Authdb_get_auth_data_batch

func XDR_xdrProcArg_Authmempool_verify_batch

func XDR_xdrProcArg_Authmempool_verify_batch(v *xdrProcArg_Authmempool_verify_batch) *xdrProcArg_Authmempool_verify_batch

func XDR_xdrProcArg_Authmempool_verify_transactions

func XDR_xdrProcArg_Authmempool_verify_transactions(v *xdrProcArg_Authmempool_verify_transactions) *xdrProcArg_Authmempool_verify_transactions

func XDR_xdrProcArg_Dbsched_commit_snapshot

func XDR_xdrProcArg_Dbsched_commit_snapshot(v *xdrProcArg_Dbsched_commit_snapshot) *xdrProcArg_Dbsched_commit_snapshot

func XDR_xdrProcArg_Dbsched_create_snapshot

func XDR_xdrProcArg_Dbsched_create_snapshot(v *xdrProcArg_Dbsched_create_snapshot) *xdrProcArg_Dbsched_create_snapshot

func XDR_xdrProcArg_Dbsched_get_address_auth_data

func XDR_xdrProcArg_Dbsched_get_address_auth_data(v *xdrProcArg_Dbsched_get_address_auth_data) *xdrProcArg_Dbsched_get_address_auth_data

func XDR_xdrProcArg_Dbsched_load_genesis_configuration

func XDR_xdrProcArg_Dbsched_load_genesis_configuration(v *xdrProcArg_Dbsched_load_genesis_configuration) *xdrProcArg_Dbsched_load_genesis_configuration

func XDR_xdrProcArg_Dogwoodapi_send

func XDR_xdrProcArg_Dogwoodapi_send(v *xdrProcArg_Dogwoodapi_send) *xdrProcArg_Dogwoodapi_send

func XDR_xdrProcArg_Eventexecutor_emit_event

func XDR_xdrProcArg_Eventexecutor_emit_event(v *xdrProcArg_Eventexecutor_emit_event) *xdrProcArg_Eventexecutor_emit_event

func XDR_xdrProcArg_Eventexecutor_report_tx_failure

func XDR_xdrProcArg_Eventexecutor_report_tx_failure(v *xdrProcArg_Eventexecutor_report_tx_failure) *xdrProcArg_Eventexecutor_report_tx_failure

func XDR_xdrProcArg_Eventsched_close_block

func XDR_xdrProcArg_Eventsched_close_block(v *xdrProcArg_Eventsched_close_block) *xdrProcArg_Eventsched_close_block

func XDR_xdrProcArg_Eventsched_commit_block

func XDR_xdrProcArg_Eventsched_commit_block(v *xdrProcArg_Eventsched_commit_block) *xdrProcArg_Eventsched_commit_block

func XDR_xdrProcArg_Executorsched_open_proposal_block

func XDR_xdrProcArg_Executorsched_open_proposal_block(v *xdrProcArg_Executorsched_open_proposal_block) *xdrProcArg_Executorsched_open_proposal_block

func XDR_xdrProcArg_Executorsched_open_validation_block

func XDR_xdrProcArg_Executorsched_open_validation_block(v *xdrProcArg_Executorsched_open_validation_block) *xdrProcArg_Executorsched_open_validation_block

func XDR_xdrProcArg_Executorsched_propose_batch

func XDR_xdrProcArg_Executorsched_propose_batch(v *xdrProcArg_Executorsched_propose_batch) *xdrProcArg_Executorsched_propose_batch

func XDR_xdrProcArg_Executorsched_propose_transaction

func XDR_xdrProcArg_Executorsched_propose_transaction(v *xdrProcArg_Executorsched_propose_transaction) *xdrProcArg_Executorsched_propose_transaction

func XDR_xdrProcArg_Executorsched_validate_batch

func XDR_xdrProcArg_Executorsched_validate_batch(v *xdrProcArg_Executorsched_validate_batch) *xdrProcArg_Executorsched_validate_batch

func XDR_xdrProcArg_Executorsched_validate_transaction

func XDR_xdrProcArg_Executorsched_validate_transaction(v *xdrProcArg_Executorsched_validate_transaction) *xdrProcArg_Executorsched_validate_transaction

func XDR_xdrProcArg_Extend_experiment

func XDR_xdrProcArg_Extend_experiment(v *xdrProcArg_Extend_experiment) *xdrProcArg_Extend_experiment

func XDR_xdrProcArg_Schedulercoord_commit_block

func XDR_xdrProcArg_Schedulercoord_commit_block(v *xdrProcArg_Schedulercoord_commit_block) *xdrProcArg_Schedulercoord_commit_block

func XDR_xdrProcArg_Schedulercoord_propose_block

func XDR_xdrProcArg_Schedulercoord_propose_block(v *xdrProcArg_Schedulercoord_propose_block) *xdrProcArg_Schedulercoord_propose_block

func XDR_xdrProcArg_Schedulercoord_submit_vetted

func XDR_xdrProcArg_Schedulercoord_submit_vetted(v *xdrProcArg_Schedulercoord_submit_vetted) *xdrProcArg_Schedulercoord_submit_vetted

func XDR_xdrProcArg_Schedulercoord_validate_block

func XDR_xdrProcArg_Schedulercoord_validate_block(v *xdrProcArg_Schedulercoord_validate_block) *xdrProcArg_Schedulercoord_validate_block

func XDR_xdrProcArg_Scp_control_nominate

func XDR_xdrProcArg_Scp_control_nominate(v *xdrProcArg_Scp_control_nominate) *xdrProcArg_Scp_control_nominate

func XDR_xdrProcArg_Scp_control_set_state_from_envelope

func XDR_xdrProcArg_Scp_control_set_state_from_envelope(v *xdrProcArg_Scp_control_set_state_from_envelope) *xdrProcArg_Scp_control_set_state_from_envelope

func XDR_xdrProcArg_Scp_handle_accepted_ballot_prepared

func XDR_xdrProcArg_Scp_handle_accepted_ballot_prepared(v *xdrProcArg_Scp_handle_accepted_ballot_prepared) *xdrProcArg_Scp_handle_accepted_ballot_prepared

func XDR_xdrProcArg_Scp_handle_accepted_commit

func XDR_xdrProcArg_Scp_handle_accepted_commit(v *xdrProcArg_Scp_handle_accepted_commit) *xdrProcArg_Scp_handle_accepted_commit

func XDR_xdrProcArg_Scp_handle_ballot_did_hear_from_quorum

func XDR_xdrProcArg_Scp_handle_ballot_did_hear_from_quorum(v *xdrProcArg_Scp_handle_ballot_did_hear_from_quorum) *xdrProcArg_Scp_handle_ballot_did_hear_from_quorum

func XDR_xdrProcArg_Scp_handle_combine_candidates

func XDR_xdrProcArg_Scp_handle_combine_candidates(v *xdrProcArg_Scp_handle_combine_candidates) *xdrProcArg_Scp_handle_combine_candidates

func XDR_xdrProcArg_Scp_handle_confirmed_ballot_prepared

func XDR_xdrProcArg_Scp_handle_confirmed_ballot_prepared(v *xdrProcArg_Scp_handle_confirmed_ballot_prepared) *xdrProcArg_Scp_handle_confirmed_ballot_prepared

func XDR_xdrProcArg_Scp_handle_extract_valid_value

func XDR_xdrProcArg_Scp_handle_extract_valid_value(v *xdrProcArg_Scp_handle_extract_valid_value) *xdrProcArg_Scp_handle_extract_valid_value

func XDR_xdrProcArg_Scp_handle_nominating_value

func XDR_xdrProcArg_Scp_handle_nominating_value(v *xdrProcArg_Scp_handle_nominating_value) *xdrProcArg_Scp_handle_nominating_value

func XDR_xdrProcArg_Scp_handle_started_ballot_proto

func XDR_xdrProcArg_Scp_handle_started_ballot_proto(v *xdrProcArg_Scp_handle_started_ballot_proto) *xdrProcArg_Scp_handle_started_ballot_proto

func XDR_xdrProcArg_Scp_handle_updated_candidate_value

func XDR_xdrProcArg_Scp_handle_updated_candidate_value(v *xdrProcArg_Scp_handle_updated_candidate_value) *xdrProcArg_Scp_handle_updated_candidate_value

func XDR_xdrProcArg_Scp_handle_validate_ballot_value

func XDR_xdrProcArg_Scp_handle_validate_ballot_value(v *xdrProcArg_Scp_handle_validate_ballot_value) *xdrProcArg_Scp_handle_validate_ballot_value

func XDR_xdrProcArg_Scp_handle_validate_nomination_value

func XDR_xdrProcArg_Scp_handle_validate_nomination_value(v *xdrProcArg_Scp_handle_validate_nomination_value) *xdrProcArg_Scp_handle_validate_nomination_value

func XDR_xdrProcArg_Scp_handle_value_externalized

func XDR_xdrProcArg_Scp_handle_value_externalized(v *xdrProcArg_Scp_handle_value_externalized) *xdrProcArg_Scp_handle_value_externalized

Types

type AddressAndKey

type AddressAndKey struct {
	Address ContractAddress
	Key     StorageKey
}

/ In the global storage, every item is indexed by a unique [contract address + storage key] pair.

func XDR_AddressAndKey

func XDR_AddressAndKey(v *AddressAndKey) *AddressAndKey

func (*AddressAndKey) XdrMarshal

func (v *AddressAndKey) XdrMarshal(x XDR, name string)

func (*AddressAndKey) XdrPointer

func (v *AddressAndKey) XdrPointer() interface{}

func (*AddressAndKey) XdrRecurse

func (v *AddressAndKey) XdrRecurse(x XDR, name string)

func (AddressAndKey) XdrTypeName

func (AddressAndKey) XdrTypeName() string

func (AddressAndKey) XdrValue

func (v AddressAndKey) XdrValue() interface{}

type AddressAndKeyBatch

type AddressAndKeyBatch = []AddressAndKey

/ Input: a batch of items to read, identified by (address, key).

type AddressAuthData

type AddressAuthData struct {
	/// Array of up to `kMaxSigners` public keys.
	///
	/// Null entries indicate unoccupied key slots.
	Public_keys [KMaxSigners]PublicKeyConfigOpt
	/// The minimum total weight required from signing keys to authorize
	/// a transaction from this address.
	Required_weight Weight
	/// The block height at which this auth data was last modified.
	///
	/// # TODO
	///
	/// This can be removed once the database has a way to track this directly
	/// on each db item.
	Last_written_height BlockHeight
}

/ The complete authorization configuration for an address. / / This struct stores all the information needed to verify transactions / originating from an address: / - The set of public keys and their weights / - The minimum weight threshold required to authorize a transaction / / When a transaction is submitted with a `kSourceAddressAuthData` / [`AuthClaim`], the claim is verified against this data to determine if the / transaction is properly authorized. / / This is the type stored at storage key type `AuthData`. / / # TODO / / The initialization workflow (when upgrading an address from just a pk to / a full contract) should explicitly set the auth data with sensible / defaults, so that the default is NOT to accidentally lock the address.

func XDR_AddressAuthData

func XDR_AddressAuthData(v *AddressAuthData) *AddressAuthData

func (*AddressAuthData) XdrMarshal

func (v *AddressAuthData) XdrMarshal(x XDR, name string)

func (*AddressAuthData) XdrPointer

func (v *AddressAuthData) XdrPointer() interface{}

func (*AddressAuthData) XdrRecurse

func (v *AddressAuthData) XdrRecurse(x XDR, name string)

func (AddressAuthData) XdrTypeName

func (AddressAuthData) XdrTypeName() string

func (AddressAuthData) XdrValue

func (v AddressAuthData) XdrValue() interface{}

type AddressTransactionQuery

type AddressTransactionQuery struct {
	Address ContractAddress
	Order   IterationOrder
	Anchor  BlockAnchor
	/// Empty on the initial call.  Non-empty to continue; `order`/`anchor`
	/// are ignored when a cursor is supplied.
	Cursor PaginationCursor
	/// Clamped server-side to [1, 200]; 0 means server default (50).
	Limit uint32
}

/ `get_transactions_by_address` request. Walked in `order` from `anchor`, / returning transactions whose ROOT invocation targets `address` (i.e. the / account's transaction history).

func (*AddressTransactionQuery) XdrMarshal

func (v *AddressTransactionQuery) XdrMarshal(x XDR, name string)

func (*AddressTransactionQuery) XdrPointer

func (v *AddressTransactionQuery) XdrPointer() interface{}

func (*AddressTransactionQuery) XdrRecurse

func (v *AddressTransactionQuery) XdrRecurse(x XDR, name string)

func (AddressTransactionQuery) XdrTypeName

func (AddressTransactionQuery) XdrTypeName() string

func (AddressTransactionQuery) XdrValue

func (v AddressTransactionQuery) XdrValue() interface{}

type ApprovalEvent

type ApprovalEvent struct {
	Owner_address   ContractAddress
	Spender_address ContractAddress
	Amount          Int128_xdr
}

func XDR_ApprovalEvent

func XDR_ApprovalEvent(v *ApprovalEvent) *ApprovalEvent

func (*ApprovalEvent) XdrMarshal

func (v *ApprovalEvent) XdrMarshal(x XDR, name string)

func (*ApprovalEvent) XdrPointer

func (v *ApprovalEvent) XdrPointer() interface{}

func (*ApprovalEvent) XdrRecurse

func (v *ApprovalEvent) XdrRecurse(x XDR, name string)

func (ApprovalEvent) XdrTypeName

func (ApprovalEvent) XdrTypeName() string

func (ApprovalEvent) XdrValue

func (v ApprovalEvent) XdrValue() interface{}

type AuthCard

type AuthCard struct {
	Protocol            ProtocolCommit
	Upid                UPID
	Address_for_db      ServerAddress
	Address_for_mempool ServerAddress
}

func XDR_AuthCard

func XDR_AuthCard(v *AuthCard) *AuthCard

func (*AuthCard) XdrMarshal

func (v *AuthCard) XdrMarshal(x XDR, name string)

func (*AuthCard) XdrPointer

func (v *AuthCard) XdrPointer() interface{}

func (*AuthCard) XdrRecurse

func (v *AuthCard) XdrRecurse(x XDR, name string)

func (AuthCard) XdrTypeName

func (AuthCard) XdrTypeName() string

func (AuthCard) XdrValue

func (v AuthCard) XdrValue() interface{}

type AuthClaim

type AuthClaim struct {
	// The union discriminant Claim_type selects among the following arms:
	//   KSourceAddressAuthData:
	//      Source_address_claim() *XdrAnon_AuthClaim_Source_address_claim
	//   KPubkeySignature:
	//      Pubkey_preimage() *PubkeyAccountPreimage
	Claim_type AuthClaimType
	// contains filtered or unexported fields
}

/ An authorization claim specifying what signatures are needed to authorize / a transaction.

func XDR_AuthClaim

func XDR_AuthClaim(v *AuthClaim) *AuthClaim

func (*AuthClaim) Pubkey_preimage

func (u *AuthClaim) Pubkey_preimage() *PubkeyAccountPreimage

func (*AuthClaim) Source_address_claim

func (u *AuthClaim) Source_address_claim() *XdrAnon_AuthClaim_Source_address_claim

func (*AuthClaim) XdrMarshal

func (v *AuthClaim) XdrMarshal(x XDR, name string)

func (*AuthClaim) XdrPointer

func (v *AuthClaim) XdrPointer() interface{}

func (*AuthClaim) XdrRecurse

func (u *AuthClaim) XdrRecurse(x XDR, name string)

func (AuthClaim) XdrTypeName

func (AuthClaim) XdrTypeName() string

func (*AuthClaim) XdrUnionBody

func (u *AuthClaim) XdrUnionBody() XdrType

func (*AuthClaim) XdrUnionBodyName

func (u *AuthClaim) XdrUnionBodyName() string

func (*AuthClaim) XdrUnionTag

func (u *AuthClaim) XdrUnionTag() XdrNum32

func (*AuthClaim) XdrUnionTagName

func (u *AuthClaim) XdrUnionTagName() string

func (AuthClaim) XdrValid

func (u AuthClaim) XdrValid() bool

func (AuthClaim) XdrValidTags

func (_ AuthClaim) XdrValidTags() map[int32]bool

func (AuthClaim) XdrValue

func (v AuthClaim) XdrValue() interface{}

type AuthClaimType

type AuthClaimType int32

/ Discriminator for the different types of authorization claims.

const (
	/// Requires a set of signatures from the source address's auth data.
	/// The runtime checks whether the signing keys' weights sum to at least the
	/// larger of the auth data's required weight and the claim's own
	/// `required_weight`.
	// TODO: consider surfacing the data about which keys signed in a syscall.
	KSourceAddressAuthData AuthClaimType = 0
	/// Requires a signature from a specific public key.
	///
	/// Used for accounts identified by a pubkey preimage (pubkey hash + nonce).
	KPubkeySignature AuthClaimType = 1
)

func XDR_AuthClaimType

func XDR_AuthClaimType(v *AuthClaimType) *AuthClaimType

func (AuthClaimType) GetU32

func (v AuthClaimType) GetU32() uint32

func (*AuthClaimType) Scan

func (v *AuthClaimType) Scan(ss fmt.ScanState, _ rune) error

func (*AuthClaimType) SetU32

func (v *AuthClaimType) SetU32(n uint32)

func (AuthClaimType) String

func (v AuthClaimType) String() string

func (AuthClaimType) XdrEnumNames

func (AuthClaimType) XdrEnumNames() map[int32]string

func (*AuthClaimType) XdrMarshal

func (v *AuthClaimType) XdrMarshal(x XDR, name string)

func (*AuthClaimType) XdrPointer

func (v *AuthClaimType) XdrPointer() interface{}

func (AuthClaimType) XdrTypeName

func (AuthClaimType) XdrTypeName() string

func (AuthClaimType) XdrValue

func (v AuthClaimType) XdrValue() interface{}

type AuthDB1

type AuthDB1 interface {
	Authdb_forward_key_changes_chunk(context.Context, KeyChangeChunk) error
}

type AuthDB1_Client

type AuthDB1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (AuthDB1_Client) Authdb_forward_key_changes_chunk

func (c AuthDB1_Client) Authdb_forward_key_changes_chunk(ctx context.Context, a1 KeyChangeChunk) error

func (AuthDB1_Client) WithContext

func (c AuthDB1_Client) WithContext(ctx context.Context) AuthDB1

type AuthDB1_Server

type AuthDB1_Server struct {
	Srv AuthDB1
}

func (AuthDB1_Server) GetProc

func (s AuthDB1_Server) GetProc(p uint32) XdrSrvProc

func (AuthDB1_Server) Prog

func (AuthDB1_Server) Prog() uint32

func (AuthDB1_Server) ProgName

func (AuthDB1_Server) ProgName() string

func (AuthDB1_Server) Vers

func (AuthDB1_Server) Vers() uint32

func (AuthDB1_Server) VersName

func (AuthDB1_Server) VersName() string

type AuthDataChangeArgs

type AuthDataChangeArgs struct {
	Auth_data_change_signers []AuthDataChangeSigner // bound KMaxSigners
	New_required_weight      *Weight
}

func XDR_AuthDataChangeArgs

func XDR_AuthDataChangeArgs(v *AuthDataChangeArgs) *AuthDataChangeArgs

func (*AuthDataChangeArgs) XdrMarshal

func (v *AuthDataChangeArgs) XdrMarshal(x XDR, name string)

func (*AuthDataChangeArgs) XdrPointer

func (v *AuthDataChangeArgs) XdrPointer() interface{}

func (*AuthDataChangeArgs) XdrRecurse

func (v *AuthDataChangeArgs) XdrRecurse(x XDR, name string)

func (AuthDataChangeArgs) XdrTypeName

func (AuthDataChangeArgs) XdrTypeName() string

func (AuthDataChangeArgs) XdrValue

func (v AuthDataChangeArgs) XdrValue() interface{}

type AuthDataChangeSigner

type AuthDataChangeSigner struct {
	Public_key_id uint32
	Public_key    PublicKeyConfigOpt
}

func XDR_AuthDataChangeSigner

func XDR_AuthDataChangeSigner(v *AuthDataChangeSigner) *AuthDataChangeSigner

func (*AuthDataChangeSigner) XdrMarshal

func (v *AuthDataChangeSigner) XdrMarshal(x XDR, name string)

func (*AuthDataChangeSigner) XdrPointer

func (v *AuthDataChangeSigner) XdrPointer() interface{}

func (*AuthDataChangeSigner) XdrRecurse

func (v *AuthDataChangeSigner) XdrRecurse(x XDR, name string)

func (AuthDataChangeSigner) XdrTypeName

func (AuthDataChangeSigner) XdrTypeName() string

func (AuthDataChangeSigner) XdrValue

func (v AuthDataChangeSigner) XdrValue() interface{}

type AuthErrorCode

type AuthErrorCode int32
const (
	KAuthSuccess AuthErrorCode = 0
	KAuthFailed  AuthErrorCode = 1
	// The query is for a block height that is not the most recent committed block height.
	// This can happen if a query is made for an old block height,
	// or if (concurrent with the query) a block commits and updates to the auth data begin to stream in.
	// The verification can be retried in either case.
	// TODO: We could switch this around, to retry at the higher block height.
	KAuthStaleBlockHeight AuthErrorCode = 2
	// Either an internal auth error or forwarded from an internal DB error
	KAuthInternal AuthErrorCode = 3
)

func XDR_AuthErrorCode

func XDR_AuthErrorCode(v *AuthErrorCode) *AuthErrorCode

func (AuthErrorCode) GetU32

func (v AuthErrorCode) GetU32() uint32

func (*AuthErrorCode) Scan

func (v *AuthErrorCode) Scan(ss fmt.ScanState, _ rune) error

func (*AuthErrorCode) SetU32

func (v *AuthErrorCode) SetU32(n uint32)

func (AuthErrorCode) String

func (v AuthErrorCode) String() string

func (AuthErrorCode) XdrEnumNames

func (AuthErrorCode) XdrEnumNames() map[int32]string

func (*AuthErrorCode) XdrMarshal

func (v *AuthErrorCode) XdrMarshal(x XDR, name string)

func (*AuthErrorCode) XdrPointer

func (v *AuthErrorCode) XdrPointer() interface{}

func (AuthErrorCode) XdrTypeName

func (AuthErrorCode) XdrTypeName() string

func (AuthErrorCode) XdrValue

func (v AuthErrorCode) XdrValue() interface{}

type AuthErrorCodeBatch

type AuthErrorCodeBatch = []AuthErrorCode

type AuthMempool1

type AuthMempool1 interface {
	Authmempool_verify_transactions(context.Context, BlockHeight, SignedTransactionBatch) (AuthErrorCodeBatch, error)
	Authmempool_verify_batch(context.Context, BlockHeight, SignedTransactionBatch) (AuthErrorCode, error)
}

type AuthMempool1_Client

type AuthMempool1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (AuthMempool1_Client) Authmempool_verify_batch

func (c AuthMempool1_Client) Authmempool_verify_batch(ctx context.Context, a1 BlockHeight, a2 SignedTransactionBatch) (r AuthErrorCode, _ error)

func (AuthMempool1_Client) Authmempool_verify_transactions

func (c AuthMempool1_Client) Authmempool_verify_transactions(ctx context.Context, a1 BlockHeight, a2 SignedTransactionBatch) (r AuthErrorCodeBatch, _ error)

func (AuthMempool1_Client) WithContext

func (c AuthMempool1_Client) WithContext(ctx context.Context) AuthMempool1

type AuthMempool1_Server

type AuthMempool1_Server struct {
	Srv AuthMempool1
}

func (AuthMempool1_Server) GetProc

func (s AuthMempool1_Server) GetProc(p uint32) XdrSrvProc

func (AuthMempool1_Server) Prog

func (AuthMempool1_Server) Prog() uint32

func (AuthMempool1_Server) ProgName

func (AuthMempool1_Server) ProgName() string

func (AuthMempool1_Server) Vers

func (AuthMempool1_Server) Vers() uint32

func (AuthMempool1_Server) VersName

func (AuthMempool1_Server) VersName() string

type AuthToken

type AuthToken struct {
	Mint_address  ContractAddress
	Expiry_height BlockHeight
	Root_node     AuthTokenNode
}

func XDR_AuthToken

func XDR_AuthToken(v *AuthToken) *AuthToken

func (*AuthToken) XdrMarshal

func (v *AuthToken) XdrMarshal(x XDR, name string)

func (*AuthToken) XdrPointer

func (v *AuthToken) XdrPointer() interface{}

func (*AuthToken) XdrRecurse

func (v *AuthToken) XdrRecurse(x XDR, name string)

func (AuthToken) XdrTypeName

func (AuthToken) XdrTypeName() string

func (AuthToken) XdrValue

func (v AuthToken) XdrValue() interface{}

type AuthTokenNode

type AuthTokenNode struct {
	Consumer_address ContractAddress
	Payload          AuthTokenPayload
	Child_nodes      []AuthTokenNode // bound KAuthTokenMaxChildNodes
}

func XDR_AuthTokenNode

func XDR_AuthTokenNode(v *AuthTokenNode) *AuthTokenNode

func (*AuthTokenNode) XdrMarshal

func (v *AuthTokenNode) XdrMarshal(x XDR, name string)

func (*AuthTokenNode) XdrPointer

func (v *AuthTokenNode) XdrPointer() interface{}

func (*AuthTokenNode) XdrRecurse

func (v *AuthTokenNode) XdrRecurse(x XDR, name string)

func (AuthTokenNode) XdrTypeName

func (AuthTokenNode) XdrTypeName() string

func (AuthTokenNode) XdrValue

func (v AuthTokenNode) XdrValue() interface{}

type AuthTokenPayload

type AuthTokenPayload = []byte // bound KAuthTokenMaxLen

#[rust(newtype)]

type AuthVerifyErrorCode

type AuthVerifyErrorCode int32

/ Error codes returned when verifying authorization on a SignedTransaction. / / There are three levels of verification: / 1. Well-formedness: basic structural checks (e.g., key IDs are in range) / 2. Claims validity: signatures match claimed keys and weights are satisfied / 3. Signature verification: cryptographic validation of all signatures / / These error codes distinguish between different failure modes to enable / appropriate handling at different stages of transaction processing.

const (
	/// The transaction's auth claims are malformed.
	///
	/// Transactions with this error should never be flooded over the network
	/// as they are structurally invalid. Examples include:
	/// - Public key IDs that are out of bounds
	KAuthMalformed AuthVerifyErrorCode = 1
	/// Cryptographic signature verification failed.
	///
	/// This indicates that one or more signatures did not pass cryptographic
	/// validation against the claimed public keys. The transaction structure
	/// is valid but the signatures themselves are incorrect.
	KSignatureVerificationFailed AuthVerifyErrorCode = 2
	/// Mismatch between auth claims and actual auth data on an account.
	///
	/// This indicates that the transaction references keys or permissions
	/// that do not exist or do not satisfy the requirements. Examples include:
	/// - Referencing a public key ID that doesn't exist in the auth data
	/// - Failing to meet required weight thresholds
	KAuthDataMismatch AuthVerifyErrorCode = 3
)

func XDR_AuthVerifyErrorCode

func XDR_AuthVerifyErrorCode(v *AuthVerifyErrorCode) *AuthVerifyErrorCode

func (AuthVerifyErrorCode) GetU32

func (v AuthVerifyErrorCode) GetU32() uint32

func (*AuthVerifyErrorCode) Scan

func (v *AuthVerifyErrorCode) Scan(ss fmt.ScanState, _ rune) error

func (*AuthVerifyErrorCode) SetU32

func (v *AuthVerifyErrorCode) SetU32(n uint32)

func (AuthVerifyErrorCode) String

func (v AuthVerifyErrorCode) String() string

func (AuthVerifyErrorCode) XdrEnumNames

func (AuthVerifyErrorCode) XdrEnumNames() map[int32]string

func (*AuthVerifyErrorCode) XdrInitialize

func (v *AuthVerifyErrorCode) XdrInitialize()

func (*AuthVerifyErrorCode) XdrMarshal

func (v *AuthVerifyErrorCode) XdrMarshal(x XDR, name string)

func (*AuthVerifyErrorCode) XdrPointer

func (v *AuthVerifyErrorCode) XdrPointer() interface{}

func (AuthVerifyErrorCode) XdrTypeName

func (AuthVerifyErrorCode) XdrTypeName() string

func (AuthVerifyErrorCode) XdrValue

func (v AuthVerifyErrorCode) XdrValue() interface{}

type BatonConfig

type BatonConfig struct {
	Skew_msec          Milliseconds
	Heartbeat_msec     Milliseconds
	Patience_msec      Milliseconds
	Max_catchup_height int32
}

func XDR_BatonConfig

func XDR_BatonConfig(v *BatonConfig) *BatonConfig

func (*BatonConfig) XdrMarshal

func (v *BatonConfig) XdrMarshal(x XDR, name string)

func (*BatonConfig) XdrPointer

func (v *BatonConfig) XdrPointer() interface{}

func (*BatonConfig) XdrRecurse

func (v *BatonConfig) XdrRecurse(x XDR, name string)

func (BatonConfig) XdrTypeName

func (BatonConfig) XdrTypeName() string

func (BatonConfig) XdrValue

func (v BatonConfig) XdrValue() interface{}

type BitMap

type BitMap = uint32

/ A bitmap representing a set of key IDs. / / Each bit position corresponds to a key ID (bit 0 = key 0, bit 1 = key 1, etc.). / Used to specify which keys are acceptable for satisfying an auth claim. / Only bits below `kMaxSigners` may be set; a bitmap with a higher bit set / is `kAuthMalformed`.

type Blank_rpc_v1

type Blank_rpc_v1 interface {
	Null(context.Context) error
	Echo(context.Context, Data) (Data, error)
}

type Blank_rpc_v1_Client

type Blank_rpc_v1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (Blank_rpc_v1_Client) Echo

func (c Blank_rpc_v1_Client) Echo(ctx context.Context, a1 Data) (r Data, _ error)

func (Blank_rpc_v1_Client) Null

func (Blank_rpc_v1_Client) WithContext

func (c Blank_rpc_v1_Client) WithContext(ctx context.Context) Blank_rpc_v1

type Blank_rpc_v1_Server

type Blank_rpc_v1_Server struct {
	Srv Blank_rpc_v1
}

func (Blank_rpc_v1_Server) GetProc

func (s Blank_rpc_v1_Server) GetProc(p uint32) XdrSrvProc

func (Blank_rpc_v1_Server) Prog

func (Blank_rpc_v1_Server) Prog() uint32

func (Blank_rpc_v1_Server) ProgName

func (Blank_rpc_v1_Server) ProgName() string

func (Blank_rpc_v1_Server) Vers

func (Blank_rpc_v1_Server) Vers() uint32

func (Blank_rpc_v1_Server) VersName

func (Blank_rpc_v1_Server) VersName() string

type BlockAnchor

type BlockAnchor struct {
	// The union discriminant Kind selects among the following arms:
	//   AnchorAtBeginning, AnchorAtEnd:
	//      void
	//   AnchorAtHeight:
	//      Height() *BlockHeight
	Kind BlockAnchorKind
	// contains filtered or unexported fields
}

func XDR_BlockAnchor

func XDR_BlockAnchor(v *BlockAnchor) *BlockAnchor

func (*BlockAnchor) Height

func (u *BlockAnchor) Height() *BlockHeight

func (*BlockAnchor) XdrMarshal

func (v *BlockAnchor) XdrMarshal(x XDR, name string)

func (*BlockAnchor) XdrPointer

func (v *BlockAnchor) XdrPointer() interface{}

func (*BlockAnchor) XdrRecurse

func (u *BlockAnchor) XdrRecurse(x XDR, name string)

func (BlockAnchor) XdrTypeName

func (BlockAnchor) XdrTypeName() string

func (*BlockAnchor) XdrUnionBody

func (u *BlockAnchor) XdrUnionBody() XdrType

func (*BlockAnchor) XdrUnionBodyName

func (u *BlockAnchor) XdrUnionBodyName() string

func (*BlockAnchor) XdrUnionTag

func (u *BlockAnchor) XdrUnionTag() XdrNum32

func (*BlockAnchor) XdrUnionTagName

func (u *BlockAnchor) XdrUnionTagName() string

func (BlockAnchor) XdrValid

func (u BlockAnchor) XdrValid() bool

func (BlockAnchor) XdrValidTags

func (_ BlockAnchor) XdrValidTags() map[int32]bool

func (BlockAnchor) XdrValue

func (v BlockAnchor) XdrValue() interface{}

type BlockAnchorKind

type BlockAnchorKind int32

/ Where to begin iteration on the initial call. Independent of / `IterationOrder`; combinations that run off the end of the range / (AnchorAtEnd with IterationOrderAscending, AnchorAtBeginning with / IterationOrderDescending) return empty, because there is nothing / past that end to iterate toward.

const (
	// oldest block the indexer still retains
	AnchorAtBeginning BlockAnchorKind = 0
	// highest block the indexer has processed
	AnchorAtEnd BlockAnchorKind = 1
	// caller-specified
	AnchorAtHeight BlockAnchorKind = 2
)

func XDR_BlockAnchorKind

func XDR_BlockAnchorKind(v *BlockAnchorKind) *BlockAnchorKind

func (BlockAnchorKind) GetU32

func (v BlockAnchorKind) GetU32() uint32

func (*BlockAnchorKind) Scan

func (v *BlockAnchorKind) Scan(ss fmt.ScanState, _ rune) error

func (*BlockAnchorKind) SetU32

func (v *BlockAnchorKind) SetU32(n uint32)

func (BlockAnchorKind) String

func (v BlockAnchorKind) String() string

func (BlockAnchorKind) XdrEnumNames

func (BlockAnchorKind) XdrEnumNames() map[int32]string

func (*BlockAnchorKind) XdrMarshal

func (v *BlockAnchorKind) XdrMarshal(x XDR, name string)

func (*BlockAnchorKind) XdrPointer

func (v *BlockAnchorKind) XdrPointer() interface{}

func (BlockAnchorKind) XdrTypeName

func (BlockAnchorKind) XdrTypeName() string

func (BlockAnchorKind) XdrValue

func (v BlockAnchorKind) XdrValue() interface{}

type BlockExecutionContext

type BlockExecutionContext struct {
	/// Height of the block being executed -- the parent tip's height plus one.
	/// Supplied rather than derived so that height and timepoint have a single
	/// source; the executor is expected to check it against the tip it reads.
	Block_height BlockHeight
	/// The block's timepoint, fixed before execution begins. Unlike the
	/// height there is no way to recover this from the parent tip: the
	/// parent's timepoint is the previous block's.
	Block_timepoint TimePoint
}

/ The contract-visible facts about the block an executor is running. / / Passed to both executor open-block calls so that a block looks identical / to the executor whether it is being proposed or validated, and so that / everything a contract can observe about "the current block" comes from / one place rather than being inferred from the parent tip. / / This is deliberately not `ProposalContext` (its `protocol` and `proposer` / are scheduler concerns, and `protocol` is not recoverable from a / `ProposalHeader` when validating) and not `ProposalHeader` (whose txs, / storage, events and config hashes are outputs of executing the block, so / they do not exist when it is opened). / / Does not travel on network: the scheduler builds it per block, from the / coordinator's `ProposalContext` when proposing and from the proposal's / `ProposalHeader` when validating. A validator must take these values from / the proposal it is validating rather than regenerating them, or its / execution diverges from the proposer's and consensus splits.

func XDR_BlockExecutionContext

func XDR_BlockExecutionContext(v *BlockExecutionContext) *BlockExecutionContext

func (*BlockExecutionContext) XdrMarshal

func (v *BlockExecutionContext) XdrMarshal(x XDR, name string)

func (*BlockExecutionContext) XdrPointer

func (v *BlockExecutionContext) XdrPointer() interface{}

func (*BlockExecutionContext) XdrRecurse

func (v *BlockExecutionContext) XdrRecurse(x XDR, name string)

func (BlockExecutionContext) XdrTypeName

func (BlockExecutionContext) XdrTypeName() string

func (BlockExecutionContext) XdrValue

func (v BlockExecutionContext) XdrValue() interface{}

type BlockExecutionMode

type BlockExecutionMode int32

The mode in which a block executes.

const (
	KBlockExecutionModeValidation BlockExecutionMode = 0
	KBlockExecutionModeProposal   BlockExecutionMode = 1
	// Read-only access to the database.
	// Used for view RPCs, guaranteeing that the executor cannot accidentally
	// do a write operation when it should not be able to.
	KBlockExecutionModeViewing BlockExecutionMode = 2
)

func XDR_BlockExecutionMode

func XDR_BlockExecutionMode(v *BlockExecutionMode) *BlockExecutionMode

func (BlockExecutionMode) GetU32

func (v BlockExecutionMode) GetU32() uint32

func (*BlockExecutionMode) Scan

func (v *BlockExecutionMode) Scan(ss fmt.ScanState, _ rune) error

func (*BlockExecutionMode) SetU32

func (v *BlockExecutionMode) SetU32(n uint32)

func (BlockExecutionMode) String

func (v BlockExecutionMode) String() string

func (BlockExecutionMode) XdrEnumNames

func (BlockExecutionMode) XdrEnumNames() map[int32]string

func (*BlockExecutionMode) XdrMarshal

func (v *BlockExecutionMode) XdrMarshal(x XDR, name string)

func (*BlockExecutionMode) XdrPointer

func (v *BlockExecutionMode) XdrPointer() interface{}

func (BlockExecutionMode) XdrTypeName

func (BlockExecutionMode) XdrTypeName() string

func (BlockExecutionMode) XdrValue

func (v BlockExecutionMode) XdrValue() interface{}

type BlockHeight

type BlockHeight = int64

/ BlockHeight is the height of a block, measured as the number of blocks since the genesis of the chain. / The first block of transactions is at height 0. / It is signed to prevent overflows in / calculations.

type BlockID

type BlockID = uint64

An internal unique ID describing a block.

type BlockLookupOutcome

type BlockLookupOutcome int32
const (
	BlockFound    BlockLookupOutcome = 0
	BlockNotFound BlockLookupOutcome = 1
)

func XDR_BlockLookupOutcome

func XDR_BlockLookupOutcome(v *BlockLookupOutcome) *BlockLookupOutcome

func (BlockLookupOutcome) GetU32

func (v BlockLookupOutcome) GetU32() uint32

func (*BlockLookupOutcome) Scan

func (v *BlockLookupOutcome) Scan(ss fmt.ScanState, _ rune) error

func (*BlockLookupOutcome) SetU32

func (v *BlockLookupOutcome) SetU32(n uint32)

func (BlockLookupOutcome) String

func (v BlockLookupOutcome) String() string

func (BlockLookupOutcome) XdrEnumNames

func (BlockLookupOutcome) XdrEnumNames() map[int32]string

func (*BlockLookupOutcome) XdrMarshal

func (v *BlockLookupOutcome) XdrMarshal(x XDR, name string)

func (*BlockLookupOutcome) XdrPointer

func (v *BlockLookupOutcome) XdrPointer() interface{}

func (BlockLookupOutcome) XdrTypeName

func (BlockLookupOutcome) XdrTypeName() string

func (BlockLookupOutcome) XdrValue

func (v BlockLookupOutcome) XdrValue() interface{}

type BlockLookupResult

type BlockLookupResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   BlockFound:
	//      Value() *ConsensusValue
	//   default:
	//      void
	Outcome BlockLookupOutcome
	// contains filtered or unexported fields
}

func XDR_BlockLookupResult

func XDR_BlockLookupResult(v *BlockLookupResult) *BlockLookupResult

func (*BlockLookupResult) Value

func (u *BlockLookupResult) Value() *ConsensusValue

func (*BlockLookupResult) XdrMarshal

func (v *BlockLookupResult) XdrMarshal(x XDR, name string)

func (*BlockLookupResult) XdrPointer

func (v *BlockLookupResult) XdrPointer() interface{}

func (*BlockLookupResult) XdrRecurse

func (u *BlockLookupResult) XdrRecurse(x XDR, name string)

func (BlockLookupResult) XdrTypeName

func (BlockLookupResult) XdrTypeName() string

func (*BlockLookupResult) XdrUnionBody

func (u *BlockLookupResult) XdrUnionBody() XdrType

func (*BlockLookupResult) XdrUnionBodyName

func (u *BlockLookupResult) XdrUnionBodyName() string

func (*BlockLookupResult) XdrUnionTag

func (u *BlockLookupResult) XdrUnionTag() XdrNum32

func (*BlockLookupResult) XdrUnionTagName

func (u *BlockLookupResult) XdrUnionTagName() string

func (BlockLookupResult) XdrValid

func (u BlockLookupResult) XdrValid() bool

func (BlockLookupResult) XdrValidTags

func (_ BlockLookupResult) XdrValidTags() map[int32]bool

func (BlockLookupResult) XdrValue

func (v BlockLookupResult) XdrValue() interface{}

type BlockTransactionQuery

type BlockTransactionQuery struct {
	Height BlockHeight
	Order  IterationOrder
	/// Empty on the initial call. Non-empty to continue at the same height;
	/// `order` is ignored when a cursor is supplied because the cursor carries it.
	/// Malformed, wrong-block, or height-mismatched cursors return
	/// IndexerQueryInvalidCursor. A valid continuation whose block is not yet
	/// indexed returns IndexerQueryHistoryUnavailable.
	Cursor PaginationCursor
	/// Clamped server-side to [1, 200]; 0 means server default (50).
	Limit uint32
}

/ `get_transactions_by_block` request. Returns transactions committed at / exactly `height`, ordered lexicographically by their 32 unsigned hash bytes.

func XDR_BlockTransactionQuery

func XDR_BlockTransactionQuery(v *BlockTransactionQuery) *BlockTransactionQuery

func (*BlockTransactionQuery) XdrMarshal

func (v *BlockTransactionQuery) XdrMarshal(x XDR, name string)

func (*BlockTransactionQuery) XdrPointer

func (v *BlockTransactionQuery) XdrPointer() interface{}

func (*BlockTransactionQuery) XdrRecurse

func (v *BlockTransactionQuery) XdrRecurse(x XDR, name string)

func (BlockTransactionQuery) XdrTypeName

func (BlockTransactionQuery) XdrTypeName() string

func (BlockTransactionQuery) XdrValue

func (v BlockTransactionQuery) XdrValue() interface{}

type BristleconeContent

type BristleconeContent struct {
	// The union discriminant Content_type selects among the following arms:
	//   BRISTLECONE_PROPOSAL:
	//      Proposal() *BristleconeProposal
	//   BRISTLECONE_SAFE_VOTE:
	//      Safe_vote() *BristleconeSafeVote
	//   BRISTLECONE_TIMELY_VOTE:
	//      Timely_vote() *BristleconeTimelyVote
	Content_type BristleconeContentType
	// contains filtered or unexported fields
}

func XDR_BristleconeContent

func XDR_BristleconeContent(v *BristleconeContent) *BristleconeContent

func (*BristleconeContent) Proposal

func (u *BristleconeContent) Proposal() *BristleconeProposal

func (*BristleconeContent) Safe_vote

func (u *BristleconeContent) Safe_vote() *BristleconeSafeVote

func (*BristleconeContent) Timely_vote

func (u *BristleconeContent) Timely_vote() *BristleconeTimelyVote

func (*BristleconeContent) XdrMarshal

func (v *BristleconeContent) XdrMarshal(x XDR, name string)

func (*BristleconeContent) XdrPointer

func (v *BristleconeContent) XdrPointer() interface{}

func (*BristleconeContent) XdrRecurse

func (u *BristleconeContent) XdrRecurse(x XDR, name string)

func (BristleconeContent) XdrTypeName

func (BristleconeContent) XdrTypeName() string

func (*BristleconeContent) XdrUnionBody

func (u *BristleconeContent) XdrUnionBody() XdrType

func (*BristleconeContent) XdrUnionBodyName

func (u *BristleconeContent) XdrUnionBodyName() string

func (*BristleconeContent) XdrUnionTag

func (u *BristleconeContent) XdrUnionTag() XdrNum32

func (*BristleconeContent) XdrUnionTagName

func (u *BristleconeContent) XdrUnionTagName() string

func (BristleconeContent) XdrValid

func (u BristleconeContent) XdrValid() bool

func (BristleconeContent) XdrValidTags

func (_ BristleconeContent) XdrValidTags() map[int32]bool

func (BristleconeContent) XdrValue

func (v BristleconeContent) XdrValue() interface{}

type BristleconeContentType

type BristleconeContentType int32

The three kinds of envelope: a proposal, a SAFE vote, and a TIMELY vote.

const (
	BRISTLECONE_PROPOSAL    BristleconeContentType = 0
	BRISTLECONE_SAFE_VOTE   BristleconeContentType = 1
	BRISTLECONE_TIMELY_VOTE BristleconeContentType = 2
)

func (BristleconeContentType) GetU32

func (v BristleconeContentType) GetU32() uint32

func (*BristleconeContentType) Scan

func (*BristleconeContentType) SetU32

func (v *BristleconeContentType) SetU32(n uint32)

func (BristleconeContentType) String

func (v BristleconeContentType) String() string

func (BristleconeContentType) XdrEnumNames

func (BristleconeContentType) XdrEnumNames() map[int32]string

func (*BristleconeContentType) XdrMarshal

func (v *BristleconeContentType) XdrMarshal(x XDR, name string)

func (*BristleconeContentType) XdrPointer

func (v *BristleconeContentType) XdrPointer() interface{}

func (BristleconeContentType) XdrTypeName

func (BristleconeContentType) XdrTypeName() string

func (BristleconeContentType) XdrValue

func (v BristleconeContentType) XdrValue() interface{}

type BristleconeCount

type BristleconeCount = uint32

type BristleconeEnvelope

type BristleconeEnvelope struct {
	Note BristleconeNote
	// The sending party's signature over the XDR encoding of the note.
	Signature Signature
}

func XDR_BristleconeEnvelope

func XDR_BristleconeEnvelope(v *BristleconeEnvelope) *BristleconeEnvelope

func (*BristleconeEnvelope) XdrMarshal

func (v *BristleconeEnvelope) XdrMarshal(x XDR, name string)

func (*BristleconeEnvelope) XdrPointer

func (v *BristleconeEnvelope) XdrPointer() interface{}

func (*BristleconeEnvelope) XdrRecurse

func (v *BristleconeEnvelope) XdrRecurse(x XDR, name string)

func (BristleconeEnvelope) XdrTypeName

func (BristleconeEnvelope) XdrTypeName() string

func (BristleconeEnvelope) XdrValue

func (v BristleconeEnvelope) XdrValue() interface{}

type BristleconeEnvelopes

type BristleconeEnvelopes = []BristleconeEnvelope

type BristleconeNote

type BristleconeNote struct {
	// The sending party.
	Party ValidatorID
	// The slot the content applies to.
	Slot    BristleconeSlot
	Content BristleconeContent
}

The signed payload of an envelope.

func XDR_BristleconeNote

func XDR_BristleconeNote(v *BristleconeNote) *BristleconeNote

func (*BristleconeNote) XdrMarshal

func (v *BristleconeNote) XdrMarshal(x XDR, name string)

func (*BristleconeNote) XdrPointer

func (v *BristleconeNote) XdrPointer() interface{}

func (*BristleconeNote) XdrRecurse

func (v *BristleconeNote) XdrRecurse(x XDR, name string)

func (BristleconeNote) XdrTypeName

func (BristleconeNote) XdrTypeName() string

func (BristleconeNote) XdrValue

func (v BristleconeNote) XdrValue() interface{}

type BristleconeOptQuorumSet

type BristleconeOptQuorumSet = *BristleconeQuorumSet

type BristleconeOptValue

type BristleconeOptValue = *BristleconeValue

type BristleconeProposal

type BristleconeProposal struct {
	Parent_slot BristleconeSlot
	Value       BristleconeValue
}

A leader proposal for the note's slot: the proposed value and the slot whose value it hash-chains onto.

func XDR_BristleconeProposal

func XDR_BristleconeProposal(v *BristleconeProposal) *BristleconeProposal

func (*BristleconeProposal) XdrMarshal

func (v *BristleconeProposal) XdrMarshal(x XDR, name string)

func (*BristleconeProposal) XdrPointer

func (v *BristleconeProposal) XdrPointer() interface{}

func (*BristleconeProposal) XdrRecurse

func (v *BristleconeProposal) XdrRecurse(x XDR, name string)

func (BristleconeProposal) XdrTypeName

func (BristleconeProposal) XdrTypeName() string

func (BristleconeProposal) XdrValue

func (v BristleconeProposal) XdrValue() interface{}

type BristleconeQuorumSet

type BristleconeQuorumSet struct {
	Threshold  BristleconeCount
	Parties    []ValidatorID
	Inner_sets []BristleconeQuorumSet
}

func XDR_BristleconeQuorumSet

func XDR_BristleconeQuorumSet(v *BristleconeQuorumSet) *BristleconeQuorumSet

func (*BristleconeQuorumSet) XdrMarshal

func (v *BristleconeQuorumSet) XdrMarshal(x XDR, name string)

func (*BristleconeQuorumSet) XdrPointer

func (v *BristleconeQuorumSet) XdrPointer() interface{}

func (*BristleconeQuorumSet) XdrRecurse

func (v *BristleconeQuorumSet) XdrRecurse(x XDR, name string)

func (BristleconeQuorumSet) XdrTypeName

func (BristleconeQuorumSet) XdrTypeName() string

func (BristleconeQuorumSet) XdrValue

func (v BristleconeQuorumSet) XdrValue() interface{}

type BristleconeQuorumSetHash

type BristleconeQuorumSetHash = [32]byte

type BristleconeSafeStatement

type BristleconeSafeStatement struct {
	Parent_slot BristleconeSlot
	Value       BristleconeValue
}

The statement of a SAFE vote: the note's slot holds this value, with this parent slot.

func (*BristleconeSafeStatement) XdrMarshal

func (v *BristleconeSafeStatement) XdrMarshal(x XDR, name string)

func (*BristleconeSafeStatement) XdrPointer

func (v *BristleconeSafeStatement) XdrPointer() interface{}

func (*BristleconeSafeStatement) XdrRecurse

func (v *BristleconeSafeStatement) XdrRecurse(x XDR, name string)

func (BristleconeSafeStatement) XdrTypeName

func (BristleconeSafeStatement) XdrTypeName() string

func (BristleconeSafeStatement) XdrValue

func (v BristleconeSafeStatement) XdrValue() interface{}

type BristleconeSafeVote

type BristleconeSafeVote struct {
	// The hash of the sender's quorum set (BristleconeQuorumSet) for this vote.
	Qset_hash BristleconeQuorumSetHash
	Statement BristleconeSafeStatement
	Vote      BristleconeVoteType
}

func XDR_BristleconeSafeVote

func XDR_BristleconeSafeVote(v *BristleconeSafeVote) *BristleconeSafeVote

func (*BristleconeSafeVote) XdrMarshal

func (v *BristleconeSafeVote) XdrMarshal(x XDR, name string)

func (*BristleconeSafeVote) XdrPointer

func (v *BristleconeSafeVote) XdrPointer() interface{}

func (*BristleconeSafeVote) XdrRecurse

func (v *BristleconeSafeVote) XdrRecurse(x XDR, name string)

func (BristleconeSafeVote) XdrTypeName

func (BristleconeSafeVote) XdrTypeName() string

func (BristleconeSafeVote) XdrValue

func (v BristleconeSafeVote) XdrValue() interface{}

type BristleconeSlot

type BristleconeSlot = int64

A slot number (aka height). Voting starts at slot 0. Slot -1 is the implicit genesis slot: it is never voted on, but slot 0 names it as its parent, so slots are signed.

type BristleconeTimelyStatement

type BristleconeTimelyStatement struct {
	Timely bool
}

The statement of a TIMELY vote: whether the note's slot is timely.

func (*BristleconeTimelyStatement) XdrMarshal

func (v *BristleconeTimelyStatement) XdrMarshal(x XDR, name string)

func (*BristleconeTimelyStatement) XdrPointer

func (v *BristleconeTimelyStatement) XdrPointer() interface{}

func (*BristleconeTimelyStatement) XdrRecurse

func (v *BristleconeTimelyStatement) XdrRecurse(x XDR, name string)

func (BristleconeTimelyStatement) XdrTypeName

func (BristleconeTimelyStatement) XdrTypeName() string

func (BristleconeTimelyStatement) XdrValue

func (v BristleconeTimelyStatement) XdrValue() interface{}

type BristleconeTimelyVote

type BristleconeTimelyVote struct {
	// The hash of the sender's quorum set (BristleconeQuorumSet) for this vote.
	Qset_hash BristleconeQuorumSetHash
	Statement BristleconeTimelyStatement
	Vote      BristleconeVoteType
}

func XDR_BristleconeTimelyVote

func XDR_BristleconeTimelyVote(v *BristleconeTimelyVote) *BristleconeTimelyVote

func (*BristleconeTimelyVote) XdrMarshal

func (v *BristleconeTimelyVote) XdrMarshal(x XDR, name string)

func (*BristleconeTimelyVote) XdrPointer

func (v *BristleconeTimelyVote) XdrPointer() interface{}

func (*BristleconeTimelyVote) XdrRecurse

func (v *BristleconeTimelyVote) XdrRecurse(x XDR, name string)

func (BristleconeTimelyVote) XdrTypeName

func (BristleconeTimelyVote) XdrTypeName() string

func (BristleconeTimelyVote) XdrValue

func (v BristleconeTimelyVote) XdrValue() interface{}

type BristleconeValue

type BristleconeValue = []byte

type BristleconeValues

type BristleconeValues = []BristleconeValue

type BristleconeVoteType

type BristleconeVoteType int32

The federated-voting phase of a vote: the sender votes for the statement, or accepts it.

const (
	BRISTLECONE_VOTE   BristleconeVoteType = 0
	BRISTLECONE_ACCEPT BristleconeVoteType = 1
)

func XDR_BristleconeVoteType

func XDR_BristleconeVoteType(v *BristleconeVoteType) *BristleconeVoteType

func (BristleconeVoteType) GetU32

func (v BristleconeVoteType) GetU32() uint32

func (*BristleconeVoteType) Scan

func (v *BristleconeVoteType) Scan(ss fmt.ScanState, _ rune) error

func (*BristleconeVoteType) SetU32

func (v *BristleconeVoteType) SetU32(n uint32)

func (BristleconeVoteType) String

func (v BristleconeVoteType) String() string

func (BristleconeVoteType) XdrEnumNames

func (BristleconeVoteType) XdrEnumNames() map[int32]string

func (*BristleconeVoteType) XdrMarshal

func (v *BristleconeVoteType) XdrMarshal(x XDR, name string)

func (*BristleconeVoteType) XdrPointer

func (v *BristleconeVoteType) XdrPointer() interface{}

func (BristleconeVoteType) XdrTypeName

func (BristleconeVoteType) XdrTypeName() string

func (BristleconeVoteType) XdrValue

func (v BristleconeVoteType) XdrValue() interface{}

type Bytes

type Bytes = []byte

type Bytestring

type Bytestring = []byte // bound KBytestringCeilingLen

/ An arbitrary value, stored as an opaque string of bytes. / / Bounded by the ceiling, not by the limit in force: what a chain permits is / enforced where a bytestring is written rather than where it is decoded.

type Calldata

type Calldata = []byte

/ Opaque encoded call arguments passed to a contract invocation. / / Contracts can encode calldata arbitrarily, but the SDKs encode a tuple or / struct of the method's parameters in CXS (compact XDR serialization), a / variant of RFC 4506 XDR without 4-byte padding and with variable-length / integers, lengths and discriminants.

type Catchup1

type Catchup1 interface {
	Catchup_null(context.Context) error
	Catchup_solicit(context.Context, SignedCatchupBlocksRequest) (SignedCatchupBlocksResult, error)
}

type Catchup1_Client

type Catchup1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (Catchup1_Client) Catchup_null

func (c Catchup1_Client) Catchup_null(ctx context.Context) error

func (Catchup1_Client) Catchup_solicit

func (Catchup1_Client) WithContext

func (c Catchup1_Client) WithContext(ctx context.Context) Catchup1

type Catchup1_Server

type Catchup1_Server struct {
	Srv Catchup1
}

func (Catchup1_Server) GetProc

func (s Catchup1_Server) GetProc(p uint32) XdrSrvProc

func (Catchup1_Server) Prog

func (Catchup1_Server) Prog() uint32

func (Catchup1_Server) ProgName

func (Catchup1_Server) ProgName() string

func (Catchup1_Server) Vers

func (Catchup1_Server) Vers() uint32

func (Catchup1_Server) VersName

func (Catchup1_Server) VersName() string

type CatchupBlock

type CatchupBlock struct {
	Consensus_basis     ConsensusBasis
	Signed_transactions ParallelSignedTransactionBatch
}

func XDR_CatchupBlock

func XDR_CatchupBlock(v *CatchupBlock) *CatchupBlock

func (*CatchupBlock) XdrMarshal

func (v *CatchupBlock) XdrMarshal(x XDR, name string)

func (*CatchupBlock) XdrPointer

func (v *CatchupBlock) XdrPointer() interface{}

func (*CatchupBlock) XdrRecurse

func (v *CatchupBlock) XdrRecurse(x XDR, name string)

func (CatchupBlock) XdrTypeName

func (CatchupBlock) XdrTypeName() string

func (CatchupBlock) XdrValue

func (v CatchupBlock) XdrValue() interface{}

type CatchupBlocksRequest

type CatchupBlocksRequest struct {
	Timestamp TimePoint
	Spans     []CatchupSpan
}

func XDR_CatchupBlocksRequest

func XDR_CatchupBlocksRequest(v *CatchupBlocksRequest) *CatchupBlocksRequest

func (*CatchupBlocksRequest) XdrMarshal

func (v *CatchupBlocksRequest) XdrMarshal(x XDR, name string)

func (*CatchupBlocksRequest) XdrPointer

func (v *CatchupBlocksRequest) XdrPointer() interface{}

func (*CatchupBlocksRequest) XdrRecurse

func (v *CatchupBlocksRequest) XdrRecurse(x XDR, name string)

func (CatchupBlocksRequest) XdrTypeName

func (CatchupBlocksRequest) XdrTypeName() string

func (CatchupBlocksRequest) XdrValue

func (v CatchupBlocksRequest) XdrValue() interface{}

type CatchupBlocksResult

type CatchupBlocksResult struct {
	Timestamp TimePoint
	Blocks    []CatchupBlock
}

func XDR_CatchupBlocksResult

func XDR_CatchupBlocksResult(v *CatchupBlocksResult) *CatchupBlocksResult

func (*CatchupBlocksResult) XdrMarshal

func (v *CatchupBlocksResult) XdrMarshal(x XDR, name string)

func (*CatchupBlocksResult) XdrPointer

func (v *CatchupBlocksResult) XdrPointer() interface{}

func (*CatchupBlocksResult) XdrRecurse

func (v *CatchupBlocksResult) XdrRecurse(x XDR, name string)

func (CatchupBlocksResult) XdrTypeName

func (CatchupBlocksResult) XdrTypeName() string

func (CatchupBlocksResult) XdrValue

func (v CatchupBlocksResult) XdrValue() interface{}

type CatchupConfig

type CatchupConfig struct {
	Catchup_block_ttl_sec Seconds
	Catchup_block_age     BlockHeight
}

func XDR_CatchupConfig

func XDR_CatchupConfig(v *CatchupConfig) *CatchupConfig

func (*CatchupConfig) XdrMarshal

func (v *CatchupConfig) XdrMarshal(x XDR, name string)

func (*CatchupConfig) XdrPointer

func (v *CatchupConfig) XdrPointer() interface{}

func (*CatchupConfig) XdrRecurse

func (v *CatchupConfig) XdrRecurse(x XDR, name string)

func (CatchupConfig) XdrTypeName

func (CatchupConfig) XdrTypeName() string

func (CatchupConfig) XdrValue

func (v CatchupConfig) XdrValue() interface{}

type CatchupSpan

type CatchupSpan struct {
	From_block_height BlockHeight
	// not including
	To_block_height BlockHeight
}

func XDR_CatchupSpan

func XDR_CatchupSpan(v *CatchupSpan) *CatchupSpan

func (*CatchupSpan) XdrMarshal

func (v *CatchupSpan) XdrMarshal(x XDR, name string)

func (*CatchupSpan) XdrPointer

func (v *CatchupSpan) XdrPointer() interface{}

func (*CatchupSpan) XdrRecurse

func (v *CatchupSpan) XdrRecurse(x XDR, name string)

func (CatchupSpan) XdrTypeName

func (CatchupSpan) XdrTypeName() string

func (CatchupSpan) XdrValue

func (v CatchupSpan) XdrValue() interface{}

type Config

type Config struct {
	Validator_config *ValidatorConfig
	Discovery_config *DiscoveryConfig
	Router_config    *RouterConfig
	Dogwood_config   *DogwoodConfig
	Mempool_config   *MempoolConfig
	Catchup_config   *CatchupConfig
	Scp_config       *SCPConfig
	Baton_config     *BatonConfig
	Repair_config    *RepairConfig
	Storage_config   *StorageConfig
}

func XDR_Config

func XDR_Config(v *Config) *Config

func (*Config) XdrMarshal

func (v *Config) XdrMarshal(x XDR, name string)

func (*Config) XdrPointer

func (v *Config) XdrPointer() interface{}

func (*Config) XdrRecurse

func (v *Config) XdrRecurse(x XDR, name string)

func (Config) XdrTypeName

func (Config) XdrTypeName() string

func (Config) XdrValue

func (v Config) XdrValue() interface{}

type ConfigHash

type ConfigHash = SHA256Hash

/ SHA-256 of the XDR-encoded ConfigHashPreimage.

type ConfigHashPreimage

type ConfigHashPreimage struct {
	Storage_cost_model StorageCostModelXdr
	Network_config     NetworkConfig
	/// The contract a root invocation of an undeployed address resolves to, as
	/// `GenesisConfiguration` states it and every `DbTip` carries it forward.
	///
	/// It selects executing code, so a node running under a different one from
	/// its peers executes a different chain. Nothing else commits to it: a
	/// node's copy travels in the tip, which implementations are free to keep
	/// outside the state the storage hash covers, and some do. Committing to
	/// it here is what binds the value a node executes under to the one
	/// consensus agreed, rather than to whatever its own storage returns.
	Default_wallet DeployedContractHash
}

/ The network configuration committed to by ProposalHeader::config_hash. / New consensus-critical configuration belongs in this preimage.

func XDR_ConfigHashPreimage

func XDR_ConfigHashPreimage(v *ConfigHashPreimage) *ConfigHashPreimage

func (*ConfigHashPreimage) XdrMarshal

func (v *ConfigHashPreimage) XdrMarshal(x XDR, name string)

func (*ConfigHashPreimage) XdrPointer

func (v *ConfigHashPreimage) XdrPointer() interface{}

func (*ConfigHashPreimage) XdrRecurse

func (v *ConfigHashPreimage) XdrRecurse(x XDR, name string)

func (ConfigHashPreimage) XdrTypeName

func (ConfigHashPreimage) XdrTypeName() string

func (ConfigHashPreimage) XdrValue

func (v ConfigHashPreimage) XdrValue() interface{}

type ConfigParam

type ConfigParam struct {
	// The union discriminant Param selects among the following arms:
	//   KConfigParamMaxSHA256Buffers:
	//      Max_sha256_buffers() *uint32
	//   KConfigParamMaxCrossInvokeDepth:
	//      Max_cross_invoke_depth() *uint32
	//   KConfigParamMaxNewContractsPerTx:
	//      Max_new_contracts_per_tx() *uint32
	//   KConfigParamMaxBytestringLen:
	//      Max_bytestring_len() *uint32
	//   KConfigParamMaxContractSizeBytes:
	//      Max_contract_size_bytes() *uint32
	//   KConfigParamMaxSavepointDepth:
	//      Max_savepoint_depth() *uint32
	//   KConfigParamMaxSHA256BufferBytes:
	//      Max_sha256_buffer_bytes() *uint32
	//   KConfigParamMaxAuthTokenDepth:
	//      Max_auth_token_depth() *uint32
	//   KConfigParamMaxRv32CodeBytes:
	//      Max_rv32_code_bytes() *uint32
	//   KConfigParamMaxRv32MemoryBytes:
	//      Max_rv32_memory_bytes() *uint32
	//   KConfigParamMaxAuthTokens:
	//      Max_auth_tokens() *uint32
	//   KConfigParamMaxCalldataLen:
	//      Max_calldata_len() *uint32
	//   KConfigParamMaxReturnBufferLen:
	//      Max_return_buffer_len() *uint32
	//   KConfigParamMaxTxGas:
	//      Max_tx_gas() *GasAmount
	//   KConfigParamMinRv32ArtifactVersion:
	//      Min_rv32_artifact_version() *uint32
	//   KConfigParamMaxRv32ArtifactVersion:
	//      Max_rv32_artifact_version() *uint32
	//   KConfigParamMaxSubtransactionOutputBytes:
	//      Max_subtransaction_output_bytes() *uint32
	//   KConfigParamMinSyscallApiMinor:
	//      Min_syscall_api_minor() *uint32
	//   KConfigParamMaxSyscallApiMinor:
	//      Max_syscall_api_minor() *uint32
	Param ConfigParamID
	// contains filtered or unexported fields
}

/ One configuration parameter and the value in force for it. / / Serves both uses of that pairing: `NetworkConfigV0` states a chain's / configuration as a list of these, and is meant to carry one per parameter / being changed by a consensus upgrade, where everything a block does not / name keeps the value it already has. No upgrade mechanism exists yet: / `ConsensusValue::upgrades` is opaque, and the node leaves it empty. Each arm / carries its own type, so a future parameter need not be an `unsigned int`. / / There is no `default` arm on purpose: a node that cannot name a parameter / cannot know what value is in force for it, so an unrecognized id must fail / to decode rather than decode to something the node then ignores.

func XDR_ConfigParam

func XDR_ConfigParam(v *ConfigParam) *ConfigParam

func (*ConfigParam) Max_auth_token_depth

func (u *ConfigParam) Max_auth_token_depth() *uint32

/ Levels of `AuthTokenNode` nesting an auth token may carry, counted from / its root, checked where a token is minted or forwarded into a view. / `kAuthTokenMaxDepth` is the value in force for a configuration that / does not state one. The wire type bounds a node's payload and its / direct children (`kAuthTokenMaxLen`, `kAuthTokenMaxChildNodes`) but not / the depth, so this is what bounds a token's total size.

func (*ConfigParam) Max_auth_tokens

func (u *ConfigParam) Max_auth_tokens() *uint32

/ Auth token ids one call may carry in a list: `Invoke`'s / `owned_auth_token_ids_list` and `Return`'s `returned_auth_token_ids`, / each read as a `[u32]` span. / / Checked against the span's length before the ids are read, so a list / past the bound is refused without being copied and what a rejected call / costs does not scale with the memory that held it. The ids in a list are / distinct and owned by the frame naming them, so this bounds what one / frame hands another in a single call rather than what a frame may hold. / / Neither wire type bounds its list, and no value was in force before this / parameter: a list was limited only by the memory holding it. A / configuration omitting this one is not continuing an older rule: the / value in force is 64.

func (*ConfigParam) Max_bytestring_len

func (u *ConfigParam) Max_bytestring_len() *uint32

/ Bytes one bytestring storage item may hold, checked where a contract / writes one rather than where one is read, so that lowering it leaves / existing items readable instead of stranding state. / / `kBytestringCeilingLen` bounds this. A chain must also keep it low / enough that its own storage engine handles the largest item it thereby / admits; the ceiling does not guarantee that.

func (*ConfigParam) Max_calldata_len

func (u *ConfigParam) Max_calldata_len() *uint32

/ Bytes of calldata one invocation may be given, whether a transaction / supplies it in `Invocation::calldata` or a contract supplies it in / `Invoke`'s `calldata` span. / / Checked before the bytes are copied, so an oversized call is refused / rather than materialized. `Calldata` is `opaque<>`, so the wire type / bounds neither form and this is what bounds them in execution. / `kConfigParamMaxReturnBufferLen` bounds the other direction the same / way. / / The executor holds a frame's calldata for the life of that frame and / every open frame holds its own, so a chain must keep this within what / `kConfigParamMaxCrossInvokeDepth` frames of it leave room for. No value / was in force before this parameter; for a configuration that does not / state one, the value in force is 65536.

func (*ConfigParam) Max_contract_size_bytes

func (u *ConfigParam) Max_contract_size_bytes() *uint32

/ Bytes one attached contract's code blob (`ContractBlob.data`) may hold, / checked before any attached contract is verified or executed. It is / the same quantity `contract_deployment_cost_per_byte` charges for. / / `kDefaultMaxContractSizeBytes` is the value in force for a / configuration that does not state one. The wire format does not bound / `ContractBlob`, so nothing here caps what a chain may state: a chain / must keep it low enough that its own storage engine stores the largest / contract it thereby admits, that every attached contract still fits a / transaction (`kMaxBytesSignedTransaction`), and that the commit batch / `kConfigParamMaxNewContractsPerTx` bounds fits one storage message. / The node rejects a genesis that does not.

func (*ConfigParam) Max_cross_invoke_depth

func (u *ConfigParam) Max_cross_invoke_depth() *uint32

/ Invocation frames one transaction may have open at once, counting every / invoke rather than only the savepoint-pushing ones that / `kConfigParamMaxSavepointDepth` bounds. Each open frame holds a live contract / runtime, so this is what stops a recursive call chain from growing until / the executor runs out of room for it. 16 is the value in force for a / configuration that does not state one.

func (*ConfigParam) Max_new_contracts_per_tx

func (u *ConfigParam) Max_new_contracts_per_tx() *uint32

/ Contracts one transaction may attach in `contracts_to_deploy`. / / Counted over what is attached rather than what a contract goes on to / deploy: the executor holds every attached contract for the whole / transaction, and the ones deployed are a subset chosen during execution. / Attaching the same contract twice is rejected outright, so the count is / over distinct contracts either way. 4 is the value in force for a / configuration that does not state one. / / Together with `kConfigParamMaxContractSizeBytes` this is what bounds the / transaction's final commit batch, which the executor sends to storage as / a single message. A chain must set the pair low enough that the largest / batch it admits still fits that message; the node rejects a genesis / that does not.

func (*ConfigParam) Max_return_buffer_len

func (u *ConfigParam) Max_return_buffer_len() *uint32

/ Bytes one invocation frame may return, whether to a calling frame or, / from the root frame, into `TxEventLog::root_output`. / / Checked where the Return syscall writes a buffer, which is the only / place one is built. A root frame's buffer is committed to by the events / root, so what a chain states here it stores and serves for every / transaction; together with the event bounds it is what keeps a / `TxEventLog` inside the RPC transport message limit. / / `ReturnBuffer` bounded itself at 1024 bytes before this parameter, so a / configuration omitting this one is continuing an older rule rather than / lifting it: the value in force for a configuration that does not state / one is 1024.

func (*ConfigParam) Max_rv32_artifact_version

func (u *ConfigParam) Max_rv32_artifact_version() *uint32

/ Highest RV32 artifact format version admitted as an attached contract, / checked with `kConfigParamMinRv32ArtifactVersion` and inclusive like it. / The value in force for a configuration that does not state one is the / newest format the node's build reads. / / This is what activates a format: a node whose build reads a newer / format still refuses it until the chain's configuration admits it, so / nodes on different builds agree on which contracts attach. The node / rejects a genesis above the newest format its build reads.

func (*ConfigParam) Max_rv32_code_bytes

func (u *ConfigParam) Max_rv32_code_bytes() *uint32

/ Bytes of code (`code_size` in the artifact header) an RV32 artifact may / carry to be admitted as an attached contract. / 262144 is the value in force for a configuration that does not state / one. / / Checked where a contract is attached, not where a deployed one is / instantiated, so lowering it leaves deployed contracts runnable. The / artifact format itself does not bound the field; the node rejects a / genesis above what its VM can translate.

func (*ConfigParam) Max_rv32_memory_bytes

func (u *ConfigParam) Max_rv32_memory_bytes() *uint32

/ Bytes of guest data memory (`memory_bytes` in the artifact header) an / RV32 artifact may declare to be admitted as an attached contract. / 65536 is the value in force for a configuration that does not state / one. / / Checked at attachment like `kConfigParamMaxRv32CodeBytes`. Every / invocation provisions and seeds the declared memory outside gas, so a / chain raising this accepts that per-call cost; the node rejects a / genesis above what its VM provisions.

func (*ConfigParam) Max_savepoint_depth

func (u *ConfigParam) Max_savepoint_depth() *uint32

/ Storage savepoints one transaction may hold at once: one per successful / `TryInvoke` whose writes are still held (finished siblings included), / plus the one the root commit takes. A `TryInvoke` whose child would go / past the limit still runs, then fails deterministically, as one that / loses a lock conflict does, and its writes are discarded. / 1024 is the value in force for a configuration that does not state / one. / / Every open savepoint is a live nested VM on one executor thread, so a / chain must keep this within what its executors' stacks hold; the / node rejects a genesis above its build ceiling.

func (*ConfigParam) Max_sha256_buffer_bytes

func (u *ConfigParam) Max_sha256_buffer_bytes() *uint32

/ Legacy cumulative SHA-256 byte limit. Retained for wire compatibility / and configuration hashing; no longer enforced. SHA256Update checks gas / before processing input and keeps constant-size incremental state.

func (*ConfigParam) Max_sha256_buffers

func (u *ConfigParam) Max_sha256_buffers() *uint32

/ Concurrently open incremental SHA-256 buffers permitted per invocation / frame (`SHA256Update`, `SHA256Copy`, `SHA256Finalize`). 32 is the value / in force for a configuration that does not state one.

func (*ConfigParam) Max_subtransaction_output_bytes

func (u *ConfigParam) Max_subtransaction_output_bytes() *uint32

/ Storage output one subtransaction may carry to storage, summed over its / [`FlaggedStorageDelta`]s. A transaction writes one subtransaction at its / root commit, holding everything the transaction writes (including the / replay-cache and deployment records the executor adds), and in a / proposal one more for each successful `TryInvoke` frame's lock probe, / holding that frame's writes. / / Storage output counts the values a delta carries, not any encoding of / it, so a node computes the same figure however its storage link frames / deltas. Each delta has a fixed charge, which covers its storage key, its / flags and every fixed-size value its arm carries. On top of that: / / - `kDeltaTypeBytestringSet` adds the bytestring's length in bytes. / - `kDeltaTypeRetrocausalQueue` adds, for each entry in / `insert.added_entries` and in `consume.current_block_consumed`, a / fixed charge plus the entry's length in bytes. / `observed_concurrent_entries` are not counted, and neither is a delta / a validator adds only to carry them, for a queue the transaction did / not otherwise modify: a validator rebuilds both from the proposal's / recorded observations, which a proposer's batch does not carry, so / counting them would give the two different figures for the same / transaction. `kMaxConcurrentRcqReadsPerTx` bounds them instead. / - `kDeltaTypeAuthDataChange` adds a fixed charge for each entry in / `auth_data_change_signers`. / / The node defines the fixed charges and the value in force for a / configuration that does not state this parameter. / / A root commit over the limit fails the transaction deterministically, / as a fault in the root frame does: it is included, its body's effects / are discarded, and its replay-cache record still commits. A `TryInvoke` / lock probe over the limit fails that frame as a lock conflict does. / / A chain must keep the limit low enough that its nodes can send the / largest subtransaction it admits, together with a validator's rebuilt / observations, to storage in one message; hogd rejects a genesis that / does not.

func (*ConfigParam) Max_syscall_api_minor

func (u *ConfigParam) Max_syscall_api_minor() *uint32

/ Highest syscall API minor version an RV32 artifact may declare and be / admitted as an attached contract, checked with / `kConfigParamMinSyscallApiMinor` and inclusive like it. The value in / force for a configuration that does not state one is the newest minor / the node's build implements. / / This is what activates the syscalls a minor adds: a guest built against / minor n may call anything introduced up to n, and a node whose build / implements a newer minor still refuses an artifact declaring it until / the chain's configuration admits it, so nodes on different builds agree / on which contracts attach. A chain that relies on that MUST state this / parameter. The node rejects a genesis above the newest minor its build / implements.

func (*ConfigParam) Max_tx_gas

func (u *ConfigParam) Max_tx_gas() *GasAmount

/ Gas one transaction may budget: the most a root `Invocation::gas_limit` / may state. / / Checked before any attached contract is verified or any body runs, so / a transaction over the bound is refused outright rather than clamped: / the budget a transaction signs is the one it executes under or none. / Subinvocations are already capped at their caller's remaining gas, so / bounding the root bounds every frame. / / Native-token availability bounded a transaction's budget before this / parameter, and nothing else did. A configuration omitting this one does / not continue that rule: the value in force is `1,000,000,000`. A / `GasAmount` rather than an `unsigned int` so that a chain may state any / budget a transaction can.

func (*ConfigParam) Min_rv32_artifact_version

func (u *ConfigParam) Min_rv32_artifact_version() *uint32

/ Lowest RV32 artifact format version (`format_version` in the artifact / header) admitted as an attached contract. 5 is the value in force for a / configuration that does not state one, which is the oldest format / admitted before this parameter. / / Checked where a contract is attached, like / `kConfigParamMaxRv32CodeBytes`, not where a deployed one is / instantiated: raising it stops new deployments in an old format and / leaves contracts already deployed in one runnable. Retiring a format / from execution is a separate decision about stored contracts. / / A node admits only formats it can read, so the node rejects a genesis / whose range reaches below the oldest format its build reads, or whose / minimum exceeds `kConfigParamMaxRv32ArtifactVersion`.

func (*ConfigParam) Min_syscall_api_minor

func (u *ConfigParam) Min_syscall_api_minor() *uint32

/ Lowest syscall API minor version an RV32 artifact may declare and be / admitted as an attached contract. `syscalls.yaml` defines the syscall / API version and its compatibility rules; an artifact in format 7 or / later declares the version its guest was built against. 0 is the value / in force for a configuration that does not state one, which admits every / minor up to the maximum. / / Only the minor is configurable. The major is fixed by what a node / implements: an artifact declaring another major does not attach under / any configuration. / / A guest built against an older minor calls a subset of what a newer one / provides, so nothing in the API requires a floor. A chain raises this to / stop admitting contracts built against a syscall API it considers too / old. / / Checked where a contract is attached, like / `kConfigParamMinRv32ArtifactVersion`, not where a deployed one is / instantiated: raising it leaves contracts already deployed runnable. It / does not apply to an artifact in format 5 or 6, which declares no minor; / `kConfigParamMinRv32ArtifactVersion` is what stops those attaching. / / The node rejects a genesis whose minimum exceeds / `kConfigParamMaxSyscallApiMinor`.

func (*ConfigParam) XdrMarshal

func (v *ConfigParam) XdrMarshal(x XDR, name string)

func (*ConfigParam) XdrPointer

func (v *ConfigParam) XdrPointer() interface{}

func (*ConfigParam) XdrRecurse

func (u *ConfigParam) XdrRecurse(x XDR, name string)

func (ConfigParam) XdrTypeName

func (ConfigParam) XdrTypeName() string

func (*ConfigParam) XdrUnionBody

func (u *ConfigParam) XdrUnionBody() XdrType

func (*ConfigParam) XdrUnionBodyName

func (u *ConfigParam) XdrUnionBodyName() string

func (*ConfigParam) XdrUnionTag

func (u *ConfigParam) XdrUnionTag() XdrNum32

func (*ConfigParam) XdrUnionTagName

func (u *ConfigParam) XdrUnionTagName() string

func (ConfigParam) XdrValid

func (u ConfigParam) XdrValid() bool

func (ConfigParam) XdrValidTags

func (_ ConfigParam) XdrValidTags() map[int32]bool

func (ConfigParam) XdrValue

func (v ConfigParam) XdrValue() interface{}

type ConfigParamID

type ConfigParamID int32

/ Names one consensus-critical configuration parameter. / / Append-only: an id, once assigned, means that parameter forever, and a / retired parameter keeps its id rather than freeing it for reuse.

const (
	KConfigParamMaxSHA256Buffers             ConfigParamID = 0
	KConfigParamMaxCrossInvokeDepth          ConfigParamID = 1
	KConfigParamMaxNewContractsPerTx         ConfigParamID = 2
	KConfigParamMaxBytestringLen             ConfigParamID = 3
	KConfigParamMaxContractSizeBytes         ConfigParamID = 4
	KConfigParamMaxSavepointDepth            ConfigParamID = 5
	KConfigParamMaxSHA256BufferBytes         ConfigParamID = 6
	KConfigParamMaxAuthTokenDepth            ConfigParamID = 7
	KConfigParamMaxRv32CodeBytes             ConfigParamID = 8
	KConfigParamMaxRv32MemoryBytes           ConfigParamID = 9
	KConfigParamMaxAuthTokens                ConfigParamID = 10
	KConfigParamMaxCalldataLen               ConfigParamID = 11
	KConfigParamMaxReturnBufferLen           ConfigParamID = 12
	KConfigParamMaxTxGas                     ConfigParamID = 13
	KConfigParamMinRv32ArtifactVersion       ConfigParamID = 14
	KConfigParamMaxRv32ArtifactVersion       ConfigParamID = 15
	KConfigParamMaxSubtransactionOutputBytes ConfigParamID = 16
	KConfigParamMinSyscallApiMinor           ConfigParamID = 17
	KConfigParamMaxSyscallApiMinor           ConfigParamID = 18
)

func XDR_ConfigParamID

func XDR_ConfigParamID(v *ConfigParamID) *ConfigParamID

func (ConfigParamID) GetU32

func (v ConfigParamID) GetU32() uint32

func (*ConfigParamID) Scan

func (v *ConfigParamID) Scan(ss fmt.ScanState, _ rune) error

func (*ConfigParamID) SetU32

func (v *ConfigParamID) SetU32(n uint32)

func (ConfigParamID) String

func (v ConfigParamID) String() string

func (ConfigParamID) XdrEnumNames

func (ConfigParamID) XdrEnumNames() map[int32]string

func (*ConfigParamID) XdrMarshal

func (v *ConfigParamID) XdrMarshal(x XDR, name string)

func (*ConfigParamID) XdrPointer

func (v *ConfigParamID) XdrPointer() interface{}

func (ConfigParamID) XdrTypeName

func (ConfigParamID) XdrTypeName() string

func (ConfigParamID) XdrValue

func (v ConfigParamID) XdrValue() interface{}

type ConsensusBasis

type ConsensusBasis struct {
	Ext          ExtensionPoint
	Value        ConsensusValue
	Proposal_txs ProposalTxs
}

/ The validation payload for a consensus value. / / `ConsensusBasis` pairs a `ConsensusValue` with the transaction payload it / commits to but does not contain, letting a node reconstruct the `Proposal` / as `{ header: value.proposal_header, transactions: proposal_txs }` and / validate it. Gossiped and used during catchup. / / Consensus agrees only on `value`; the basis has no consensus identity of its own. / / Travels on network.

func XDR_ConsensusBasis

func XDR_ConsensusBasis(v *ConsensusBasis) *ConsensusBasis

func (*ConsensusBasis) XdrMarshal

func (v *ConsensusBasis) XdrMarshal(x XDR, name string)

func (*ConsensusBasis) XdrPointer

func (v *ConsensusBasis) XdrPointer() interface{}

func (*ConsensusBasis) XdrRecurse

func (v *ConsensusBasis) XdrRecurse(x XDR, name string)

func (ConsensusBasis) XdrTypeName

func (ConsensusBasis) XdrTypeName() string

func (ConsensusBasis) XdrValue

func (v ConsensusBasis) XdrValue() interface{}

type ConsensusValue

type ConsensusValue struct {
	// Network protocol version.
	Protocol Protocol
	Ext      ExtensionPoint
	/// Hash of the parent block's `ConsensusValue`, linking the chain.
	Prev_hash ConsensusValueHash
	/// The executed header of the proposed block.
	Proposal_header ProposalHeader
	/// Commits to the block's transaction payload, which is kept out of the
	/// value for compactness and travels separately in `ConsensusBasis`.
	Proposal_txs_hash ProposalTxsHash
	/// Protocol upgrades selected by consensus to take effect at this block.
	Upgrades []Upgrade // bound 6
}

/ The block commitment externalized by consensus. / / `ConsensusValue` is the small value that systems use to identify / a finalized Thruput block without the full transaction payload. / Its XDR hash is the block identity (`ConsensusValueHash`), so every / field is consensus-critical. / / Travels on network.

func XDR_ConsensusValue

func XDR_ConsensusValue(v *ConsensusValue) *ConsensusValue

func (*ConsensusValue) XdrMarshal

func (v *ConsensusValue) XdrMarshal(x XDR, name string)

func (*ConsensusValue) XdrPointer

func (v *ConsensusValue) XdrPointer() interface{}

func (*ConsensusValue) XdrRecurse

func (v *ConsensusValue) XdrRecurse(x XDR, name string)

func (ConsensusValue) XdrTypeName

func (ConsensusValue) XdrTypeName() string

func (ConsensusValue) XdrValue

func (v ConsensusValue) XdrValue() interface{}

type ConsensusValueHash

type ConsensusValueHash = SHA256Hash

/ SHA-256 of the XDR-encoded `ConsensusValue`; the canonical block identity.

type ConsumeUniquifierArgs

type ConsumeUniquifierArgs struct {
	Uniquifier Uniquifier
}

func XDR_ConsumeUniquifierArgs

func XDR_ConsumeUniquifierArgs(v *ConsumeUniquifierArgs) *ConsumeUniquifierArgs

func (*ConsumeUniquifierArgs) XdrMarshal

func (v *ConsumeUniquifierArgs) XdrMarshal(x XDR, name string)

func (*ConsumeUniquifierArgs) XdrPointer

func (v *ConsumeUniquifierArgs) XdrPointer() interface{}

func (*ConsumeUniquifierArgs) XdrRecurse

func (v *ConsumeUniquifierArgs) XdrRecurse(x XDR, name string)

func (ConsumeUniquifierArgs) XdrTypeName

func (ConsumeUniquifierArgs) XdrTypeName() string

func (ConsumeUniquifierArgs) XdrValue

func (v ConsumeUniquifierArgs) XdrValue() interface{}

type Contract

type Contract struct {
	// The union discriminant Contract_type selects among the following arms:
	//   KNative:
	//      Native_contract_id() *HogexecPrecompiledNativeContracts
	//   KMockTest:
	//      Mock_contract_id() *int32
	//   KRv32:
	//      Rv32_contract() *ContractBlob
	Contract_type ContractType
	// contains filtered or unexported fields
}

/ A contract that can be deployed to an address and invoked. / / Contracts are the fundamental unit of code execution in Thruput. / Once deployed to a `ContractAddress`, they can be invoked by transactions / to execute their methods (entrypoints). / / The three contract types serve different purposes: / - `kRv32`: User-deployed contracts (most common) / - `kNative`: System contracts with privileged access / - `kMockTest`: Test contracts for local development

func XDR_Contract

func XDR_Contract(v *Contract) *Contract

func (*Contract) Mock_contract_id

func (u *Contract) Mock_contract_id() *int32

/ Identifier for the mock contract in the test harness.

func (*Contract) Native_contract_id

func (u *Contract) Native_contract_id() *HogexecPrecompiledNativeContracts

/ Identifier for which native contract this is. / / Native contracts are hard-coded in the runtime.

func (*Contract) Rv32_contract

func (u *Contract) Rv32_contract() *ContractBlob

func (*Contract) XdrInitialize

func (v *Contract) XdrInitialize()

func (*Contract) XdrMarshal

func (v *Contract) XdrMarshal(x XDR, name string)

func (*Contract) XdrPointer

func (v *Contract) XdrPointer() interface{}

func (*Contract) XdrRecurse

func (u *Contract) XdrRecurse(x XDR, name string)

func (Contract) XdrTypeName

func (Contract) XdrTypeName() string

func (*Contract) XdrUnionBody

func (u *Contract) XdrUnionBody() XdrType

func (*Contract) XdrUnionBodyName

func (u *Contract) XdrUnionBodyName() string

func (*Contract) XdrUnionTag

func (u *Contract) XdrUnionTag() XdrNum32

func (*Contract) XdrUnionTagName

func (u *Contract) XdrUnionTagName() string

func (Contract) XdrValid

func (u Contract) XdrValid() bool

func (Contract) XdrValidTags

func (_ Contract) XdrValidTags() map[int32]bool

func (Contract) XdrValue

func (v Contract) XdrValue() interface{}

type ContractAddress

type ContractAddress = [32]byte

/ Represents a 256-bit contract address. / In the Thruput storage model, each contract is deployed at a / 32-byte unique `ContractAddress`.

type ContractAddressBatch

type ContractAddressBatch = []ContractAddress

/ Typedef for a list of contract addresses.

type ContractAddressList

type ContractAddressList = []ContractAddress // bound KMaxContractAddressesPerEventFilter

type ContractBlob

type ContractBlob struct {
	Data []byte
}

/ An opaque blob of executable code. / / This is the raw binary that will be executed as an RV32 contract. / / Unbounded on the wire: the size a chain admits is a configuration / parameter (`kConfigParamMaxContractSizeBytes`), enforced where a / transaction attaches a contract rather than where one is decoded.

func XDR_ContractBlob

func XDR_ContractBlob(v *ContractBlob) *ContractBlob

func (*ContractBlob) XdrMarshal

func (v *ContractBlob) XdrMarshal(x XDR, name string)

func (*ContractBlob) XdrPointer

func (v *ContractBlob) XdrPointer() interface{}

func (*ContractBlob) XdrRecurse

func (v *ContractBlob) XdrRecurse(x XDR, name string)

func (ContractBlob) XdrTypeName

func (ContractBlob) XdrTypeName() string

func (ContractBlob) XdrValue

func (v ContractBlob) XdrValue() interface{}

type ContractDeploymentHashPreimage

type ContractDeploymentHashPreimage struct {
	/// The address of the contract performing the deployment.
	Deployer_address ContractAddress
	/// Arbitrary 32-byte value chosen by the deployer.
	///
	/// Allows creating multiple instances of the same contract code
	/// at different addresses.
	Nonce SHA256Hash
	/// SHA-256 hash of the XDR-encoded `Contract` being deployed.
	///
	/// This hashes the entire union, not the bare code blob:
	///
	/// “`text
	/// contract_hash = SHA256(XDR(Contract))
	/// “`
	///
	/// The encoding covers the 4-byte `ContractType` discriminant followed by
	/// the selected arm, so identical code deployed under a different contract
	/// type yields a different hash. For `kRv32` the arm is a `ContractBlob`,
	/// which is itself a 4-byte length prefix followed by the code padded to a
	/// 4-byte boundary -- hashing the raw code alone does not reproduce this
	/// value.
	///
	/// Native and mock contracts are hashed the same way, over a union whose
	/// arm holds a contract identifier instead of a blob. They do not use
	/// separately predefined hash constants.
	Contract_hash SHA256Hash
}

/ Hash preimage for deriving deployed contract addresses. / / When a contract deploys another contract, the new contract's address is / deterministically computed as: / / ```text / ContractAddress = SHA256(ContractDeploymentHashPreimage) / ``` / / Under XDR encoding, this struct serializes as the concatenation of its / fields: `deployer_address || nonce || contract_hash`. / / This is Thruput's analogue of Ethereum's `CREATE2` opcode, allowing / deterministic address derivation. The deployer controls the nonce to / create addresses at will. / / # Example / / ```text / Contract A address: 0x1234... / Contract B hash: 0xabcd... (= SHA256(XDR(Contract B))) / Deployment nonce: 0x5678... / Result: SHA256(0x1234... || 0x5678... || 0xabcd...) = Contract B address / ```

func (*ContractDeploymentHashPreimage) XdrMarshal

func (v *ContractDeploymentHashPreimage) XdrMarshal(x XDR, name string)

func (*ContractDeploymentHashPreimage) XdrPointer

func (v *ContractDeploymentHashPreimage) XdrPointer() interface{}

func (*ContractDeploymentHashPreimage) XdrRecurse

func (v *ContractDeploymentHashPreimage) XdrRecurse(x XDR, name string)

func (ContractDeploymentHashPreimage) XdrTypeName

func (ContractDeploymentHashPreimage) XdrTypeName() string

func (ContractDeploymentHashPreimage) XdrValue

func (v ContractDeploymentHashPreimage) XdrValue() interface{}

type ContractEntrypointID

type ContractEntrypointID = [8]byte

/ 8-byte identifier for a contract method (entrypoint). / / Entrypoint IDs uniquely identify which method to invoke on a contract. / A contract may use any 8 bytes; the protocol attaches no meaning to them. / By default, the SDK derives them from the interface name, the major / version of the interface, and the method name: / / ```text / SHA256(name || "::" || major || "::" || method)[0..8] / ``` / / `major` is the semver compatibility prefix of the interface version: the / leading components up to and including the first nonzero one (`"1"` for / `"1.4.2"`, `"0.2"` for `"0.2.7"`, `"0.0.3"` for `"0.0.3"`). Versions that / share it therefore share entrypoint IDs, and the `"::"` separators keep / distinct (name, major, method) triples from concatenating to the same / preimage. / / # Example / / For an `"ERC20"` interface at version `"1.0.0"`, `transfer` is / `SHA256("ERC20::1::transfer")[0..8]`. / / Interface IDs use the same prefix under a domain tag, / `SHA256("thruput-interface::" || name || "::" || major)[0..8]`, so they / never coincide with an entrypoint ID.

type ContractEvent

type ContractEvent struct {
	Ext        ExtensionPoint
	ContractID *ContractID
	Type       ContractEventType
	Body       XdrAnon_ContractEvent_Body
}

func XDR_ContractEvent

func XDR_ContractEvent(v *ContractEvent) *ContractEvent

func (*ContractEvent) XdrMarshal

func (v *ContractEvent) XdrMarshal(x XDR, name string)

func (*ContractEvent) XdrPointer

func (v *ContractEvent) XdrPointer() interface{}

func (*ContractEvent) XdrRecurse

func (v *ContractEvent) XdrRecurse(x XDR, name string)

func (ContractEvent) XdrTypeName

func (ContractEvent) XdrTypeName() string

func (ContractEvent) XdrValue

func (v ContractEvent) XdrValue() interface{}

type ContractEventType

type ContractEventType int32
const (
	SYSTEM     ContractEventType = 0
	CONTRACT   ContractEventType = 1
	DIAGNOSTIC ContractEventType = 2
)

func XDR_ContractEventType

func XDR_ContractEventType(v *ContractEventType) *ContractEventType

func (ContractEventType) GetU32

func (v ContractEventType) GetU32() uint32

func (*ContractEventType) Scan

func (v *ContractEventType) Scan(ss fmt.ScanState, _ rune) error

func (*ContractEventType) SetU32

func (v *ContractEventType) SetU32(n uint32)

func (ContractEventType) String

func (v ContractEventType) String() string

func (ContractEventType) XdrEnumNames

func (ContractEventType) XdrEnumNames() map[int32]string

func (*ContractEventType) XdrMarshal

func (v *ContractEventType) XdrMarshal(x XDR, name string)

func (*ContractEventType) XdrPointer

func (v *ContractEventType) XdrPointer() interface{}

func (ContractEventType) XdrTypeName

func (ContractEventType) XdrTypeName() string

func (ContractEventType) XdrValue

func (v ContractEventType) XdrValue() interface{}

type ContractID

type ContractID = SHA256Hash

type ContractRejectCode

type ContractRejectCode int32

/ Reason the executor refused a transaction's contract attachments / (Transaction.contracts_to_deploy) at proposal time. Any of them drops the / transaction from the proposal; none is a contract fault. The RV32 codes / name which check of the artifact failed, so an author can tell a / toolchain/node mismatch from an oversized or corrupt build.

const (
	/// The transaction attaches more contracts than the chain's
	/// max_new_contracts_per_tx permits.
	ContractRejectTooMany ContractRejectCode = 0
	/// The contract blob exceeds the chain's max_contract_size_bytes.
	ContractRejectBlobTooLarge ContractRejectCode = 1
	/// The attachment is not an RV32 contract. Native contracts are registered
	/// at genesis; RV32 is the only deployable type.
	ContractRejectNotDeployable ContractRejectCode = 2
	/// The same contract is attached more than once.
	ContractRejectDuplicate ContractRejectCode = 3
	/// The blob is not a readable RV32 artifact: too short, wrong magic, wrong
	/// header size, or its length disagrees with the section sizes the header
	/// declares.
	ContractRejectMalformedArtifact ContractRejectCode = 4
	/// The artifact's format version is not one this node reads, or is outside
	/// the range the chain's configuration admits
	/// (`kConfigParamMinRv32ArtifactVersion`,
	/// `kConfigParamMaxRv32ArtifactVersion`).
	ContractRejectUnsupportedFormat ContractRejectCode = 5
	/// The artifact's VM profile, flags, entry ABI, or syscall API major is not
	/// one this node runs, or the syscall API minor it declares is outside the
	/// range the chain's configuration admits
	/// (`kConfigParamMinSyscallApiMinor`, `kConfigParamMaxSyscallApiMinor`).
	ContractRejectUnsupportedAbi ContractRejectCode = 6
	/// The gas schedule (version, digest) stamped into the artifact is not one
	/// the node accepts: the artifact was lowered by a toolchain whose gas
	/// schedule differs from the node's.
	ContractRejectGasScheduleMismatch ContractRejectCode = 7
	/// The declared guest memory exceeds the chain's max_rv32_memory_bytes.
	ContractRejectMemoryTooLarge ContractRejectCode = 8
	/// The code section is empty or exceeds the chain's max_rv32_code_bytes.
	ContractRejectCodeSizeInvalid ContractRejectCode = 9
	/// The initial memory image does not fit in the declared guest memory, or
	/// an empty image declares a nonzero load address.
	ContractRejectInitialMemoryInvalid ContractRejectCode = 10
	/// A section's bytes do not match the SHA-256 digest the header records.
	ContractRejectDigestMismatch ContractRejectCode = 11
	/// The code does not translate: it contains an unsupported or malformed
	/// instruction.
	ContractRejectInvalidProgram ContractRejectCode = 12
)

func XDR_ContractRejectCode

func XDR_ContractRejectCode(v *ContractRejectCode) *ContractRejectCode

func (ContractRejectCode) GetU32

func (v ContractRejectCode) GetU32() uint32

func (*ContractRejectCode) Scan

func (v *ContractRejectCode) Scan(ss fmt.ScanState, _ rune) error

func (*ContractRejectCode) SetU32

func (v *ContractRejectCode) SetU32(n uint32)

func (ContractRejectCode) String

func (v ContractRejectCode) String() string

func (ContractRejectCode) XdrEnumNames

func (ContractRejectCode) XdrEnumNames() map[int32]string

func (*ContractRejectCode) XdrMarshal

func (v *ContractRejectCode) XdrMarshal(x XDR, name string)

func (*ContractRejectCode) XdrPointer

func (v *ContractRejectCode) XdrPointer() interface{}

func (ContractRejectCode) XdrTypeName

func (ContractRejectCode) XdrTypeName() string

func (ContractRejectCode) XdrValue

func (v ContractRejectCode) XdrValue() interface{}

type ContractRejectDiagnostic

type ContractRejectDiagnostic struct {
	/// Position in Transaction.contracts_to_deploy of the refused contract.
	/// For ContractRejectTooMany, the first position past the limit.
	Contract_index uint32
	Code           ContractRejectCode
}

/ The first contract attachment the executor refused.

func (*ContractRejectDiagnostic) XdrMarshal

func (v *ContractRejectDiagnostic) XdrMarshal(x XDR, name string)

func (*ContractRejectDiagnostic) XdrPointer

func (v *ContractRejectDiagnostic) XdrPointer() interface{}

func (*ContractRejectDiagnostic) XdrRecurse

func (v *ContractRejectDiagnostic) XdrRecurse(x XDR, name string)

func (ContractRejectDiagnostic) XdrTypeName

func (ContractRejectDiagnostic) XdrTypeName() string

func (ContractRejectDiagnostic) XdrValue

func (v ContractRejectDiagnostic) XdrValue() interface{}

type ContractType

type ContractType int32

/ The execution environment for a contract. / / Discriminant 0 is retired. It selected an earlier contract runtime, which / was removed once RV32 became the only deployable execution environment. / Do not reuse the value: old encodings that carry it must fail to parse / rather than silently decode as a live contract type.

const (
	/// Precompiled native contract implemented natively by the node.
	///
	/// Used for system contracts like the native token.
	/// Cheaper to invoke than a deployed RV32 contract, but users cannot
	/// deploy new ones.
	KNative ContractType = 1
	/// Mock contract for local testing.
	///
	/// Never deployed on-chain; exists only in the test harness.
	KMockTest ContractType = 2
	/// RiscV contract executed in the RV32 VM.
	///
	/// This is the standard contract type for user-deployed contracts.
	KRv32 ContractType = 3
)

func XDR_ContractType

func XDR_ContractType(v *ContractType) *ContractType

func (ContractType) GetU32

func (v ContractType) GetU32() uint32

func (*ContractType) Scan

func (v *ContractType) Scan(ss fmt.ScanState, _ rune) error

func (*ContractType) SetU32

func (v *ContractType) SetU32(n uint32)

func (ContractType) String

func (v ContractType) String() string

func (ContractType) XdrEnumNames

func (ContractType) XdrEnumNames() map[int32]string

func (*ContractType) XdrInitialize

func (v *ContractType) XdrInitialize()

func (*ContractType) XdrMarshal

func (v *ContractType) XdrMarshal(x XDR, name string)

func (*ContractType) XdrPointer

func (v *ContractType) XdrPointer() interface{}

func (ContractType) XdrTypeName

func (ContractType) XdrTypeName() string

func (ContractType) XdrValue

func (v ContractType) XdrValue() interface{}

type CoordCard

type CoordCard struct {
	Protocol          ProtocolCommit
	Address_for_sched ServerAddress
}

func XDR_CoordCard

func XDR_CoordCard(v *CoordCard) *CoordCard

func (*CoordCard) XdrMarshal

func (v *CoordCard) XdrMarshal(x XDR, name string)

func (*CoordCard) XdrPointer

func (v *CoordCard) XdrPointer() interface{}

func (*CoordCard) XdrRecurse

func (v *CoordCard) XdrRecurse(x XDR, name string)

func (CoordCard) XdrTypeName

func (CoordCard) XdrTypeName() string

func (CoordCard) XdrValue

func (v CoordCard) XdrValue() interface{}

type CoordScheduler1

type CoordScheduler1 interface {
	Coordscheduler_null(context.Context) error
	Coordscheduler_notify_vetted(context.Context, ParallelSignedTransactionBatch) error
}

type CoordScheduler1_Client

type CoordScheduler1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (CoordScheduler1_Client) Coordscheduler_notify_vetted

func (c CoordScheduler1_Client) Coordscheduler_notify_vetted(ctx context.Context, a1 ParallelSignedTransactionBatch) error

func (CoordScheduler1_Client) Coordscheduler_null

func (c CoordScheduler1_Client) Coordscheduler_null(ctx context.Context) error

func (CoordScheduler1_Client) WithContext

type CoordScheduler1_Server

type CoordScheduler1_Server struct {
	Srv CoordScheduler1
}

func (CoordScheduler1_Server) GetProc

func (s CoordScheduler1_Server) GetProc(p uint32) XdrSrvProc

func (CoordScheduler1_Server) Prog

func (CoordScheduler1_Server) ProgName

func (CoordScheduler1_Server) ProgName() string

func (CoordScheduler1_Server) Vers

func (CoordScheduler1_Server) VersName

func (CoordScheduler1_Server) VersName() string

type CoordinatorBatonConfig

type CoordinatorBatonConfig struct {
	/// The expected maximum local clock skew between validators.
	Clock_skew_msec Milliseconds
}

/ The baton, which drives a coordinator's proposals and validations / through its scheduler.

func (*CoordinatorBatonConfig) XdrMarshal

func (v *CoordinatorBatonConfig) XdrMarshal(x XDR, name string)

func (*CoordinatorBatonConfig) XdrPointer

func (v *CoordinatorBatonConfig) XdrPointer() interface{}

func (*CoordinatorBatonConfig) XdrRecurse

func (v *CoordinatorBatonConfig) XdrRecurse(x XDR, name string)

func (CoordinatorBatonConfig) XdrTypeName

func (CoordinatorBatonConfig) XdrTypeName() string

func (CoordinatorBatonConfig) XdrValue

func (v CoordinatorBatonConfig) XdrValue() interface{}

type CoordinatorConfig

type CoordinatorConfig struct {
	Router    CoordinatorRouterConfig
	Dogwood   DogwoodConfig
	Baton     CoordinatorBatonConfig
	Consensus CoordinatorConsensusConfig
	Pool      CoordinatorPoolConfig
}

/ The configuration of a coordinator: what its command line reads from / the file named by `coordinator start --config`.

func XDR_CoordinatorConfig

func XDR_CoordinatorConfig(v *CoordinatorConfig) *CoordinatorConfig

func (*CoordinatorConfig) XdrMarshal

func (v *CoordinatorConfig) XdrMarshal(x XDR, name string)

func (*CoordinatorConfig) XdrPointer

func (v *CoordinatorConfig) XdrPointer() interface{}

func (*CoordinatorConfig) XdrRecurse

func (v *CoordinatorConfig) XdrRecurse(x XDR, name string)

func (CoordinatorConfig) XdrTypeName

func (CoordinatorConfig) XdrTypeName() string

func (CoordinatorConfig) XdrValue

func (v CoordinatorConfig) XdrValue() interface{}

type CoordinatorConsensusConfig

type CoordinatorConsensusConfig struct {
	/// The number of slots in an epoch: the leader elected for an epoch
	/// proposes for all of its slots. Must be positive.
	Epoch_length uint64
	/// The pipeline width: how many slots ahead of the current slot the
	/// leader may propose. Must be positive.
	Pipeline_length uint64
	/// The time a slot is given to resolve before it is deemed late.
	Timeout_msec Milliseconds
}

/ The consensus protocol a coordinator's broker runs.

func (*CoordinatorConsensusConfig) XdrMarshal

func (v *CoordinatorConsensusConfig) XdrMarshal(x XDR, name string)

func (*CoordinatorConsensusConfig) XdrPointer

func (v *CoordinatorConsensusConfig) XdrPointer() interface{}

func (*CoordinatorConsensusConfig) XdrRecurse

func (v *CoordinatorConsensusConfig) XdrRecurse(x XDR, name string)

func (CoordinatorConsensusConfig) XdrTypeName

func (CoordinatorConsensusConfig) XdrTypeName() string

func (CoordinatorConsensusConfig) XdrValue

func (v CoordinatorConsensusConfig) XdrValue() interface{}

type CoordinatorPoolConfig

type CoordinatorPoolConfig struct {
	/// How many heights below the committed tip the basis pool keeps in
	/// memory.
	Basis_pool_hotcold_window uint64
	/// How many heights below the committed tip the block pool keeps in
	/// memory.
	Block_pool_hotcold_window uint64
}

/ The basis and block pools of a coordinator. Each keeps the values of / the latest heights in memory and evicts older ones to disk after a / commit.

func XDR_CoordinatorPoolConfig

func XDR_CoordinatorPoolConfig(v *CoordinatorPoolConfig) *CoordinatorPoolConfig

func (*CoordinatorPoolConfig) XdrMarshal

func (v *CoordinatorPoolConfig) XdrMarshal(x XDR, name string)

func (*CoordinatorPoolConfig) XdrPointer

func (v *CoordinatorPoolConfig) XdrPointer() interface{}

func (*CoordinatorPoolConfig) XdrRecurse

func (v *CoordinatorPoolConfig) XdrRecurse(x XDR, name string)

func (CoordinatorPoolConfig) XdrTypeName

func (CoordinatorPoolConfig) XdrTypeName() string

func (CoordinatorPoolConfig) XdrValue

func (v CoordinatorPoolConfig) XdrValue() interface{}

type CoordinatorRegistrationOutcome

type CoordinatorRegistrationOutcome int32
const (
	CoordinatorRegistrationOK                CoordinatorRegistrationOutcome = 0
	CoordinatorRegistrationInvalidProtocol   CoordinatorRegistrationOutcome = 1
	CoordinatorRegistrationAlreadyRegistered CoordinatorRegistrationOutcome = 2
)

func (CoordinatorRegistrationOutcome) GetU32

func (*CoordinatorRegistrationOutcome) Scan

func (*CoordinatorRegistrationOutcome) SetU32

func (CoordinatorRegistrationOutcome) String

func (CoordinatorRegistrationOutcome) XdrEnumNames

func (CoordinatorRegistrationOutcome) XdrEnumNames() map[int32]string

func (*CoordinatorRegistrationOutcome) XdrMarshal

func (v *CoordinatorRegistrationOutcome) XdrMarshal(x XDR, name string)

func (*CoordinatorRegistrationOutcome) XdrPointer

func (v *CoordinatorRegistrationOutcome) XdrPointer() interface{}

func (CoordinatorRegistrationOutcome) XdrTypeName

func (CoordinatorRegistrationOutcome) XdrTypeName() string

func (CoordinatorRegistrationOutcome) XdrValue

func (v CoordinatorRegistrationOutcome) XdrValue() interface{}

type CoordinatorRouterConfig

type CoordinatorRouterConfig struct {
	/// The largest number of children of a node of a dissemination tree.
	Max_fanout uint64
}

/ The router of a coordinator's boundary, which chooses the dissemination / trees over the validators the boundary knows.

func (*CoordinatorRouterConfig) XdrMarshal

func (v *CoordinatorRouterConfig) XdrMarshal(x XDR, name string)

func (*CoordinatorRouterConfig) XdrPointer

func (v *CoordinatorRouterConfig) XdrPointer() interface{}

func (*CoordinatorRouterConfig) XdrRecurse

func (v *CoordinatorRouterConfig) XdrRecurse(x XDR, name string)

func (CoordinatorRouterConfig) XdrTypeName

func (CoordinatorRouterConfig) XdrTypeName() string

func (CoordinatorRouterConfig) XdrValue

func (v CoordinatorRouterConfig) XdrValue() interface{}

type CryptographicScheme

type CryptographicScheme int32

/ Represents the cryptographic scheme used for a signature or public key.

const (
	Ed25519 CryptographicScheme = 0
	/// ML-DSA-65 (FIPS 204), pure ML-DSA (not HashML-DSA) with an empty
	/// context string.
	MlDsa65 CryptographicScheme = 1
)

func XDR_CryptographicScheme

func XDR_CryptographicScheme(v *CryptographicScheme) *CryptographicScheme

func (CryptographicScheme) GetU32

func (v CryptographicScheme) GetU32() uint32

func (*CryptographicScheme) Scan

func (v *CryptographicScheme) Scan(ss fmt.ScanState, _ rune) error

func (*CryptographicScheme) SetU32

func (v *CryptographicScheme) SetU32(n uint32)

func (CryptographicScheme) String

func (v CryptographicScheme) String() string

func (CryptographicScheme) XdrEnumNames

func (CryptographicScheme) XdrEnumNames() map[int32]string

func (*CryptographicScheme) XdrMarshal

func (v *CryptographicScheme) XdrMarshal(x XDR, name string)

func (*CryptographicScheme) XdrPointer

func (v *CryptographicScheme) XdrPointer() interface{}

func (CryptographicScheme) XdrTypeName

func (CryptographicScheme) XdrTypeName() string

func (CryptographicScheme) XdrValue

func (v CryptographicScheme) XdrValue() interface{}

type DBAuth1

type DBAuth1 interface {
	Authdb_get_auth_data(context.Context, BlockHeight, ContractAddress) (DBAuthResult, error)
	Authdb_get_auth_data_batch(context.Context, BlockHeight, ContractAddressBatch) (DBAuthResultBatch, error)
	Dbauth_intro(context.Context, AuthCard) (DBAuthIntroResult, error)
}

type DBAuth1_Client

type DBAuth1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (DBAuth1_Client) Authdb_get_auth_data

func (c DBAuth1_Client) Authdb_get_auth_data(ctx context.Context, a1 BlockHeight, a2 ContractAddress) (r DBAuthResult, _ error)

func (DBAuth1_Client) Authdb_get_auth_data_batch

func (c DBAuth1_Client) Authdb_get_auth_data_batch(ctx context.Context, a1 BlockHeight, a2 ContractAddressBatch) (r DBAuthResultBatch, _ error)

func (DBAuth1_Client) Dbauth_intro

func (c DBAuth1_Client) Dbauth_intro(ctx context.Context, a1 AuthCard) (r DBAuthIntroResult, _ error)

func (DBAuth1_Client) WithContext

func (c DBAuth1_Client) WithContext(ctx context.Context) DBAuth1

type DBAuth1_Server

type DBAuth1_Server struct {
	Srv DBAuth1
}

func (DBAuth1_Server) GetProc

func (s DBAuth1_Server) GetProc(p uint32) XdrSrvProc

func (DBAuth1_Server) Prog

func (DBAuth1_Server) Prog() uint32

func (DBAuth1_Server) ProgName

func (DBAuth1_Server) ProgName() string

func (DBAuth1_Server) Vers

func (DBAuth1_Server) Vers() uint32

func (DBAuth1_Server) VersName

func (DBAuth1_Server) VersName() string

type DBAuthError

type DBAuthError int32
const (
	KDBAuthSuccess          DBAuthError = 0
	KDBAuthNotFound         DBAuthError = 1
	KDBAuthStaleBlockHeight DBAuthError = 2
	KDBAuthInternal         DBAuthError = 3
)

func XDR_DBAuthError

func XDR_DBAuthError(v *DBAuthError) *DBAuthError

func (DBAuthError) GetU32

func (v DBAuthError) GetU32() uint32

func (*DBAuthError) Scan

func (v *DBAuthError) Scan(ss fmt.ScanState, _ rune) error

func (*DBAuthError) SetU32

func (v *DBAuthError) SetU32(n uint32)

func (DBAuthError) String

func (v DBAuthError) String() string

func (DBAuthError) XdrEnumNames

func (DBAuthError) XdrEnumNames() map[int32]string

func (*DBAuthError) XdrMarshal

func (v *DBAuthError) XdrMarshal(x XDR, name string)

func (*DBAuthError) XdrPointer

func (v *DBAuthError) XdrPointer() interface{}

func (DBAuthError) XdrTypeName

func (DBAuthError) XdrTypeName() string

func (DBAuthError) XdrValue

func (v DBAuthError) XdrValue() interface{}

type DBAuthIntroOutcome

type DBAuthIntroOutcome int32
const (
	KIntroSuccess DBAuthIntroOutcome = 0
	KIntroFailure DBAuthIntroOutcome = 1
)

func XDR_DBAuthIntroOutcome

func XDR_DBAuthIntroOutcome(v *DBAuthIntroOutcome) *DBAuthIntroOutcome

func (DBAuthIntroOutcome) GetU32

func (v DBAuthIntroOutcome) GetU32() uint32

func (*DBAuthIntroOutcome) Scan

func (v *DBAuthIntroOutcome) Scan(ss fmt.ScanState, _ rune) error

func (*DBAuthIntroOutcome) SetU32

func (v *DBAuthIntroOutcome) SetU32(n uint32)

func (DBAuthIntroOutcome) String

func (v DBAuthIntroOutcome) String() string

func (DBAuthIntroOutcome) XdrEnumNames

func (DBAuthIntroOutcome) XdrEnumNames() map[int32]string

func (*DBAuthIntroOutcome) XdrMarshal

func (v *DBAuthIntroOutcome) XdrMarshal(x XDR, name string)

func (*DBAuthIntroOutcome) XdrPointer

func (v *DBAuthIntroOutcome) XdrPointer() interface{}

func (DBAuthIntroOutcome) XdrTypeName

func (DBAuthIntroOutcome) XdrTypeName() string

func (DBAuthIntroOutcome) XdrValue

func (v DBAuthIntroOutcome) XdrValue() interface{}

type DBAuthIntroResult

type DBAuthIntroResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   KIntroSuccess:
	//      Current_height() *BlockHeight
	//   default:
	//      void
	Outcome DBAuthIntroOutcome
	// contains filtered or unexported fields
}

func XDR_DBAuthIntroResult

func XDR_DBAuthIntroResult(v *DBAuthIntroResult) *DBAuthIntroResult

func (*DBAuthIntroResult) Current_height

func (u *DBAuthIntroResult) Current_height() *BlockHeight

func (*DBAuthIntroResult) XdrMarshal

func (v *DBAuthIntroResult) XdrMarshal(x XDR, name string)

func (*DBAuthIntroResult) XdrPointer

func (v *DBAuthIntroResult) XdrPointer() interface{}

func (*DBAuthIntroResult) XdrRecurse

func (u *DBAuthIntroResult) XdrRecurse(x XDR, name string)

func (DBAuthIntroResult) XdrTypeName

func (DBAuthIntroResult) XdrTypeName() string

func (*DBAuthIntroResult) XdrUnionBody

func (u *DBAuthIntroResult) XdrUnionBody() XdrType

func (*DBAuthIntroResult) XdrUnionBodyName

func (u *DBAuthIntroResult) XdrUnionBodyName() string

func (*DBAuthIntroResult) XdrUnionTag

func (u *DBAuthIntroResult) XdrUnionTag() XdrNum32

func (*DBAuthIntroResult) XdrUnionTagName

func (u *DBAuthIntroResult) XdrUnionTagName() string

func (DBAuthIntroResult) XdrValid

func (u DBAuthIntroResult) XdrValid() bool

func (DBAuthIntroResult) XdrValidTags

func (_ DBAuthIntroResult) XdrValidTags() map[int32]bool

func (DBAuthIntroResult) XdrValue

func (v DBAuthIntroResult) XdrValue() interface{}

type DBAuthResult

type DBAuthResult struct {
	// The union discriminant Error selects among the following arms:
	//   KDBAuthSuccess:
	//      Auth_data() *AddressAuthData
	//   default:
	//      void
	Error DBAuthError
	// contains filtered or unexported fields
}

func XDR_DBAuthResult

func XDR_DBAuthResult(v *DBAuthResult) *DBAuthResult

func (*DBAuthResult) Auth_data

func (u *DBAuthResult) Auth_data() *AddressAuthData

func (*DBAuthResult) XdrMarshal

func (v *DBAuthResult) XdrMarshal(x XDR, name string)

func (*DBAuthResult) XdrPointer

func (v *DBAuthResult) XdrPointer() interface{}

func (*DBAuthResult) XdrRecurse

func (u *DBAuthResult) XdrRecurse(x XDR, name string)

func (DBAuthResult) XdrTypeName

func (DBAuthResult) XdrTypeName() string

func (*DBAuthResult) XdrUnionBody

func (u *DBAuthResult) XdrUnionBody() XdrType

func (*DBAuthResult) XdrUnionBodyName

func (u *DBAuthResult) XdrUnionBodyName() string

func (*DBAuthResult) XdrUnionTag

func (u *DBAuthResult) XdrUnionTag() XdrNum32

func (*DBAuthResult) XdrUnionTagName

func (u *DBAuthResult) XdrUnionTagName() string

func (DBAuthResult) XdrValid

func (u DBAuthResult) XdrValid() bool

func (DBAuthResult) XdrValidTags

func (_ DBAuthResult) XdrValidTags() map[int32]bool

func (DBAuthResult) XdrValue

func (v DBAuthResult) XdrValue() interface{}

type DBAuthResultBatch

type DBAuthResultBatch = []DBAuthResult

type Data

type Data = []byte

type DbAddressAuthDataBatchResult

type DbAddressAuthDataBatchResult struct {
	// The union discriminant Result selects among the following arms:
	//   DbSchedResultOK:
	//      Address_auth_data_batch() *[]AddressAuthData
	//   default:
	//      void
	Result DbSchedResult
	// contains filtered or unexported fields
}

func (*DbAddressAuthDataBatchResult) Address_auth_data_batch

func (u *DbAddressAuthDataBatchResult) Address_auth_data_batch() *[]AddressAuthData

func (*DbAddressAuthDataBatchResult) XdrMarshal

func (v *DbAddressAuthDataBatchResult) XdrMarshal(x XDR, name string)

func (*DbAddressAuthDataBatchResult) XdrPointer

func (v *DbAddressAuthDataBatchResult) XdrPointer() interface{}

func (*DbAddressAuthDataBatchResult) XdrRecurse

func (u *DbAddressAuthDataBatchResult) XdrRecurse(x XDR, name string)

func (DbAddressAuthDataBatchResult) XdrTypeName

func (DbAddressAuthDataBatchResult) XdrTypeName() string

func (*DbAddressAuthDataBatchResult) XdrUnionBody

func (u *DbAddressAuthDataBatchResult) XdrUnionBody() XdrType

func (*DbAddressAuthDataBatchResult) XdrUnionBodyName

func (u *DbAddressAuthDataBatchResult) XdrUnionBodyName() string

func (*DbAddressAuthDataBatchResult) XdrUnionTag

func (u *DbAddressAuthDataBatchResult) XdrUnionTag() XdrNum32

func (*DbAddressAuthDataBatchResult) XdrUnionTagName

func (u *DbAddressAuthDataBatchResult) XdrUnionTagName() string

func (DbAddressAuthDataBatchResult) XdrValid

func (u DbAddressAuthDataBatchResult) XdrValid() bool

func (DbAddressAuthDataBatchResult) XdrValidTags

func (_ DbAddressAuthDataBatchResult) XdrValidTags() map[int32]bool

func (DbAddressAuthDataBatchResult) XdrValue

func (v DbAddressAuthDataBatchResult) XdrValue() interface{}

type DbBlockOk

type DbBlockOk struct {
	Storage_hash         StorageShortHash
	Storage_long_hash    StorageLongHash
	Config_hash_preimage ConfigHashPreimage
}

func XDR_DbBlockOk

func XDR_DbBlockOk(v *DbBlockOk) *DbBlockOk

func (*DbBlockOk) XdrMarshal

func (v *DbBlockOk) XdrMarshal(x XDR, name string)

func (*DbBlockOk) XdrPointer

func (v *DbBlockOk) XdrPointer() interface{}

func (*DbBlockOk) XdrRecurse

func (v *DbBlockOk) XdrRecurse(x XDR, name string)

func (DbBlockOk) XdrTypeName

func (DbBlockOk) XdrTypeName() string

func (DbBlockOk) XdrValue

func (v DbBlockOk) XdrValue() interface{}

type DbBlockResult

type DbBlockResult struct {
	// The union discriminant Result selects among the following arms:
	//   DbSchedResultOK:
	//      Block() *DbBlockOk
	//   default:
	//      void
	Result DbSchedResult
	// contains filtered or unexported fields
}

func XDR_DbBlockResult

func XDR_DbBlockResult(v *DbBlockResult) *DbBlockResult

func (*DbBlockResult) Block

func (u *DbBlockResult) Block() *DbBlockOk

func (*DbBlockResult) XdrMarshal

func (v *DbBlockResult) XdrMarshal(x XDR, name string)

func (*DbBlockResult) XdrPointer

func (v *DbBlockResult) XdrPointer() interface{}

func (*DbBlockResult) XdrRecurse

func (u *DbBlockResult) XdrRecurse(x XDR, name string)

func (DbBlockResult) XdrTypeName

func (DbBlockResult) XdrTypeName() string

func (*DbBlockResult) XdrUnionBody

func (u *DbBlockResult) XdrUnionBody() XdrType

func (*DbBlockResult) XdrUnionBodyName

func (u *DbBlockResult) XdrUnionBodyName() string

func (*DbBlockResult) XdrUnionTag

func (u *DbBlockResult) XdrUnionTag() XdrNum32

func (*DbBlockResult) XdrUnionTagName

func (u *DbBlockResult) XdrUnionTagName() string

func (DbBlockResult) XdrValid

func (u DbBlockResult) XdrValid() bool

func (DbBlockResult) XdrValidTags

func (_ DbBlockResult) XdrValidTags() map[int32]bool

func (DbBlockResult) XdrValue

func (v DbBlockResult) XdrValue() interface{}

type DbConflictCode

type DbConflictCode int32

/ Reason a storage delta could not be applied during two-phase commit. / These are the nondeterministic failures of try_push_new_subtransaction: / any of them causes ExecResultTxNonDeterministicError, and the transaction / is excluded from the block. Codes are intentionally coarse; finer-grained / detail may be added later behind a debug-only extension.

const (
	/// Exclusive-lock collision: the key is exclusively locked by another
	/// transaction (committed or concurrent), an exclusive lock could not be
	/// acquired because other transactions hold the key, or an exclusive-lock
	/// flag was used on a key type that does not support it.
	ExclusiveLockDenied DbConflictCode = 0
	/// Two transactions created different item types at the same key.
	TypeMismatch DbConflictCode = 1
	/// Two transactions wrote irreconcilable values of the same type at the
	/// same key: different bytestrings, different nnint base values,
	/// different auth-data bases, or different contract / deployment hashes.
	ValueMismatch DbConflictCode = 2
	/// A nonnegative int would go below zero given the deltas in this block.
	/// A native-token balance that cannot cover its debits reports
	/// InsufficientFunds instead.
	BoundsExceeded DbConflictCode = 3
	/// Integer overflow combining deltas on a nonnegative int or balance.
	Overflow DbConflictCode = 4
	/// Replay-protection conflict: uniquifier expired, already consumed (in
	/// a prior block or by a concurrent transaction), or consumed twice by
	/// this transaction.
	ReplayProtection DbConflictCode = 5
	/// A retrocausal queue already has a consumer in this block.
	QueueConsumer DbConflictCode = 6
	/// A per-item capacity limit was hit: replay-cache active heights or
	/// nonces, retrocausal-queue block entries, or auth signer slots.
	CapacityExceeded DbConflictCode = 7
	/// The native-token balance at the diagnostic's address cannot cover the
	/// debits in this block, or a newly created balance item cannot cover
	/// its own storage cost. Storage written under a contract's address is
	/// charged to that contract's balance, so a deployment reports this at
	/// the new contract's address when it holds no native tokens.
	InsufficientFunds DbConflictCode = 8
	/// An auth-data change would register a public key in a slot while
	/// another slot of the same address already holds that key, whether
	/// committed or set by the same change. The table would count one
	/// key's weight twice, so the change is refused.
	DuplicateSigner DbConflictCode = 9
)

func XDR_DbConflictCode

func XDR_DbConflictCode(v *DbConflictCode) *DbConflictCode

func (DbConflictCode) GetU32

func (v DbConflictCode) GetU32() uint32

func (*DbConflictCode) Scan

func (v *DbConflictCode) Scan(ss fmt.ScanState, _ rune) error

func (*DbConflictCode) SetU32

func (v *DbConflictCode) SetU32(n uint32)

func (DbConflictCode) String

func (v DbConflictCode) String() string

func (DbConflictCode) XdrEnumNames

func (DbConflictCode) XdrEnumNames() map[int32]string

func (*DbConflictCode) XdrMarshal

func (v *DbConflictCode) XdrMarshal(x XDR, name string)

func (*DbConflictCode) XdrPointer

func (v *DbConflictCode) XdrPointer() interface{}

func (DbConflictCode) XdrTypeName

func (DbConflictCode) XdrTypeName() string

func (DbConflictCode) XdrValue

func (v DbConflictCode) XdrValue() interface{}

type DbConflictDiagnostic

type DbConflictDiagnostic struct {
	Addrkey AddressAndKey
	Code    DbConflictCode
}

/ One conflicting storage op. Fixed-size: ContractAddress[32] plus a / fixed-size StorageKey plus the code — no heap allocation.

func XDR_DbConflictDiagnostic

func XDR_DbConflictDiagnostic(v *DbConflictDiagnostic) *DbConflictDiagnostic

func (*DbConflictDiagnostic) XdrMarshal

func (v *DbConflictDiagnostic) XdrMarshal(x XDR, name string)

func (*DbConflictDiagnostic) XdrPointer

func (v *DbConflictDiagnostic) XdrPointer() interface{}

func (*DbConflictDiagnostic) XdrRecurse

func (v *DbConflictDiagnostic) XdrRecurse(x XDR, name string)

func (DbConflictDiagnostic) XdrTypeName

func (DbConflictDiagnostic) XdrTypeName() string

func (DbConflictDiagnostic) XdrValue

func (v DbConflictDiagnostic) XdrValue() interface{}

type DbConflictResult

type DbConflictResult struct {
	// The union discriminant Level selects among the following arms:
	//   KDbDiagnosticNone:
	//      void
	//   KDbDiagnosticFirst:
	//      First() *DbConflictDiagnostic
	//   KDbDiagnosticAll:
	//      Conflicts() *[]DbConflictDiagnostic
	Level DbDiagnosticLevel
	// contains filtered or unexported fields
}

/ Conflict diagnostics attached to a failed try_push_new_subtransaction. / The discriminant is the DbDiagnosticLevel the database selected from / the block's execution mode, so the variable-length arm is only ever / constructed in kDbDiagnosticAll mode (debug-build proposals); prod / levels are allocation-free by construction.

func XDR_DbConflictResult

func XDR_DbConflictResult(v *DbConflictResult) *DbConflictResult

func (*DbConflictResult) Conflicts

func (u *DbConflictResult) Conflicts() *[]DbConflictDiagnostic

func (*DbConflictResult) First

func (*DbConflictResult) XdrMarshal

func (v *DbConflictResult) XdrMarshal(x XDR, name string)

func (*DbConflictResult) XdrPointer

func (v *DbConflictResult) XdrPointer() interface{}

func (*DbConflictResult) XdrRecurse

func (u *DbConflictResult) XdrRecurse(x XDR, name string)

func (DbConflictResult) XdrTypeName

func (DbConflictResult) XdrTypeName() string

func (*DbConflictResult) XdrUnionBody

func (u *DbConflictResult) XdrUnionBody() XdrType

func (*DbConflictResult) XdrUnionBodyName

func (u *DbConflictResult) XdrUnionBodyName() string

func (*DbConflictResult) XdrUnionTag

func (u *DbConflictResult) XdrUnionTag() XdrNum32

func (*DbConflictResult) XdrUnionTagName

func (u *DbConflictResult) XdrUnionTagName() string

func (DbConflictResult) XdrValid

func (u DbConflictResult) XdrValid() bool

func (DbConflictResult) XdrValidTags

func (_ DbConflictResult) XdrValidTags() map[int32]bool

func (DbConflictResult) XdrValue

func (v DbConflictResult) XdrValue() interface{}

type DbDiagnosticLevel

type DbDiagnosticLevel int32

/ How much conflict diagnostic detail try_push_new_subtransaction reports / on failure. Selected by the database from the block's execution mode: / proposal blocks report First (release builds) or All (debug builds); / validation and viewing blocks report None.

const (
	/// No diagnostics (validation / viewing; previous behavior).
	KDbDiagnosticNone DbDiagnosticLevel = 0
	/// Report only the first conflict encountered (proposal, release builds).
	KDbDiagnosticFirst DbDiagnosticLevel = 1
	/// Report a best-effort list of all conflicting deltas in the batch
	/// (proposal, debug builds — SDK testing).
	KDbDiagnosticAll DbDiagnosticLevel = 2
)

func XDR_DbDiagnosticLevel

func XDR_DbDiagnosticLevel(v *DbDiagnosticLevel) *DbDiagnosticLevel

func (DbDiagnosticLevel) GetU32

func (v DbDiagnosticLevel) GetU32() uint32

func (*DbDiagnosticLevel) Scan

func (v *DbDiagnosticLevel) Scan(ss fmt.ScanState, _ rune) error

func (*DbDiagnosticLevel) SetU32

func (v *DbDiagnosticLevel) SetU32(n uint32)

func (DbDiagnosticLevel) String

func (v DbDiagnosticLevel) String() string

func (DbDiagnosticLevel) XdrEnumNames

func (DbDiagnosticLevel) XdrEnumNames() map[int32]string

func (*DbDiagnosticLevel) XdrMarshal

func (v *DbDiagnosticLevel) XdrMarshal(x XDR, name string)

func (*DbDiagnosticLevel) XdrPointer

func (v *DbDiagnosticLevel) XdrPointer() interface{}

func (DbDiagnosticLevel) XdrTypeName

func (DbDiagnosticLevel) XdrTypeName() string

func (DbDiagnosticLevel) XdrValue

func (v DbDiagnosticLevel) XdrValue() interface{}

type DbGateway1

type DbGateway1 interface {
	Dbgateway_intro(context.Context, ProtocolCommit) (DbGatewayIntroOutcome, error)
	Dbgateway_get_items(context.Context, AddressAndKeyBatch) (DbGatewayResult, error)
	Dbgateway_get_config(context.Context) (DbGatewayConfigResult, error)
	Dbgateway_get_contract(context.Context, SHA256Hash) (DbGatewayContractResult, error)
}

type DbGateway1_Client

type DbGateway1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (DbGateway1_Client) Dbgateway_get_config

func (c DbGateway1_Client) Dbgateway_get_config(ctx context.Context) (r DbGatewayConfigResult, _ error)

func (DbGateway1_Client) Dbgateway_get_contract

func (c DbGateway1_Client) Dbgateway_get_contract(ctx context.Context, a1 SHA256Hash) (r DbGatewayContractResult, _ error)

func (DbGateway1_Client) Dbgateway_get_items

func (c DbGateway1_Client) Dbgateway_get_items(ctx context.Context, a1 AddressAndKeyBatch) (r DbGatewayResult, _ error)

func (DbGateway1_Client) Dbgateway_intro

func (c DbGateway1_Client) Dbgateway_intro(ctx context.Context, a1 ProtocolCommit) (r DbGatewayIntroOutcome, _ error)

func (DbGateway1_Client) WithContext

func (c DbGateway1_Client) WithContext(ctx context.Context) DbGateway1

type DbGateway1_Server

type DbGateway1_Server struct {
	Srv DbGateway1
}

func (DbGateway1_Server) GetProc

func (s DbGateway1_Server) GetProc(p uint32) XdrSrvProc

func (DbGateway1_Server) Prog

func (DbGateway1_Server) Prog() uint32

func (DbGateway1_Server) ProgName

func (DbGateway1_Server) ProgName() string

func (DbGateway1_Server) Vers

func (DbGateway1_Server) Vers() uint32

func (DbGateway1_Server) VersName

func (DbGateway1_Server) VersName() string

type DbGatewayConfig

type DbGatewayConfig struct {
	Tip                DbTip
	Effective_config   NetworkConfig
	Storage_cost_model StorageCostModelXdr
}

/ Network-supplied execution and storage rules read at one committed tip. / `tip.network_config` preserves the parameters explicitly stated by the chain. / `effective_config` states every parameter understood by the serving runtime, / resolving omitted values through the same rules used by execution. It is a / resolved reading, not a replacement for the hashed network configuration. / The rules apply to execution following `tip`; they are not a promise about / the block in which a subsequently submitted transaction will be included. / Storage prices are integer native-token base units (10^7 per token).

func XDR_DbGatewayConfig

func XDR_DbGatewayConfig(v *DbGatewayConfig) *DbGatewayConfig

func (*DbGatewayConfig) XdrMarshal

func (v *DbGatewayConfig) XdrMarshal(x XDR, name string)

func (*DbGatewayConfig) XdrPointer

func (v *DbGatewayConfig) XdrPointer() interface{}

func (*DbGatewayConfig) XdrRecurse

func (v *DbGatewayConfig) XdrRecurse(x XDR, name string)

func (DbGatewayConfig) XdrTypeName

func (DbGatewayConfig) XdrTypeName() string

func (DbGatewayConfig) XdrValue

func (v DbGatewayConfig) XdrValue() interface{}

type DbGatewayConfigResult

type DbGatewayConfigResult struct {
	// The union discriminant Error selects among the following arms:
	//   KRPCNone:
	//      Config() *DbGatewayConfig
	//   default:
	//      void
	Error RPCError
	// contains filtered or unexported fields
}

/ No committed tip: kRPCNotFound. Unreadable rules: kRPCUnrecoverable. / A missing reading must never be represented as zero prices or empty rules.

func XDR_DbGatewayConfigResult

func XDR_DbGatewayConfigResult(v *DbGatewayConfigResult) *DbGatewayConfigResult

func (*DbGatewayConfigResult) Config

func (*DbGatewayConfigResult) XdrMarshal

func (v *DbGatewayConfigResult) XdrMarshal(x XDR, name string)

func (*DbGatewayConfigResult) XdrPointer

func (v *DbGatewayConfigResult) XdrPointer() interface{}

func (*DbGatewayConfigResult) XdrRecurse

func (u *DbGatewayConfigResult) XdrRecurse(x XDR, name string)

func (DbGatewayConfigResult) XdrTypeName

func (DbGatewayConfigResult) XdrTypeName() string

func (*DbGatewayConfigResult) XdrUnionBody

func (u *DbGatewayConfigResult) XdrUnionBody() XdrType

func (*DbGatewayConfigResult) XdrUnionBodyName

func (u *DbGatewayConfigResult) XdrUnionBodyName() string

func (*DbGatewayConfigResult) XdrUnionTag

func (u *DbGatewayConfigResult) XdrUnionTag() XdrNum32

func (*DbGatewayConfigResult) XdrUnionTagName

func (u *DbGatewayConfigResult) XdrUnionTagName() string

func (DbGatewayConfigResult) XdrValid

func (u DbGatewayConfigResult) XdrValid() bool

func (DbGatewayConfigResult) XdrValidTags

func (_ DbGatewayConfigResult) XdrValidTags() map[int32]bool

func (DbGatewayConfigResult) XdrValue

func (v DbGatewayConfigResult) XdrValue() interface{}

type DbGatewayContractResult

type DbGatewayContractResult struct {
	// The union discriminant Error selects among the following arms:
	//   KRPCNone:
	//      Contract_xdr() *[]byte
	//   default:
	//      void
	Error RPCError
	// contains filtered or unexported fields
}

/ Complete canonical XDR Contract bytes, keyed by SHA256 of these bytes. / A miss means unavailable here, not proof that the hash never existed. / Content availability is not proof of deployment or transaction commitment.

func (*DbGatewayContractResult) Contract_xdr

func (u *DbGatewayContractResult) Contract_xdr() *[]byte

func (*DbGatewayContractResult) XdrMarshal

func (v *DbGatewayContractResult) XdrMarshal(x XDR, name string)

func (*DbGatewayContractResult) XdrPointer

func (v *DbGatewayContractResult) XdrPointer() interface{}

func (*DbGatewayContractResult) XdrRecurse

func (u *DbGatewayContractResult) XdrRecurse(x XDR, name string)

func (DbGatewayContractResult) XdrTypeName

func (DbGatewayContractResult) XdrTypeName() string

func (*DbGatewayContractResult) XdrUnionBody

func (u *DbGatewayContractResult) XdrUnionBody() XdrType

func (*DbGatewayContractResult) XdrUnionBodyName

func (u *DbGatewayContractResult) XdrUnionBodyName() string

func (*DbGatewayContractResult) XdrUnionTag

func (u *DbGatewayContractResult) XdrUnionTag() XdrNum32

func (*DbGatewayContractResult) XdrUnionTagName

func (u *DbGatewayContractResult) XdrUnionTagName() string

func (DbGatewayContractResult) XdrValid

func (u DbGatewayContractResult) XdrValid() bool

func (DbGatewayContractResult) XdrValidTags

func (_ DbGatewayContractResult) XdrValidTags() map[int32]bool

func (DbGatewayContractResult) XdrValue

func (v DbGatewayContractResult) XdrValue() interface{}

type DbGatewayIntroOutcome

type DbGatewayIntroOutcome int32
const (
	DbGatewayIntroSuccess            DbGatewayIntroOutcome = 0
	DbGatewayIntroMismatchedProtocol DbGatewayIntroOutcome = 1
)

func XDR_DbGatewayIntroOutcome

func XDR_DbGatewayIntroOutcome(v *DbGatewayIntroOutcome) *DbGatewayIntroOutcome

func (DbGatewayIntroOutcome) GetU32

func (v DbGatewayIntroOutcome) GetU32() uint32

func (*DbGatewayIntroOutcome) Scan

func (v *DbGatewayIntroOutcome) Scan(ss fmt.ScanState, _ rune) error

func (*DbGatewayIntroOutcome) SetU32

func (v *DbGatewayIntroOutcome) SetU32(n uint32)

func (DbGatewayIntroOutcome) String

func (v DbGatewayIntroOutcome) String() string

func (DbGatewayIntroOutcome) XdrEnumNames

func (DbGatewayIntroOutcome) XdrEnumNames() map[int32]string

func (*DbGatewayIntroOutcome) XdrMarshal

func (v *DbGatewayIntroOutcome) XdrMarshal(x XDR, name string)

func (*DbGatewayIntroOutcome) XdrPointer

func (v *DbGatewayIntroOutcome) XdrPointer() interface{}

func (DbGatewayIntroOutcome) XdrTypeName

func (DbGatewayIntroOutcome) XdrTypeName() string

func (DbGatewayIntroOutcome) XdrValue

func (v DbGatewayIntroOutcome) XdrValue() interface{}

type DbGatewayItemBatch

type DbGatewayItemBatch = []DbGatewayItemResult

type DbGatewayItemResult

type DbGatewayItemResult struct {
	// The union discriminant Error selects among the following arms:
	//   KRPCNone:
	//      Item() *WireStorageItem
	//   default:
	//      void
	Error RPCError
	// contains filtered or unexported fields
}

/ Per-item result for DbGateway1::dbgateway_get_items. / / The success case carries the WireStorageItem; kRPCNotFound is the / legitimate outcome for an item that does not exist in the committed / snapshot (e.g., a balance item for an address that has never received / native tokens); other errors indicate server-side failures. Defined locally / rather than reusing `ExpectedStorageItem` from executor_to_db_rpc so / this program has no cross-dependency on the executor-side RPC.

func XDR_DbGatewayItemResult

func XDR_DbGatewayItemResult(v *DbGatewayItemResult) *DbGatewayItemResult

func (*DbGatewayItemResult) Item

func (*DbGatewayItemResult) XdrMarshal

func (v *DbGatewayItemResult) XdrMarshal(x XDR, name string)

func (*DbGatewayItemResult) XdrPointer

func (v *DbGatewayItemResult) XdrPointer() interface{}

func (*DbGatewayItemResult) XdrRecurse

func (u *DbGatewayItemResult) XdrRecurse(x XDR, name string)

func (DbGatewayItemResult) XdrTypeName

func (DbGatewayItemResult) XdrTypeName() string

func (*DbGatewayItemResult) XdrUnionBody

func (u *DbGatewayItemResult) XdrUnionBody() XdrType

func (*DbGatewayItemResult) XdrUnionBodyName

func (u *DbGatewayItemResult) XdrUnionBodyName() string

func (*DbGatewayItemResult) XdrUnionTag

func (u *DbGatewayItemResult) XdrUnionTag() XdrNum32

func (*DbGatewayItemResult) XdrUnionTagName

func (u *DbGatewayItemResult) XdrUnionTagName() string

func (DbGatewayItemResult) XdrValid

func (u DbGatewayItemResult) XdrValid() bool

func (DbGatewayItemResult) XdrValidTags

func (_ DbGatewayItemResult) XdrValidTags() map[int32]bool

func (DbGatewayItemResult) XdrValue

func (v DbGatewayItemResult) XdrValue() interface{}

type DbGatewayPayload

type DbGatewayPayload struct {
	Block_height BlockHeight
	Items        DbGatewayItemBatch
}

/ Batch-read payload: one BlockHeight applies to every result in the / batch because all reads come from a single committed snapshot.

func XDR_DbGatewayPayload

func XDR_DbGatewayPayload(v *DbGatewayPayload) *DbGatewayPayload

func (*DbGatewayPayload) XdrMarshal

func (v *DbGatewayPayload) XdrMarshal(x XDR, name string)

func (*DbGatewayPayload) XdrPointer

func (v *DbGatewayPayload) XdrPointer() interface{}

func (*DbGatewayPayload) XdrRecurse

func (v *DbGatewayPayload) XdrRecurse(x XDR, name string)

func (DbGatewayPayload) XdrTypeName

func (DbGatewayPayload) XdrTypeName() string

func (DbGatewayPayload) XdrValue

func (v DbGatewayPayload) XdrValue() interface{}

type DbGatewayResult

type DbGatewayResult struct {
	// The union discriminant Error selects among the following arms:
	//   KRPCNone:
	//      Payload() *DbGatewayPayload
	//   default:
	//      void
	Error RPCError
	// contains filtered or unexported fields
}

/ Outer result: the RPC itself succeeded or failed as a whole. / Per-item misses live inside the `items` batch as kRPCNotFound.

func XDR_DbGatewayResult

func XDR_DbGatewayResult(v *DbGatewayResult) *DbGatewayResult

func (*DbGatewayResult) Payload

func (u *DbGatewayResult) Payload() *DbGatewayPayload

func (*DbGatewayResult) XdrMarshal

func (v *DbGatewayResult) XdrMarshal(x XDR, name string)

func (*DbGatewayResult) XdrPointer

func (v *DbGatewayResult) XdrPointer() interface{}

func (*DbGatewayResult) XdrRecurse

func (u *DbGatewayResult) XdrRecurse(x XDR, name string)

func (DbGatewayResult) XdrTypeName

func (DbGatewayResult) XdrTypeName() string

func (*DbGatewayResult) XdrUnionBody

func (u *DbGatewayResult) XdrUnionBody() XdrType

func (*DbGatewayResult) XdrUnionBodyName

func (u *DbGatewayResult) XdrUnionBodyName() string

func (*DbGatewayResult) XdrUnionTag

func (u *DbGatewayResult) XdrUnionTag() XdrNum32

func (*DbGatewayResult) XdrUnionTagName

func (u *DbGatewayResult) XdrUnionTagName() string

func (DbGatewayResult) XdrValid

func (u DbGatewayResult) XdrValid() bool

func (DbGatewayResult) XdrValidTags

func (_ DbGatewayResult) XdrValidTags() map[int32]bool

func (DbGatewayResult) XdrValue

func (v DbGatewayResult) XdrValue() interface{}

type DbSched1

type DbSched1 interface {
	Dbsched_null(context.Context) error
	Dbsched_get_address_auth_data(context.Context, BlockID, ContractAddressBatch) (DbAddressAuthDataBatchResult, error)
	Dbsched_get_native_token_ages(context.Context, ContractAddressBatch) (NativeTokenAgeResults, error)
	Dbsched_write_native_token_ages(context.Context, NativeTokenAgeBatch) (DbSchedResult, error)
	Dbsched_create_snapshot(context.Context, BlockID, BlockID, BlockExecutionMode) (DbSchedResult, error)
	Dbsched_commit_snapshot(context.Context, BlockID, ConsensusValue) (DbBlockResult, error)
	Dbsched_close_snapshot(context.Context, BlockID) (DbBlockResult, error)
	Dbsched_abandon_snapshot(context.Context, BlockID) (DbSchedResult, error)
	Dbsched_load_genesis_configuration(context.Context, GenesisConfiguration, ConsensusValue) (DbSchedResult, error)
	Dbsched_get_tip(context.Context) (DbTipResult, error)
}

type DbSched1_Client

type DbSched1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (DbSched1_Client) Dbsched_abandon_snapshot

func (c DbSched1_Client) Dbsched_abandon_snapshot(ctx context.Context, a1 BlockID) (r DbSchedResult, _ error)

func (DbSched1_Client) Dbsched_close_snapshot

func (c DbSched1_Client) Dbsched_close_snapshot(ctx context.Context, a1 BlockID) (r DbBlockResult, _ error)

func (DbSched1_Client) Dbsched_commit_snapshot

func (c DbSched1_Client) Dbsched_commit_snapshot(ctx context.Context, a1 BlockID, a2 ConsensusValue) (r DbBlockResult, _ error)

func (DbSched1_Client) Dbsched_create_snapshot

func (c DbSched1_Client) Dbsched_create_snapshot(ctx context.Context, a1 BlockID, a2 BlockID, a3 BlockExecutionMode) (r DbSchedResult, _ error)

func (DbSched1_Client) Dbsched_get_address_auth_data

func (c DbSched1_Client) Dbsched_get_address_auth_data(ctx context.Context, a1 BlockID, a2 ContractAddressBatch) (r DbAddressAuthDataBatchResult, _ error)

func (DbSched1_Client) Dbsched_get_native_token_ages

func (c DbSched1_Client) Dbsched_get_native_token_ages(ctx context.Context, a1 ContractAddressBatch) (r NativeTokenAgeResults, _ error)

func (DbSched1_Client) Dbsched_get_tip

func (c DbSched1_Client) Dbsched_get_tip(ctx context.Context) (r DbTipResult, _ error)

func (DbSched1_Client) Dbsched_load_genesis_configuration

func (c DbSched1_Client) Dbsched_load_genesis_configuration(ctx context.Context, a1 GenesisConfiguration, a2 ConsensusValue) (r DbSchedResult, _ error)

func (DbSched1_Client) Dbsched_null

func (c DbSched1_Client) Dbsched_null(ctx context.Context) error

func (DbSched1_Client) Dbsched_write_native_token_ages

func (c DbSched1_Client) Dbsched_write_native_token_ages(ctx context.Context, a1 NativeTokenAgeBatch) (r DbSchedResult, _ error)

func (DbSched1_Client) WithContext

func (c DbSched1_Client) WithContext(ctx context.Context) DbSched1

type DbSched1_Server

type DbSched1_Server struct {
	Srv DbSched1
}

func (DbSched1_Server) GetProc

func (s DbSched1_Server) GetProc(p uint32) XdrSrvProc

func (DbSched1_Server) Prog

func (DbSched1_Server) Prog() uint32

func (DbSched1_Server) ProgName

func (DbSched1_Server) ProgName() string

func (DbSched1_Server) Vers

func (DbSched1_Server) Vers() uint32

func (DbSched1_Server) VersName

func (DbSched1_Server) VersName() string

type DbSchedResult

type DbSchedResult int32
const (
	DbSchedResultOK              DbSchedResult = 0
	DbSchedResultError           DbSchedResult = 1
	DbSchedResultInvalidParentId DbSchedResult = 2
)

func XDR_DbSchedResult

func XDR_DbSchedResult(v *DbSchedResult) *DbSchedResult

func (DbSchedResult) GetU32

func (v DbSchedResult) GetU32() uint32

func (*DbSchedResult) Scan

func (v *DbSchedResult) Scan(ss fmt.ScanState, _ rune) error

func (*DbSchedResult) SetU32

func (v *DbSchedResult) SetU32(n uint32)

func (DbSchedResult) String

func (v DbSchedResult) String() string

func (DbSchedResult) XdrEnumNames

func (DbSchedResult) XdrEnumNames() map[int32]string

func (*DbSchedResult) XdrMarshal

func (v *DbSchedResult) XdrMarshal(x XDR, name string)

func (*DbSchedResult) XdrPointer

func (v *DbSchedResult) XdrPointer() interface{}

func (DbSchedResult) XdrTypeName

func (DbSchedResult) XdrTypeName() string

func (DbSchedResult) XdrValue

func (v DbSchedResult) XdrValue() interface{}

type DbShardResult

type DbShardResult int32
const (
	ShardOK DbShardResult = 0
)

func XDR_DbShardResult

func XDR_DbShardResult(v *DbShardResult) *DbShardResult

func (DbShardResult) GetU32

func (v DbShardResult) GetU32() uint32

func (*DbShardResult) Scan

func (v *DbShardResult) Scan(ss fmt.ScanState, _ rune) error

func (*DbShardResult) SetU32

func (v *DbShardResult) SetU32(n uint32)

func (DbShardResult) String

func (v DbShardResult) String() string

func (DbShardResult) XdrEnumNames

func (DbShardResult) XdrEnumNames() map[int32]string

func (*DbShardResult) XdrMarshal

func (v *DbShardResult) XdrMarshal(x XDR, name string)

func (*DbShardResult) XdrPointer

func (v *DbShardResult) XdrPointer() interface{}

func (DbShardResult) XdrTypeName

func (DbShardResult) XdrTypeName() string

func (DbShardResult) XdrValue

func (v DbShardResult) XdrValue() interface{}

type DbTip

type DbTip struct {
	Id                BlockID
	Storage_long_hash StorageLongHash
	Value             ConsensusValue
	/// The chain-configured contract resolved for a root invocation of an
	/// address with no deployed contract (see
	/// SystemCallHandler::resolve_runtime). Set at genesis from
	/// GenesisConfiguration::default_wallet; carried forward verbatim by
	/// every subsequent commit, and committed to by this tip's own
	/// ProposalHeader::config_hash through ConfigHashPreimage.
	Default_wallet DeployedContractHash
	/// The execution parameters in force for the block that follows this tip.
	/// Set at genesis from GenesisConfiguration::network_config and carried
	/// forward verbatim by every commit: no mechanism changes it after genesis
	/// yet (see [`ConfigParam`]).
	Network_config NetworkConfig
}

func XDR_DbTip

func XDR_DbTip(v *DbTip) *DbTip

func (*DbTip) XdrMarshal

func (v *DbTip) XdrMarshal(x XDR, name string)

func (*DbTip) XdrPointer

func (v *DbTip) XdrPointer() interface{}

func (*DbTip) XdrRecurse

func (v *DbTip) XdrRecurse(x XDR, name string)

func (DbTip) XdrTypeName

func (DbTip) XdrTypeName() string

func (DbTip) XdrValue

func (v DbTip) XdrValue() interface{}

type DbTipResult

type DbTipResult struct {
	// The union discriminant Result selects among the following arms:
	//   DbSchedResultOK:
	//      Db_tip() *DbTip
	//   default:
	//      void
	Result DbSchedResult
	// contains filtered or unexported fields
}

func XDR_DbTipResult

func XDR_DbTipResult(v *DbTipResult) *DbTipResult

func (*DbTipResult) Db_tip

func (u *DbTipResult) Db_tip() *DbTip

func (*DbTipResult) XdrMarshal

func (v *DbTipResult) XdrMarshal(x XDR, name string)

func (*DbTipResult) XdrPointer

func (v *DbTipResult) XdrPointer() interface{}

func (*DbTipResult) XdrRecurse

func (u *DbTipResult) XdrRecurse(x XDR, name string)

func (DbTipResult) XdrTypeName

func (DbTipResult) XdrTypeName() string

func (*DbTipResult) XdrUnionBody

func (u *DbTipResult) XdrUnionBody() XdrType

func (*DbTipResult) XdrUnionBodyName

func (u *DbTipResult) XdrUnionBodyName() string

func (*DbTipResult) XdrUnionTag

func (u *DbTipResult) XdrUnionTag() XdrNum32

func (*DbTipResult) XdrUnionTagName

func (u *DbTipResult) XdrUnionTagName() string

func (DbTipResult) XdrValid

func (u DbTipResult) XdrValid() bool

func (DbTipResult) XdrValidTags

func (_ DbTipResult) XdrValidTags() map[int32]bool

func (DbTipResult) XdrValue

func (v DbTipResult) XdrValue() interface{}

type Debug1

type Debug1 interface {
	Debug_ready(context.Context) error
}

type Debug1_Client

type Debug1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (Debug1_Client) Debug_ready

func (c Debug1_Client) Debug_ready(ctx context.Context) error

func (Debug1_Client) WithContext

func (c Debug1_Client) WithContext(ctx context.Context) Debug1

type Debug1_Server

type Debug1_Server struct {
	Srv Debug1
}

func (Debug1_Server) GetProc

func (s Debug1_Server) GetProc(p uint32) XdrSrvProc

func (Debug1_Server) Prog

func (Debug1_Server) Prog() uint32

func (Debug1_Server) ProgName

func (Debug1_Server) ProgName() string

func (Debug1_Server) Vers

func (Debug1_Server) Vers() uint32

func (Debug1_Server) VersName

func (Debug1_Server) VersName() string

type DecoratedSignature

type DecoratedSignature struct {
	/// The KeyID of the public key that created this signature.
	///
	/// This is matched against the auth claims to determine if the signature
	/// satisfies the transaction's authorization requirements. Keys are
	/// registered and weighted in [`AddressAuthData`] (address_auth.x); see
	/// [`AuthClaim`] in auth_claim.x for how a claim selects them.
	Public_key_id uint32
	/// The cryptographic signature itself.
	///
	/// See [`Signature`] in types.x for the union that supports different schemes.
	Signature Signature
}

/ A cryptographic signature paired with its key identifier. / / The public_key_id indicates which key from an address's key set produced / this signature, allowing the signature to be matched against the transaction's / auth claims.

func XDR_DecoratedSignature

func XDR_DecoratedSignature(v *DecoratedSignature) *DecoratedSignature

func (*DecoratedSignature) XdrMarshal

func (v *DecoratedSignature) XdrMarshal(x XDR, name string)

func (*DecoratedSignature) XdrPointer

func (v *DecoratedSignature) XdrPointer() interface{}

func (*DecoratedSignature) XdrRecurse

func (v *DecoratedSignature) XdrRecurse(x XDR, name string)

func (DecoratedSignature) XdrTypeName

func (DecoratedSignature) XdrTypeName() string

func (DecoratedSignature) XdrValue

func (v DecoratedSignature) XdrValue() interface{}

type Delta

type Delta struct {
	Address            ContractAddress
	Native_token_delta Int128_xdr
}

func XDR_Delta

func XDR_Delta(v *Delta) *Delta

func (*Delta) XdrMarshal

func (v *Delta) XdrMarshal(x XDR, name string)

func (*Delta) XdrPointer

func (v *Delta) XdrPointer() interface{}

func (*Delta) XdrRecurse

func (v *Delta) XdrRecurse(x XDR, name string)

func (Delta) XdrTypeName

func (Delta) XdrTypeName() string

func (Delta) XdrValue

func (v Delta) XdrValue() interface{}

type DeployedContractHash

type DeployedContractHash struct {
	/// SHA-256 hash of the XDR-encoded `Contract` deployed at this address.
	///
	/// Computed as `SHA256(XDR(Contract))`, identically to the `contract_hash`
	/// field of `ContractDeploymentHashPreimage`.
	Hash SHA256Hash
	/// Size of the contract code in bytes.
	///
	/// Always 0 for `kNative` and `kMockTest`, which carry no deployable blob.
	///
	/// Optimization: allows computing and updating storage costs without
	/// loading the full contract from storage.
	Contract_size uint32
	/// The type of contract: RV32, native, or mock.
	///
	/// Optimization: allows the executor to determine which runtime to
	/// instantiate without a database lookup. When the contract module is
	/// already cached, this avoids loading the contract bytecode entirely.
	Contract_type ContractType
}

/ Hash and metadata for a contract deployed at an address. / / This allows the system to locate and instantiate the contract code / without loading the full contract from storage.

func XDR_DeployedContractHash

func XDR_DeployedContractHash(v *DeployedContractHash) *DeployedContractHash

func (*DeployedContractHash) XdrMarshal

func (v *DeployedContractHash) XdrMarshal(x XDR, name string)

func (*DeployedContractHash) XdrPointer

func (v *DeployedContractHash) XdrPointer() interface{}

func (*DeployedContractHash) XdrRecurse

func (v *DeployedContractHash) XdrRecurse(x XDR, name string)

func (DeployedContractHash) XdrTypeName

func (DeployedContractHash) XdrTypeName() string

func (DeployedContractHash) XdrValue

func (v DeployedContractHash) XdrValue() interface{}

type Discovery1

type Discovery1 interface {
	Discovery_null(context.Context) error
	Discovery_update_quorums(context.Context, KnownQuorumSets) (KnownQuorumSets, error)
}

type Discovery1_Client

type Discovery1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (Discovery1_Client) Discovery_null

func (c Discovery1_Client) Discovery_null(ctx context.Context) error

func (Discovery1_Client) Discovery_update_quorums

func (c Discovery1_Client) Discovery_update_quorums(ctx context.Context, a1 KnownQuorumSets) (r KnownQuorumSets, _ error)

func (Discovery1_Client) WithContext

func (c Discovery1_Client) WithContext(ctx context.Context) Discovery1

type Discovery1_Server

type Discovery1_Server struct {
	Srv Discovery1
}

func (Discovery1_Server) GetProc

func (s Discovery1_Server) GetProc(p uint32) XdrSrvProc

func (Discovery1_Server) Prog

func (Discovery1_Server) Prog() uint32

func (Discovery1_Server) ProgName

func (Discovery1_Server) ProgName() string

func (Discovery1_Server) Vers

func (Discovery1_Server) Vers() uint32

func (Discovery1_Server) VersName

func (Discovery1_Server) VersName() string

type DiscoveryConfig

type DiscoveryConfig struct {
	Advertise_interval_msec Milliseconds
	Advertise_par           uint32
	Snapshot_ttl_msec       Milliseconds
}

func XDR_DiscoveryConfig

func XDR_DiscoveryConfig(v *DiscoveryConfig) *DiscoveryConfig

func (*DiscoveryConfig) XdrMarshal

func (v *DiscoveryConfig) XdrMarshal(x XDR, name string)

func (*DiscoveryConfig) XdrPointer

func (v *DiscoveryConfig) XdrPointer() interface{}

func (*DiscoveryConfig) XdrRecurse

func (v *DiscoveryConfig) XdrRecurse(x XDR, name string)

func (DiscoveryConfig) XdrTypeName

func (DiscoveryConfig) XdrTypeName() string

func (DiscoveryConfig) XdrValue

func (v DiscoveryConfig) XdrValue() interface{}

type Dogwood1

type Dogwood1 interface {
	Dogwood_null(context.Context) error
	Dogwood_deliver(context.Context, DogwoodDeliveryEnvelope) error
}

type Dogwood1_Client

type Dogwood1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (Dogwood1_Client) Dogwood_deliver

func (c Dogwood1_Client) Dogwood_deliver(ctx context.Context, a1 DogwoodDeliveryEnvelope) error

func (Dogwood1_Client) Dogwood_null

func (c Dogwood1_Client) Dogwood_null(ctx context.Context) error

func (Dogwood1_Client) WithContext

func (c Dogwood1_Client) WithContext(ctx context.Context) Dogwood1

type Dogwood1_Server

type Dogwood1_Server struct {
	Srv Dogwood1
}

func (Dogwood1_Server) GetProc

func (s Dogwood1_Server) GetProc(p uint32) XdrSrvProc

func (Dogwood1_Server) Prog

func (Dogwood1_Server) Prog() uint32

func (Dogwood1_Server) ProgName

func (Dogwood1_Server) ProgName() string

func (Dogwood1_Server) Vers

func (Dogwood1_Server) Vers() uint32

func (Dogwood1_Server) VersName

func (Dogwood1_Server) VersName() string

type DogwoodAPI1

type DogwoodAPI1 interface {
	Dogwoodapi_null(context.Context) error
	Dogwoodapi_send(context.Context, Milliseconds, Bytes) error
	Dogwoodapi_receive(context.Context, Milliseconds) (DogwoodReceived, error)
}

type DogwoodAPI1_Client

type DogwoodAPI1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (DogwoodAPI1_Client) Dogwoodapi_null

func (c DogwoodAPI1_Client) Dogwoodapi_null(ctx context.Context) error

func (DogwoodAPI1_Client) Dogwoodapi_receive

func (c DogwoodAPI1_Client) Dogwoodapi_receive(ctx context.Context, a1 Milliseconds) (r DogwoodReceived, _ error)

func (DogwoodAPI1_Client) Dogwoodapi_send

func (c DogwoodAPI1_Client) Dogwoodapi_send(ctx context.Context, a1 Milliseconds, a2 Bytes) error

func (DogwoodAPI1_Client) WithContext

func (c DogwoodAPI1_Client) WithContext(ctx context.Context) DogwoodAPI1

type DogwoodAPI1_Server

type DogwoodAPI1_Server struct {
	Srv DogwoodAPI1
}

func (DogwoodAPI1_Server) GetProc

func (s DogwoodAPI1_Server) GetProc(p uint32) XdrSrvProc

func (DogwoodAPI1_Server) Prog

func (DogwoodAPI1_Server) Prog() uint32

func (DogwoodAPI1_Server) ProgName

func (DogwoodAPI1_Server) ProgName() string

func (DogwoodAPI1_Server) Vers

func (DogwoodAPI1_Server) Vers() uint32

func (DogwoodAPI1_Server) VersName

func (DogwoodAPI1_Server) VersName() string

type DogwoodChunk

type DogwoodChunk struct {
	Sheaf_index DogwoodInt32
	Chunk_index DogwoodInt32
	Chunk       []byte
}

func XDR_DogwoodChunk

func XDR_DogwoodChunk(v *DogwoodChunk) *DogwoodChunk

func (*DogwoodChunk) XdrMarshal

func (v *DogwoodChunk) XdrMarshal(x XDR, name string)

func (*DogwoodChunk) XdrPointer

func (v *DogwoodChunk) XdrPointer() interface{}

func (*DogwoodChunk) XdrRecurse

func (v *DogwoodChunk) XdrRecurse(x XDR, name string)

func (DogwoodChunk) XdrTypeName

func (DogwoodChunk) XdrTypeName() string

func (DogwoodChunk) XdrValue

func (v DogwoodChunk) XdrValue() interface{}

type DogwoodConfig

type DogwoodConfig struct {
	// navigator
	Route_count             DogwoodInt32
	Route_time_to_live_msec Milliseconds
	Route_max_latency_msec  Milliseconds
	// endpoint caller
	Endpoint_max_pending       DogwoodInt32
	Endpoint_num_clients       DogwoodInt32
	Endpoint_idle_ttl_msec     Milliseconds
	Endpoint_dial_timeout_msec Milliseconds
	Endpoint_redial_delay_msec Milliseconds
	Endpoint_call_timeout_msec Milliseconds
	// stream processing
	Stream_receiver_worker_count DogwoodInt32
	Stream_sender_worker_count   DogwoodInt32
	// transmission processing
	Transmission_receiver_decode_worker_count DogwoodInt32
	Transmission_sender_worker_count          DogwoodInt32
	//
	Transmission_partial_max_ttl_msec  Milliseconds
	Transmission_partial_idle_ttl_msec Milliseconds
}

func XDR_DogwoodConfig

func XDR_DogwoodConfig(v *DogwoodConfig) *DogwoodConfig

func (*DogwoodConfig) XdrMarshal

func (v *DogwoodConfig) XdrMarshal(x XDR, name string)

func (*DogwoodConfig) XdrPointer

func (v *DogwoodConfig) XdrPointer() interface{}

func (*DogwoodConfig) XdrRecurse

func (v *DogwoodConfig) XdrRecurse(x XDR, name string)

func (DogwoodConfig) XdrTypeName

func (DogwoodConfig) XdrTypeName() string

func (DogwoodConfig) XdrValue

func (v DogwoodConfig) XdrValue() interface{}

type DogwoodDelivery

type DogwoodDelivery struct {
	Stream DogwoodStream
	Route  DogwoodRoute
	Pkg    DogwoodPackage
}

func XDR_DogwoodDelivery

func XDR_DogwoodDelivery(v *DogwoodDelivery) *DogwoodDelivery

func (*DogwoodDelivery) XdrMarshal

func (v *DogwoodDelivery) XdrMarshal(x XDR, name string)

func (*DogwoodDelivery) XdrPointer

func (v *DogwoodDelivery) XdrPointer() interface{}

func (*DogwoodDelivery) XdrRecurse

func (v *DogwoodDelivery) XdrRecurse(x XDR, name string)

func (DogwoodDelivery) XdrTypeName

func (DogwoodDelivery) XdrTypeName() string

func (DogwoodDelivery) XdrValue

func (v DogwoodDelivery) XdrValue() interface{}

type DogwoodDeliveryEnvelope

type DogwoodDeliveryEnvelope struct {
	Signature Signature
	Delivery  DogwoodDelivery
}

func (*DogwoodDeliveryEnvelope) XdrMarshal

func (v *DogwoodDeliveryEnvelope) XdrMarshal(x XDR, name string)

func (*DogwoodDeliveryEnvelope) XdrPointer

func (v *DogwoodDeliveryEnvelope) XdrPointer() interface{}

func (*DogwoodDeliveryEnvelope) XdrRecurse

func (v *DogwoodDeliveryEnvelope) XdrRecurse(x XDR, name string)

func (DogwoodDeliveryEnvelope) XdrTypeName

func (DogwoodDeliveryEnvelope) XdrTypeName() string

func (DogwoodDeliveryEnvelope) XdrValue

func (v DogwoodDeliveryEnvelope) XdrValue() interface{}

type DogwoodInt32

type DogwoodInt32 = uint32

type DogwoodInt64

type DogwoodInt64 = uint64

type DogwoodPackage

type DogwoodPackage struct {
	Transmission DogwoodTransmission
	Chunk        DogwoodChunk
}

func XDR_DogwoodPackage

func XDR_DogwoodPackage(v *DogwoodPackage) *DogwoodPackage

func (*DogwoodPackage) XdrMarshal

func (v *DogwoodPackage) XdrMarshal(x XDR, name string)

func (*DogwoodPackage) XdrPointer

func (v *DogwoodPackage) XdrPointer() interface{}

func (*DogwoodPackage) XdrRecurse

func (v *DogwoodPackage) XdrRecurse(x XDR, name string)

func (DogwoodPackage) XdrTypeName

func (DogwoodPackage) XdrTypeName() string

func (DogwoodPackage) XdrValue

func (v DogwoodPackage) XdrValue() interface{}

type DogwoodReceived

type DogwoodReceived struct {
	From    ValidatorID
	Payload []byte
}

func XDR_DogwoodReceived

func XDR_DogwoodReceived(v *DogwoodReceived) *DogwoodReceived

func (*DogwoodReceived) XdrMarshal

func (v *DogwoodReceived) XdrMarshal(x XDR, name string)

func (*DogwoodReceived) XdrPointer

func (v *DogwoodReceived) XdrPointer() interface{}

func (*DogwoodReceived) XdrRecurse

func (v *DogwoodReceived) XdrRecurse(x XDR, name string)

func (DogwoodReceived) XdrTypeName

func (DogwoodReceived) XdrTypeName() string

func (DogwoodReceived) XdrValue

func (v DogwoodReceived) XdrValue() interface{}

type DogwoodRoute

type DogwoodRoute struct {
	Route_hash  *DogwoodTreeHash
	Route_nodes *DogwoodTreeNodes
}

func XDR_DogwoodRoute

func XDR_DogwoodRoute(v *DogwoodRoute) *DogwoodRoute

func (*DogwoodRoute) XdrMarshal

func (v *DogwoodRoute) XdrMarshal(x XDR, name string)

func (*DogwoodRoute) XdrPointer

func (v *DogwoodRoute) XdrPointer() interface{}

func (*DogwoodRoute) XdrRecurse

func (v *DogwoodRoute) XdrRecurse(x XDR, name string)

func (DogwoodRoute) XdrTypeName

func (DogwoodRoute) XdrTypeName() string

func (DogwoodRoute) XdrValue

func (v DogwoodRoute) XdrValue() interface{}

type DogwoodRouting

type DogwoodRouting struct {
	Routes []DogwoodTreeNodes
}

func XDR_DogwoodRouting

func XDR_DogwoodRouting(v *DogwoodRouting) *DogwoodRouting

func (*DogwoodRouting) XdrMarshal

func (v *DogwoodRouting) XdrMarshal(x XDR, name string)

func (*DogwoodRouting) XdrPointer

func (v *DogwoodRouting) XdrPointer() interface{}

func (*DogwoodRouting) XdrRecurse

func (v *DogwoodRouting) XdrRecurse(x XDR, name string)

func (DogwoodRouting) XdrTypeName

func (DogwoodRouting) XdrTypeName() string

func (DogwoodRouting) XdrValue

func (v DogwoodRouting) XdrValue() interface{}

type DogwoodStandaloneConfig

type DogwoodStandaloneConfig struct {
	Validator_config ValidatorConfig
	Router_config    RouterConfig
	Dogwood_config   DogwoodConfig
}

func (*DogwoodStandaloneConfig) XdrMarshal

func (v *DogwoodStandaloneConfig) XdrMarshal(x XDR, name string)

func (*DogwoodStandaloneConfig) XdrPointer

func (v *DogwoodStandaloneConfig) XdrPointer() interface{}

func (*DogwoodStandaloneConfig) XdrRecurse

func (v *DogwoodStandaloneConfig) XdrRecurse(x XDR, name string)

func (DogwoodStandaloneConfig) XdrTypeName

func (DogwoodStandaloneConfig) XdrTypeName() string

func (DogwoodStandaloneConfig) XdrValue

func (v DogwoodStandaloneConfig) XdrValue() interface{}

type DogwoodStream

type DogwoodStream struct {
	Source_id ValidatorID
	Stream_id DogwoodStreamID
}

func XDR_DogwoodStream

func XDR_DogwoodStream(v *DogwoodStream) *DogwoodStream

func (*DogwoodStream) XdrMarshal

func (v *DogwoodStream) XdrMarshal(x XDR, name string)

func (*DogwoodStream) XdrPointer

func (v *DogwoodStream) XdrPointer() interface{}

func (*DogwoodStream) XdrRecurse

func (v *DogwoodStream) XdrRecurse(x XDR, name string)

func (DogwoodStream) XdrTypeName

func (DogwoodStream) XdrTypeName() string

func (DogwoodStream) XdrValue

func (v DogwoodStream) XdrValue() interface{}

type DogwoodStreamID

type DogwoodStreamID = DogwoodInt64

type DogwoodTransmission

type DogwoodTransmission struct {
	Transmission_id     DogwoodTransmissionID
	Type                DogwoodTransmissionType
	Num_payload_bytes   DogwoodInt64
	Num_payload_sheaves DogwoodInt32
	Num_parity_sheaves  DogwoodInt32
	Max_bytes_per_chunk DogwoodInt32
	// used to shuffle sheafs for cross-sheaf coding
	Shuffle_seed DogwoodInt32
}

func XDR_DogwoodTransmission

func XDR_DogwoodTransmission(v *DogwoodTransmission) *DogwoodTransmission

func (*DogwoodTransmission) XdrMarshal

func (v *DogwoodTransmission) XdrMarshal(x XDR, name string)

func (*DogwoodTransmission) XdrPointer

func (v *DogwoodTransmission) XdrPointer() interface{}

func (*DogwoodTransmission) XdrRecurse

func (v *DogwoodTransmission) XdrRecurse(x XDR, name string)

func (DogwoodTransmission) XdrTypeName

func (DogwoodTransmission) XdrTypeName() string

func (DogwoodTransmission) XdrValue

func (v DogwoodTransmission) XdrValue() interface{}

type DogwoodTransmissionID

type DogwoodTransmissionID = DogwoodInt64

type DogwoodTransmissionType

type DogwoodTransmissionType int32
const (
	DogwoodTransmissionPayload DogwoodTransmissionType = 0
	DogwoodTransmissionRoute   DogwoodTransmissionType = 1
)

func (DogwoodTransmissionType) GetU32

func (v DogwoodTransmissionType) GetU32() uint32

func (*DogwoodTransmissionType) Scan

func (*DogwoodTransmissionType) SetU32

func (v *DogwoodTransmissionType) SetU32(n uint32)

func (DogwoodTransmissionType) String

func (v DogwoodTransmissionType) String() string

func (DogwoodTransmissionType) XdrEnumNames

func (DogwoodTransmissionType) XdrEnumNames() map[int32]string

func (*DogwoodTransmissionType) XdrMarshal

func (v *DogwoodTransmissionType) XdrMarshal(x XDR, name string)

func (*DogwoodTransmissionType) XdrPointer

func (v *DogwoodTransmissionType) XdrPointer() interface{}

func (DogwoodTransmissionType) XdrTypeName

func (DogwoodTransmissionType) XdrTypeName() string

func (DogwoodTransmissionType) XdrValue

func (v DogwoodTransmissionType) XdrValue() interface{}

type DogwoodTreeHash

type DogwoodTreeHash = SHA256Hash

type DogwoodTreeNode

type DogwoodTreeNode struct {
	Node     ValidatorID
	Children []DogwoodTreeHash
}

func XDR_DogwoodTreeNode

func XDR_DogwoodTreeNode(v *DogwoodTreeNode) *DogwoodTreeNode

func (*DogwoodTreeNode) XdrMarshal

func (v *DogwoodTreeNode) XdrMarshal(x XDR, name string)

func (*DogwoodTreeNode) XdrPointer

func (v *DogwoodTreeNode) XdrPointer() interface{}

func (*DogwoodTreeNode) XdrRecurse

func (v *DogwoodTreeNode) XdrRecurse(x XDR, name string)

func (DogwoodTreeNode) XdrTypeName

func (DogwoodTreeNode) XdrTypeName() string

func (DogwoodTreeNode) XdrValue

func (v DogwoodTreeNode) XdrValue() interface{}

type DogwoodTreeNodes

type DogwoodTreeNodes = []DogwoodTreeNode

type DomainSeparator

type DomainSeparator struct {
	Ext              ExtensionPoint
	Domain_separator []byte // bound 256
}

#[rust(ConstWriteXDR)]

func XDR_DomainSeparator

func XDR_DomainSeparator(v *DomainSeparator) *DomainSeparator

func (*DomainSeparator) XdrMarshal

func (v *DomainSeparator) XdrMarshal(x XDR, name string)

func (*DomainSeparator) XdrPointer

func (v *DomainSeparator) XdrPointer() interface{}

func (*DomainSeparator) XdrRecurse

func (v *DomainSeparator) XdrRecurse(x XDR, name string)

func (DomainSeparator) XdrTypeName

func (DomainSeparator) XdrTypeName() string

func (DomainSeparator) XdrValue

func (v DomainSeparator) XdrValue() interface{}

type Duration

type Duration = Uint64

type ERC20PaymentsConfig

type ERC20PaymentsConfig struct {
	Num_addresses uint64
	Network_hash  NetworkHash
}

func XDR_ERC20PaymentsConfig

func XDR_ERC20PaymentsConfig(v *ERC20PaymentsConfig) *ERC20PaymentsConfig

func (*ERC20PaymentsConfig) XdrMarshal

func (v *ERC20PaymentsConfig) XdrMarshal(x XDR, name string)

func (*ERC20PaymentsConfig) XdrPointer

func (v *ERC20PaymentsConfig) XdrPointer() interface{}

func (*ERC20PaymentsConfig) XdrRecurse

func (v *ERC20PaymentsConfig) XdrRecurse(x XDR, name string)

func (ERC20PaymentsConfig) XdrTypeName

func (ERC20PaymentsConfig) XdrTypeName() string

func (ERC20PaymentsConfig) XdrValue

func (v ERC20PaymentsConfig) XdrValue() interface{}

type Ed25519PublicKey

type Ed25519PublicKey = [32]byte

/ Represents a 256-bit Ed25519 public key.

type Ed25519SecretKey

type Ed25519SecretKey = [64]byte

/ Represents a 64-byte Ed25519 secret key.

type Ed25519Signature

type Ed25519Signature = [64]byte

/ Represents a 512-bit Ed25519 signature.

type EventActivationOutcome

type EventActivationOutcome int32
const (
	EventActivationOK    EventActivationOutcome = 0
	EventActivationRetry EventActivationOutcome = 1
	EventActivationError EventActivationOutcome = 2
)

func (EventActivationOutcome) GetU32

func (v EventActivationOutcome) GetU32() uint32

func (*EventActivationOutcome) Scan

func (*EventActivationOutcome) SetU32

func (v *EventActivationOutcome) SetU32(n uint32)

func (EventActivationOutcome) String

func (v EventActivationOutcome) String() string

func (EventActivationOutcome) XdrEnumNames

func (EventActivationOutcome) XdrEnumNames() map[int32]string

func (*EventActivationOutcome) XdrMarshal

func (v *EventActivationOutcome) XdrMarshal(x XDR, name string)

func (*EventActivationOutcome) XdrPointer

func (v *EventActivationOutcome) XdrPointer() interface{}

func (EventActivationOutcome) XdrTypeName

func (EventActivationOutcome) XdrTypeName() string

func (EventActivationOutcome) XdrValue

func (v EventActivationOutcome) XdrValue() interface{}

type EventActivationResult

type EventActivationResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   EventActivationRetry:
	//      Current_tip() *EventCanonicalTip
	//   default:
	//      void
	Outcome EventActivationOutcome
	// contains filtered or unexported fields
}

func XDR_EventActivationResult

func XDR_EventActivationResult(v *EventActivationResult) *EventActivationResult

func (*EventActivationResult) Current_tip

func (u *EventActivationResult) Current_tip() *EventCanonicalTip

func (*EventActivationResult) XdrMarshal

func (v *EventActivationResult) XdrMarshal(x XDR, name string)

func (*EventActivationResult) XdrPointer

func (v *EventActivationResult) XdrPointer() interface{}

func (*EventActivationResult) XdrRecurse

func (u *EventActivationResult) XdrRecurse(x XDR, name string)

func (EventActivationResult) XdrTypeName

func (EventActivationResult) XdrTypeName() string

func (*EventActivationResult) XdrUnionBody

func (u *EventActivationResult) XdrUnionBody() XdrType

func (*EventActivationResult) XdrUnionBodyName

func (u *EventActivationResult) XdrUnionBodyName() string

func (*EventActivationResult) XdrUnionTag

func (u *EventActivationResult) XdrUnionTag() XdrNum32

func (*EventActivationResult) XdrUnionTagName

func (u *EventActivationResult) XdrUnionTagName() string

func (EventActivationResult) XdrValid

func (u EventActivationResult) XdrValid() bool

func (EventActivationResult) XdrValidTags

func (_ EventActivationResult) XdrValidTags() map[int32]bool

func (EventActivationResult) XdrValue

func (v EventActivationResult) XdrValue() interface{}

type EventBlockResult

type EventBlockResult struct {
	// The union discriminant Error selects among the following arms:
	//   KRPCNone:
	//      Root_hash() *SHA256Hash
	//   default:
	//      void
	Error RPCError
	// contains filtered or unexported fields
}

func XDR_EventBlockResult

func XDR_EventBlockResult(v *EventBlockResult) *EventBlockResult

func (*EventBlockResult) Root_hash

func (u *EventBlockResult) Root_hash() *SHA256Hash

func (*EventBlockResult) XdrMarshal

func (v *EventBlockResult) XdrMarshal(x XDR, name string)

func (*EventBlockResult) XdrPointer

func (v *EventBlockResult) XdrPointer() interface{}

func (*EventBlockResult) XdrRecurse

func (u *EventBlockResult) XdrRecurse(x XDR, name string)

func (EventBlockResult) XdrTypeName

func (EventBlockResult) XdrTypeName() string

func (*EventBlockResult) XdrUnionBody

func (u *EventBlockResult) XdrUnionBody() XdrType

func (*EventBlockResult) XdrUnionBodyName

func (u *EventBlockResult) XdrUnionBodyName() string

func (*EventBlockResult) XdrUnionTag

func (u *EventBlockResult) XdrUnionTag() XdrNum32

func (*EventBlockResult) XdrUnionTagName

func (u *EventBlockResult) XdrUnionTagName() string

func (EventBlockResult) XdrValid

func (u EventBlockResult) XdrValid() bool

func (EventBlockResult) XdrValidTags

func (_ EventBlockResult) XdrValidTags() map[int32]bool

func (EventBlockResult) XdrValue

func (v EventBlockResult) XdrValue() interface{}

type EventCanonicalTip

type EventCanonicalTip struct {
	Block_id        BlockID
	Consensus_value ConsensusValue
}

func XDR_EventCanonicalTip

func XDR_EventCanonicalTip(v *EventCanonicalTip) *EventCanonicalTip

func (*EventCanonicalTip) XdrMarshal

func (v *EventCanonicalTip) XdrMarshal(x XDR, name string)

func (*EventCanonicalTip) XdrPointer

func (v *EventCanonicalTip) XdrPointer() interface{}

func (*EventCanonicalTip) XdrRecurse

func (v *EventCanonicalTip) XdrRecurse(x XDR, name string)

func (EventCanonicalTip) XdrTypeName

func (EventCanonicalTip) XdrTypeName() string

func (EventCanonicalTip) XdrValue

func (v EventCanonicalTip) XdrValue() interface{}

type EventCard

type EventCard struct {
	Protocol          ProtocolCommit
	Upid              UPID
	Address_for_exec  ServerAddress
	Address_for_sched ServerAddress
}

Uniquely describes an event server instance.

func XDR_EventCard

func XDR_EventCard(v *EventCard) *EventCard

func (*EventCard) XdrMarshal

func (v *EventCard) XdrMarshal(x XDR, name string)

func (*EventCard) XdrPointer

func (v *EventCard) XdrPointer() interface{}

func (*EventCard) XdrRecurse

func (v *EventCard) XdrRecurse(x XDR, name string)

func (EventCard) XdrTypeName

func (EventCard) XdrTypeName() string

func (EventCard) XdrValue

func (v EventCard) XdrValue() interface{}

type EventExecutor1

type EventExecutor1 interface {
	Eventexecutor_null(context.Context) error
	Eventexecutor_open_block(context.Context, BlockID) (RPCError, error)
	Eventexecutor_close_block(context.Context, BlockID) (RPCError, error)
	Eventexecutor_report_tx_failure(context.Context, TransactionHash, TxFailureDiagnostic) (RPCError, error)
	Eventexecutor_emit_event(context.Context, BlockID, TransactionID, TxEventLog, ProposedTransaction) (RPCError, error)
}

type EventExecutor1_Client

type EventExecutor1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (EventExecutor1_Client) Eventexecutor_close_block

func (c EventExecutor1_Client) Eventexecutor_close_block(ctx context.Context, a1 BlockID) (r RPCError, _ error)

func (EventExecutor1_Client) Eventexecutor_emit_event

func (c EventExecutor1_Client) Eventexecutor_emit_event(ctx context.Context, a1 BlockID, a2 TransactionID, a3 TxEventLog, a4 ProposedTransaction) (r RPCError, _ error)

func (EventExecutor1_Client) Eventexecutor_null

func (c EventExecutor1_Client) Eventexecutor_null(ctx context.Context) error

func (EventExecutor1_Client) Eventexecutor_open_block

func (c EventExecutor1_Client) Eventexecutor_open_block(ctx context.Context, a1 BlockID) (r RPCError, _ error)

func (EventExecutor1_Client) Eventexecutor_report_tx_failure

func (c EventExecutor1_Client) Eventexecutor_report_tx_failure(ctx context.Context, a1 TransactionHash, a2 TxFailureDiagnostic) (r RPCError, _ error)

func (EventExecutor1_Client) WithContext

type EventExecutor1_Server

type EventExecutor1_Server struct {
	Srv EventExecutor1
}

func (EventExecutor1_Server) GetProc

func (s EventExecutor1_Server) GetProc(p uint32) XdrSrvProc

func (EventExecutor1_Server) Prog

func (EventExecutor1_Server) ProgName

func (EventExecutor1_Server) ProgName() string

func (EventExecutor1_Server) Vers

func (EventExecutor1_Server) VersName

func (EventExecutor1_Server) VersName() string

type EventFilter

type EventFilter struct {
	Contract_addresses ContractAddressList
	Topics             EventTopicFilter
}

/ A single event-filter predicate: events must be emitted by one of / `contract_addresses` AND match the topic constraints. The indexer has / no topic-indexed column family and can't efficiently serve "any / contract" scans, so a query with no filters, or with any filter whose / contract_addresses is empty, matches nothing: it returns an empty page, / or IndexerQueryInvalidCursor if it carries a cursor. (When such an / index is added, the indexer can relax this; the XDR stays the same.)

func XDR_EventFilter

func XDR_EventFilter(v *EventFilter) *EventFilter

func (*EventFilter) XdrMarshal

func (v *EventFilter) XdrMarshal(x XDR, name string)

func (*EventFilter) XdrPointer

func (v *EventFilter) XdrPointer() interface{}

func (*EventFilter) XdrRecurse

func (v *EventFilter) XdrRecurse(x XDR, name string)

func (EventFilter) XdrTypeName

func (EventFilter) XdrTypeName() string

func (EventFilter) XdrValue

func (v EventFilter) XdrValue() interface{}

type EventFilterList

type EventFilterList = []EventFilter // bound KMaxEventFiltersPerQuery

type EventIndexer1

type EventIndexer1 interface {
	Event_indexer_pull_next(context.Context, EventIndexerPullRequest) (EventIndexerPullResult, error)
	Event_indexer_pull_tx_failures(context.Context) (IndexerTxFailureNoticeBatch, error)
}

type EventIndexer1_Client

type EventIndexer1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (EventIndexer1_Client) Event_indexer_pull_next

func (c EventIndexer1_Client) Event_indexer_pull_next(ctx context.Context, a1 EventIndexerPullRequest) (r EventIndexerPullResult, _ error)

func (EventIndexer1_Client) Event_indexer_pull_tx_failures

func (c EventIndexer1_Client) Event_indexer_pull_tx_failures(ctx context.Context) (r IndexerTxFailureNoticeBatch, _ error)

func (EventIndexer1_Client) WithContext

type EventIndexer1_Server

type EventIndexer1_Server struct {
	Srv EventIndexer1
}

func (EventIndexer1_Server) GetProc

func (s EventIndexer1_Server) GetProc(p uint32) XdrSrvProc

func (EventIndexer1_Server) Prog

func (EventIndexer1_Server) ProgName

func (EventIndexer1_Server) ProgName() string

func (EventIndexer1_Server) Vers

func (EventIndexer1_Server) VersName

func (EventIndexer1_Server) VersName() string

type EventIndexerPullOutcome

type EventIndexerPullOutcome int32
const (
	EventIndexerPullBlock              EventIndexerPullOutcome = 0
	EventIndexerPullCaughtUp           EventIndexerPullOutcome = 1
	EventIndexerPullNotReady           EventIndexerPullOutcome = 2
	EventIndexerPullMismatchedProtocol EventIndexerPullOutcome = 3
	EventIndexerPullProgressConflict   EventIndexerPullOutcome = 4
	EventIndexerPullInternalFailure    EventIndexerPullOutcome = 5
)

func (EventIndexerPullOutcome) GetU32

func (v EventIndexerPullOutcome) GetU32() uint32

func (*EventIndexerPullOutcome) Scan

func (*EventIndexerPullOutcome) SetU32

func (v *EventIndexerPullOutcome) SetU32(n uint32)

func (EventIndexerPullOutcome) String

func (v EventIndexerPullOutcome) String() string

func (EventIndexerPullOutcome) XdrEnumNames

func (EventIndexerPullOutcome) XdrEnumNames() map[int32]string

func (*EventIndexerPullOutcome) XdrMarshal

func (v *EventIndexerPullOutcome) XdrMarshal(x XDR, name string)

func (*EventIndexerPullOutcome) XdrPointer

func (v *EventIndexerPullOutcome) XdrPointer() interface{}

func (EventIndexerPullOutcome) XdrTypeName

func (EventIndexerPullOutcome) XdrTypeName() string

func (EventIndexerPullOutcome) XdrValue

func (v EventIndexerPullOutcome) XdrValue() interface{}

type EventIndexerPullRequest

type EventIndexerPullRequest struct {
	Protocol ProtocolCommit
	Progress IndexerProgress
}

/ The indexer's durable progress is its replay cursor. A lost reply is safe: / the next request either repeats the same immutable block or advances from / progress already committed by the indexer.

func (*EventIndexerPullRequest) XdrMarshal

func (v *EventIndexerPullRequest) XdrMarshal(x XDR, name string)

func (*EventIndexerPullRequest) XdrPointer

func (v *EventIndexerPullRequest) XdrPointer() interface{}

func (*EventIndexerPullRequest) XdrRecurse

func (v *EventIndexerPullRequest) XdrRecurse(x XDR, name string)

func (EventIndexerPullRequest) XdrTypeName

func (EventIndexerPullRequest) XdrTypeName() string

func (EventIndexerPullRequest) XdrValue

func (v EventIndexerPullRequest) XdrValue() interface{}

type EventIndexerPullResult

type EventIndexerPullResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   EventIndexerPullBlock:
	//      Pulled_block() *EventIndexerPulledBlock
	//   EventIndexerPullCaughtUp:
	//      Origin() *IndexerOutboxOrigin
	//   default:
	//      Diagnostic() *IndexerFailureMessage
	Outcome EventIndexerPullOutcome
	// contains filtered or unexported fields
}

func (*EventIndexerPullResult) Diagnostic

func (*EventIndexerPullResult) Origin

func (*EventIndexerPullResult) Pulled_block

func (*EventIndexerPullResult) XdrMarshal

func (v *EventIndexerPullResult) XdrMarshal(x XDR, name string)

func (*EventIndexerPullResult) XdrPointer

func (v *EventIndexerPullResult) XdrPointer() interface{}

func (*EventIndexerPullResult) XdrRecurse

func (u *EventIndexerPullResult) XdrRecurse(x XDR, name string)

func (EventIndexerPullResult) XdrTypeName

func (EventIndexerPullResult) XdrTypeName() string

func (*EventIndexerPullResult) XdrUnionBody

func (u *EventIndexerPullResult) XdrUnionBody() XdrType

func (*EventIndexerPullResult) XdrUnionBodyName

func (u *EventIndexerPullResult) XdrUnionBodyName() string

func (*EventIndexerPullResult) XdrUnionTag

func (u *EventIndexerPullResult) XdrUnionTag() XdrNum32

func (*EventIndexerPullResult) XdrUnionTagName

func (u *EventIndexerPullResult) XdrUnionTagName() string

func (EventIndexerPullResult) XdrValid

func (u EventIndexerPullResult) XdrValid() bool

func (EventIndexerPullResult) XdrValidTags

func (_ EventIndexerPullResult) XdrValidTags() map[int32]bool

func (EventIndexerPullResult) XdrValue

func (v EventIndexerPullResult) XdrValue() interface{}

type EventIndexerPulledBlock

type EventIndexerPulledBlock struct {
	Origin IndexerOutboxOrigin
	Block  IndexerCommittedBlock
}

func (*EventIndexerPulledBlock) XdrMarshal

func (v *EventIndexerPulledBlock) XdrMarshal(x XDR, name string)

func (*EventIndexerPulledBlock) XdrPointer

func (v *EventIndexerPulledBlock) XdrPointer() interface{}

func (*EventIndexerPulledBlock) XdrRecurse

func (v *EventIndexerPulledBlock) XdrRecurse(x XDR, name string)

func (EventIndexerPulledBlock) XdrTypeName

func (EventIndexerPulledBlock) XdrTypeName() string

func (EventIndexerPulledBlock) XdrValue

func (v EventIndexerPulledBlock) XdrValue() interface{}

type EventPage

type EventPage struct {
	/// Matched events in the requested order.  May be empty even when
	/// `cursor` is non-empty: the filter was selective and the current
	/// scan window produced no matches, so the client should keep
	/// paginating.  Empty events + empty cursor = stream exhausted.
	Events IdentifiedEventBatch
	/// Empty when the stream has been exhausted in the requested
	/// direction.  Non-empty: pass back in the next call's `cursor`
	/// argument.
	Cursor PaginationCursor
	/// Highest block height the indexer has processed at response time.
	/// Clients compare to the heights on their last-seen events to
	/// decide whether they're caught up.
	Latest_block BlockHeight
	/// Oldest block height the indexer still retains data for at
	/// response time.  Today always 0; once retention/pruning lands
	/// this is the lower bound below which queries return empty
	/// regardless of anchor.
	Oldest_block BlockHeight
}

/ `get_events` response.

func XDR_EventPage

func XDR_EventPage(v *EventPage) *EventPage

func (*EventPage) XdrMarshal

func (v *EventPage) XdrMarshal(x XDR, name string)

func (*EventPage) XdrPointer

func (v *EventPage) XdrPointer() interface{}

func (*EventPage) XdrRecurse

func (v *EventPage) XdrRecurse(x XDR, name string)

func (EventPage) XdrTypeName

func (EventPage) XdrTypeName() string

func (EventPage) XdrValue

func (v EventPage) XdrValue() interface{}

type EventPageResult

type EventPageResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   IndexerQueryOk:
	//      Page() *EventPage
	//   default:
	//      void
	Outcome IndexerQueryOutcome
	// contains filtered or unexported fields
}

func XDR_EventPageResult

func XDR_EventPageResult(v *EventPageResult) *EventPageResult

func (*EventPageResult) Page

func (u *EventPageResult) Page() *EventPage

func (*EventPageResult) XdrMarshal

func (v *EventPageResult) XdrMarshal(x XDR, name string)

func (*EventPageResult) XdrPointer

func (v *EventPageResult) XdrPointer() interface{}

func (*EventPageResult) XdrRecurse

func (u *EventPageResult) XdrRecurse(x XDR, name string)

func (EventPageResult) XdrTypeName

func (EventPageResult) XdrTypeName() string

func (*EventPageResult) XdrUnionBody

func (u *EventPageResult) XdrUnionBody() XdrType

func (*EventPageResult) XdrUnionBodyName

func (u *EventPageResult) XdrUnionBodyName() string

func (*EventPageResult) XdrUnionTag

func (u *EventPageResult) XdrUnionTag() XdrNum32

func (*EventPageResult) XdrUnionTagName

func (u *EventPageResult) XdrUnionTagName() string

func (EventPageResult) XdrValid

func (u EventPageResult) XdrValid() bool

func (EventPageResult) XdrValidTags

func (_ EventPageResult) XdrValidTags() map[int32]bool

func (EventPageResult) XdrValue

func (v EventPageResult) XdrValue() interface{}

type EventPrepareOutcome

type EventPrepareOutcome int32
const (
	EventPrepareOK       EventPrepareOutcome = 0
	EventPrepareNotReady EventPrepareOutcome = 1
	EventPrepareError    EventPrepareOutcome = 2
)

func XDR_EventPrepareOutcome

func XDR_EventPrepareOutcome(v *EventPrepareOutcome) *EventPrepareOutcome

func (EventPrepareOutcome) GetU32

func (v EventPrepareOutcome) GetU32() uint32

func (*EventPrepareOutcome) Scan

func (v *EventPrepareOutcome) Scan(ss fmt.ScanState, _ rune) error

func (*EventPrepareOutcome) SetU32

func (v *EventPrepareOutcome) SetU32(n uint32)

func (EventPrepareOutcome) String

func (v EventPrepareOutcome) String() string

func (EventPrepareOutcome) XdrEnumNames

func (EventPrepareOutcome) XdrEnumNames() map[int32]string

func (*EventPrepareOutcome) XdrMarshal

func (v *EventPrepareOutcome) XdrMarshal(x XDR, name string)

func (*EventPrepareOutcome) XdrPointer

func (v *EventPrepareOutcome) XdrPointer() interface{}

func (EventPrepareOutcome) XdrTypeName

func (EventPrepareOutcome) XdrTypeName() string

func (EventPrepareOutcome) XdrValue

func (v EventPrepareOutcome) XdrValue() interface{}

type EventPrepareResult

type EventPrepareResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   EventPrepareOK:
	//      Snapshot() *EventRegistrationSnapshot
	//   default:
	//      void
	Outcome EventPrepareOutcome
	// contains filtered or unexported fields
}

func XDR_EventPrepareResult

func XDR_EventPrepareResult(v *EventPrepareResult) *EventPrepareResult

func (*EventPrepareResult) Snapshot

func (*EventPrepareResult) XdrMarshal

func (v *EventPrepareResult) XdrMarshal(x XDR, name string)

func (*EventPrepareResult) XdrPointer

func (v *EventPrepareResult) XdrPointer() interface{}

func (*EventPrepareResult) XdrRecurse

func (u *EventPrepareResult) XdrRecurse(x XDR, name string)

func (EventPrepareResult) XdrTypeName

func (EventPrepareResult) XdrTypeName() string

func (*EventPrepareResult) XdrUnionBody

func (u *EventPrepareResult) XdrUnionBody() XdrType

func (*EventPrepareResult) XdrUnionBodyName

func (u *EventPrepareResult) XdrUnionBodyName() string

func (*EventPrepareResult) XdrUnionTag

func (u *EventPrepareResult) XdrUnionTag() XdrNum32

func (*EventPrepareResult) XdrUnionTagName

func (u *EventPrepareResult) XdrUnionTagName() string

func (EventPrepareResult) XdrValid

func (u EventPrepareResult) XdrValid() bool

func (EventPrepareResult) XdrValidTags

func (_ EventPrepareResult) XdrValidTags() map[int32]bool

func (EventPrepareResult) XdrValue

func (v EventPrepareResult) XdrValue() interface{}

type EventQuery

type EventQuery struct {
	Filters EventFilterList
	Order   IterationOrder
	Anchor  BlockAnchor
	/// Empty on the initial call.  Non-empty to continue where a
	/// previous response left off; `order` and `anchor` in the request
	/// are ignored when a cursor is supplied — the cursor carries them.
	Cursor PaginationCursor
	/// Clamped server-side to [1, 200]; 0 means server default (50).
	Limit uint32
}

/ `get_events` request. A candidate event matches the query iff it / matches at least one `EventFilter` in `filters` (OR across filters, / AND within each filter).

func XDR_EventQuery

func XDR_EventQuery(v *EventQuery) *EventQuery

func (*EventQuery) XdrMarshal

func (v *EventQuery) XdrMarshal(x XDR, name string)

func (*EventQuery) XdrPointer

func (v *EventQuery) XdrPointer() interface{}

func (*EventQuery) XdrRecurse

func (v *EventQuery) XdrRecurse(x XDR, name string)

func (EventQuery) XdrTypeName

func (EventQuery) XdrTypeName() string

func (EventQuery) XdrValue

func (v EventQuery) XdrValue() interface{}

type EventRegistrationSnapshot

type EventRegistrationSnapshot struct {
	Tip   EventCanonicalTip
	Token uint64
}

func (*EventRegistrationSnapshot) XdrMarshal

func (v *EventRegistrationSnapshot) XdrMarshal(x XDR, name string)

func (*EventRegistrationSnapshot) XdrPointer

func (v *EventRegistrationSnapshot) XdrPointer() interface{}

func (*EventRegistrationSnapshot) XdrRecurse

func (v *EventRegistrationSnapshot) XdrRecurse(x XDR, name string)

func (EventRegistrationSnapshot) XdrTypeName

func (EventRegistrationSnapshot) XdrTypeName() string

func (EventRegistrationSnapshot) XdrValue

func (v EventRegistrationSnapshot) XdrValue() interface{}

type EventSched1

type EventSched1 interface {
	Eventsched_null(context.Context) error
	Eventsched_open_block(context.Context, BlockID) (RPCError, error)
	Eventsched_close_block(context.Context, BlockID, BlockHeight) (EventBlockResult, error)
	Eventsched_commit_block(context.Context, BlockID, ConsensusValue) (RPCError, error)
	Eventsched_abandon_block(context.Context, BlockID) (RPCError, error)
}

type EventSched1_Client

type EventSched1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (EventSched1_Client) Eventsched_abandon_block

func (c EventSched1_Client) Eventsched_abandon_block(ctx context.Context, a1 BlockID) (r RPCError, _ error)

func (EventSched1_Client) Eventsched_close_block

func (c EventSched1_Client) Eventsched_close_block(ctx context.Context, a1 BlockID, a2 BlockHeight) (r EventBlockResult, _ error)

func (EventSched1_Client) Eventsched_commit_block

func (c EventSched1_Client) Eventsched_commit_block(ctx context.Context, a1 BlockID, a2 ConsensusValue) (r RPCError, _ error)

func (EventSched1_Client) Eventsched_null

func (c EventSched1_Client) Eventsched_null(ctx context.Context) error

func (EventSched1_Client) Eventsched_open_block

func (c EventSched1_Client) Eventsched_open_block(ctx context.Context, a1 BlockID) (r RPCError, _ error)

func (EventSched1_Client) WithContext

func (c EventSched1_Client) WithContext(ctx context.Context) EventSched1

type EventSched1_Server

type EventSched1_Server struct {
	Srv EventSched1
}

func (EventSched1_Server) GetProc

func (s EventSched1_Server) GetProc(p uint32) XdrSrvProc

func (EventSched1_Server) Prog

func (EventSched1_Server) Prog() uint32

func (EventSched1_Server) ProgName

func (EventSched1_Server) ProgName() string

func (EventSched1_Server) Vers

func (EventSched1_Server) Vers() uint32

func (EventSched1_Server) VersName

func (EventSched1_Server) VersName() string

type EventTopicFilter

type EventTopicFilter struct {
	Topic0 []Topic
	Topic1 []Topic
	Topic2 []Topic
}

/ Positional topic filter. For each topic position (0, 1, 2): / - An empty list means "match anything at this position." / - A non-empty list means "match if the event's topic at this / position is in this list." OR within a position, AND across / positions. / / Partial match: a filter that specifies only topic0 matches events / with more topics. Extra topics on the event past the filter's / specified positions are ignored. (This is the ethereum getLogs / / stellar-rpc post-#358 semantics.)

func XDR_EventTopicFilter

func XDR_EventTopicFilter(v *EventTopicFilter) *EventTopicFilter

func (*EventTopicFilter) XdrMarshal

func (v *EventTopicFilter) XdrMarshal(x XDR, name string)

func (*EventTopicFilter) XdrPointer

func (v *EventTopicFilter) XdrPointer() interface{}

func (*EventTopicFilter) XdrRecurse

func (v *EventTopicFilter) XdrRecurse(x XDR, name string)

func (EventTopicFilter) XdrTypeName

func (EventTopicFilter) XdrTypeName() string

func (EventTopicFilter) XdrValue

func (v EventTopicFilter) XdrValue() interface{}

type EventsHash

type EventsHash = SHA256Hash

#[rust(newtype)]

type ExecCard

type ExecCard struct {
	Protocol ProtocolCommit
	Upid     UPID
	Address  ServerAddress
}

Uniquely describes an executor instance.

func XDR_ExecCard

func XDR_ExecCard(v *ExecCard) *ExecCard

func (*ExecCard) XdrMarshal

func (v *ExecCard) XdrMarshal(x XDR, name string)

func (*ExecCard) XdrPointer

func (v *ExecCard) XdrPointer() interface{}

func (*ExecCard) XdrRecurse

func (v *ExecCard) XdrRecurse(x XDR, name string)

func (ExecCard) XdrTypeName

func (ExecCard) XdrTypeName() string

func (ExecCard) XdrValue

func (v ExecCard) XdrValue() interface{}

type ExecProposeBatchResult

type ExecProposeBatchResult = []ExecProposeResult

type ExecProposeResult

type ExecProposeResult struct {
	// The union discriminant Result selects among the following arms:
	//   ExecResultOK, ExecResultTxDeterministicError, ExecResultTxRootFrameReverted:
	//      Proposal_data() *NondeterministicProposalData
	//   default:
	//      void
	Result ExecResult
	// contains filtered or unexported fields
}

func XDR_ExecProposeResult

func XDR_ExecProposeResult(v *ExecProposeResult) *ExecProposeResult

func (*ExecProposeResult) Proposal_data

func (u *ExecProposeResult) Proposal_data() *NondeterministicProposalData

func (*ExecProposeResult) XdrMarshal

func (v *ExecProposeResult) XdrMarshal(x XDR, name string)

func (*ExecProposeResult) XdrPointer

func (v *ExecProposeResult) XdrPointer() interface{}

func (*ExecProposeResult) XdrRecurse

func (u *ExecProposeResult) XdrRecurse(x XDR, name string)

func (ExecProposeResult) XdrTypeName

func (ExecProposeResult) XdrTypeName() string

func (*ExecProposeResult) XdrUnionBody

func (u *ExecProposeResult) XdrUnionBody() XdrType

func (*ExecProposeResult) XdrUnionBodyName

func (u *ExecProposeResult) XdrUnionBodyName() string

func (*ExecProposeResult) XdrUnionTag

func (u *ExecProposeResult) XdrUnionTag() XdrNum32

func (*ExecProposeResult) XdrUnionTagName

func (u *ExecProposeResult) XdrUnionTagName() string

func (ExecProposeResult) XdrValid

func (u ExecProposeResult) XdrValid() bool

func (ExecProposeResult) XdrValidTags

func (_ ExecProposeResult) XdrValidTags() map[int32]bool

func (ExecProposeResult) XdrValue

func (v ExecProposeResult) XdrValue() interface{}

type ExecResult

type ExecResult int32
const (
	ExecResultOK ExecResult = 0
	// Transaction execution (during proposal or validation) failed.
	// Specifically, the root frame failed with Deterministic or OutOfGas.
	// the error is deterministic and can be replayed in validation.
	// Transactions with this error code can be included in the block.
	ExecResultTxDeterministicError ExecResult = 1
	// The root frame of the transaction chose to revert.
	// This error is deterministic and can be included in a block.
	// However, any changes within contract state are reverted.
	ExecResultTxRootFrameReverted ExecResult = 2
	// Transaction execution (during proposal or validation) failed,
	// due to nondeterminism during the post-execution 2-phase commit.
	// Transactions with this error code should not be included in a proposal,
	// and indicate a block validation failure.
	ExecResultTxNonDeterministicError ExecResult = 3
	// No longer used. Previously indicated that gas sponsorship claims were
	// not validated. Retained to avoid renumbering enum values.
	ExecResultFailedGasSponsorship ExecResult = 100
	// Validation on the transaction has failed because the attached validation
	// data is bad. E.g. missing data or unused data. This error code is only
	// returned during validation. This is determininistic, but signals a bad
	// block from a malicious proposer.
	ExecResultTxValidationFailure ExecResult = 200
	// The transaction is malformed: a structural check rejected it before
	// execution, on its contents alone and independent of ledger state.
	// This error code is only returned during proposal, where the scheduler
	// drops the transaction instead of including it in the block. The same
	// defect during validation is ExecResultTxValidationFailure, since a
	// malformed transaction inside a proposed block is the proposer's fault.
	ExecResultMalformedTransaction ExecResult = 201
	// System error; network connection broke, etc.
	// Executor can recover from this error to continue execution of other
	// transactions.
	ExecResultSystemError ExecResult = 300
	// Critical failure in the executor, which cannot be recovered from.
	// E.g. OOM or critical logic error.
	ExecResultUnrecoverable ExecResult = 400
)

func XDR_ExecResult

func XDR_ExecResult(v *ExecResult) *ExecResult

func (ExecResult) GetU32

func (v ExecResult) GetU32() uint32

func (*ExecResult) Scan

func (v *ExecResult) Scan(ss fmt.ScanState, _ rune) error

func (*ExecResult) SetU32

func (v *ExecResult) SetU32(n uint32)

func (ExecResult) String

func (v ExecResult) String() string

func (ExecResult) XdrEnumNames

func (ExecResult) XdrEnumNames() map[int32]string

func (*ExecResult) XdrMarshal

func (v *ExecResult) XdrMarshal(x XDR, name string)

func (*ExecResult) XdrPointer

func (v *ExecResult) XdrPointer() interface{}

func (ExecResult) XdrTypeName

func (ExecResult) XdrTypeName() string

func (ExecResult) XdrValue

func (v ExecResult) XdrValue() interface{}

type ExecValidateBatchResult

type ExecValidateBatchResult = []ExecResult

type ExecutorSched1

type ExecutorSched1 interface {
	Executorsched_null(context.Context) error
	Executorsched_ready(context.Context) (ExecResult, error)
	Executorsched_propose_transaction(context.Context, BlockID, SignedTransaction) (ExecProposeResult, error)
	Executorsched_validate_transaction(context.Context, BlockID, ProposedTransaction) (ExecResult, error)
	Executorsched_propose_batch(context.Context, BlockID, SignedTransactionBatch) (ExecProposeBatchResult, error)
	Executorsched_validate_batch(context.Context, BlockID, ProposedTransactionBatch) (ExecValidateBatchResult, error)
	Executorsched_open_proposal_block(context.Context, BlockID, BlockExecutionContext) (ExecResult, error)
	Executorsched_open_validation_block(context.Context, BlockID, BlockExecutionContext) (ExecResult, error)
	Executorsched_finish_block(context.Context, BlockID) (ExecResult, error)
	Executorsched_shutdown(context.Context) error
}

type ExecutorSched1_Client

type ExecutorSched1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (ExecutorSched1_Client) Executorsched_finish_block

func (c ExecutorSched1_Client) Executorsched_finish_block(ctx context.Context, a1 BlockID) (r ExecResult, _ error)

func (ExecutorSched1_Client) Executorsched_null

func (c ExecutorSched1_Client) Executorsched_null(ctx context.Context) error

func (ExecutorSched1_Client) Executorsched_open_proposal_block

func (c ExecutorSched1_Client) Executorsched_open_proposal_block(ctx context.Context, a1 BlockID, a2 BlockExecutionContext) (r ExecResult, _ error)

func (ExecutorSched1_Client) Executorsched_open_validation_block

func (c ExecutorSched1_Client) Executorsched_open_validation_block(ctx context.Context, a1 BlockID, a2 BlockExecutionContext) (r ExecResult, _ error)

func (ExecutorSched1_Client) Executorsched_propose_batch

func (c ExecutorSched1_Client) Executorsched_propose_batch(ctx context.Context, a1 BlockID, a2 SignedTransactionBatch) (r ExecProposeBatchResult, _ error)

func (ExecutorSched1_Client) Executorsched_propose_transaction

func (c ExecutorSched1_Client) Executorsched_propose_transaction(ctx context.Context, a1 BlockID, a2 SignedTransaction) (r ExecProposeResult, _ error)

func (ExecutorSched1_Client) Executorsched_ready

func (c ExecutorSched1_Client) Executorsched_ready(ctx context.Context) (r ExecResult, _ error)

func (ExecutorSched1_Client) Executorsched_shutdown

func (c ExecutorSched1_Client) Executorsched_shutdown(ctx context.Context) error

func (ExecutorSched1_Client) Executorsched_validate_batch

func (c ExecutorSched1_Client) Executorsched_validate_batch(ctx context.Context, a1 BlockID, a2 ProposedTransactionBatch) (r ExecValidateBatchResult, _ error)

func (ExecutorSched1_Client) Executorsched_validate_transaction

func (c ExecutorSched1_Client) Executorsched_validate_transaction(ctx context.Context, a1 BlockID, a2 ProposedTransaction) (r ExecResult, _ error)

func (ExecutorSched1_Client) WithContext

type ExecutorSched1_Server

type ExecutorSched1_Server struct {
	Srv ExecutorSched1
}

func (ExecutorSched1_Server) GetProc

func (s ExecutorSched1_Server) GetProc(p uint32) XdrSrvProc

func (ExecutorSched1_Server) Prog

func (ExecutorSched1_Server) ProgName

func (ExecutorSched1_Server) ProgName() string

func (ExecutorSched1_Server) Vers

func (ExecutorSched1_Server) VersName

func (ExecutorSched1_Server) VersName() string

type ExpectedContract

type ExpectedContract struct {
	// The union discriminant Error selects among the following arms:
	//   KRPCNone:
	//      Contract() *Contract
	//   default:
	//      void
	Error RPCError
	// contains filtered or unexported fields
}

Is this the XDR pattern we want?

func XDR_ExpectedContract

func XDR_ExpectedContract(v *ExpectedContract) *ExpectedContract

func (*ExpectedContract) Contract

func (u *ExpectedContract) Contract() *Contract

func (*ExpectedContract) XdrMarshal

func (v *ExpectedContract) XdrMarshal(x XDR, name string)

func (*ExpectedContract) XdrPointer

func (v *ExpectedContract) XdrPointer() interface{}

func (*ExpectedContract) XdrRecurse

func (u *ExpectedContract) XdrRecurse(x XDR, name string)

func (ExpectedContract) XdrTypeName

func (ExpectedContract) XdrTypeName() string

func (*ExpectedContract) XdrUnionBody

func (u *ExpectedContract) XdrUnionBody() XdrType

func (*ExpectedContract) XdrUnionBodyName

func (u *ExpectedContract) XdrUnionBodyName() string

func (*ExpectedContract) XdrUnionTag

func (u *ExpectedContract) XdrUnionTag() XdrNum32

func (*ExpectedContract) XdrUnionTagName

func (u *ExpectedContract) XdrUnionTagName() string

func (ExpectedContract) XdrValid

func (u ExpectedContract) XdrValid() bool

func (ExpectedContract) XdrValidTags

func (_ ExpectedContract) XdrValidTags() map[int32]bool

func (ExpectedContract) XdrValue

func (v ExpectedContract) XdrValue() interface{}

type ExpectedDBTip

type ExpectedDBTip struct {
	// The union discriminant Error selects among the following arms:
	//   KRPCNone:
	//      Db_tip() *DbTip
	//   default:
	//      void
	Error RPCError
	// contains filtered or unexported fields
}

func XDR_ExpectedDBTip

func XDR_ExpectedDBTip(v *ExpectedDBTip) *ExpectedDBTip

func (*ExpectedDBTip) Db_tip

func (u *ExpectedDBTip) Db_tip() *DbTip

func (*ExpectedDBTip) XdrMarshal

func (v *ExpectedDBTip) XdrMarshal(x XDR, name string)

func (*ExpectedDBTip) XdrPointer

func (v *ExpectedDBTip) XdrPointer() interface{}

func (*ExpectedDBTip) XdrRecurse

func (u *ExpectedDBTip) XdrRecurse(x XDR, name string)

func (ExpectedDBTip) XdrTypeName

func (ExpectedDBTip) XdrTypeName() string

func (*ExpectedDBTip) XdrUnionBody

func (u *ExpectedDBTip) XdrUnionBody() XdrType

func (*ExpectedDBTip) XdrUnionBodyName

func (u *ExpectedDBTip) XdrUnionBodyName() string

func (*ExpectedDBTip) XdrUnionTag

func (u *ExpectedDBTip) XdrUnionTag() XdrNum32

func (*ExpectedDBTip) XdrUnionTagName

func (u *ExpectedDBTip) XdrUnionTagName() string

func (ExpectedDBTip) XdrValid

func (u ExpectedDBTip) XdrValid() bool

func (ExpectedDBTip) XdrValidTags

func (_ ExpectedDBTip) XdrValidTags() map[int32]bool

func (ExpectedDBTip) XdrValue

func (v ExpectedDBTip) XdrValue() interface{}

type ExpectedDeployment

type ExpectedDeployment struct {
	// The union discriminant Error selects among the following arms:
	//   KRPCNone:
	//      Deployed_hash() *DeployedContractHash
	//   default:
	//      void
	Error RPCError
	// contains filtered or unexported fields
}

func XDR_ExpectedDeployment

func XDR_ExpectedDeployment(v *ExpectedDeployment) *ExpectedDeployment

func (*ExpectedDeployment) Deployed_hash

func (u *ExpectedDeployment) Deployed_hash() *DeployedContractHash

func (*ExpectedDeployment) XdrMarshal

func (v *ExpectedDeployment) XdrMarshal(x XDR, name string)

func (*ExpectedDeployment) XdrPointer

func (v *ExpectedDeployment) XdrPointer() interface{}

func (*ExpectedDeployment) XdrRecurse

func (u *ExpectedDeployment) XdrRecurse(x XDR, name string)

func (ExpectedDeployment) XdrTypeName

func (ExpectedDeployment) XdrTypeName() string

func (*ExpectedDeployment) XdrUnionBody

func (u *ExpectedDeployment) XdrUnionBody() XdrType

func (*ExpectedDeployment) XdrUnionBodyName

func (u *ExpectedDeployment) XdrUnionBodyName() string

func (*ExpectedDeployment) XdrUnionTag

func (u *ExpectedDeployment) XdrUnionTag() XdrNum32

func (*ExpectedDeployment) XdrUnionTagName

func (u *ExpectedDeployment) XdrUnionTagName() string

func (ExpectedDeployment) XdrValid

func (u ExpectedDeployment) XdrValid() bool

func (ExpectedDeployment) XdrValidTags

func (_ ExpectedDeployment) XdrValidTags() map[int32]bool

func (ExpectedDeployment) XdrValue

func (v ExpectedDeployment) XdrValue() interface{}

type ExpectedProposalData

type ExpectedProposalData struct {
	// The union discriminant Error selects among the following arms:
	//   KRPCNone:
	//      Proposal_data() *NondeterministicProposalData
	//   default:
	//      void
	Error RPCError
	// contains filtered or unexported fields
}

func XDR_ExpectedProposalData

func XDR_ExpectedProposalData(v *ExpectedProposalData) *ExpectedProposalData

func (*ExpectedProposalData) Proposal_data

func (*ExpectedProposalData) XdrMarshal

func (v *ExpectedProposalData) XdrMarshal(x XDR, name string)

func (*ExpectedProposalData) XdrPointer

func (v *ExpectedProposalData) XdrPointer() interface{}

func (*ExpectedProposalData) XdrRecurse

func (u *ExpectedProposalData) XdrRecurse(x XDR, name string)

func (ExpectedProposalData) XdrTypeName

func (ExpectedProposalData) XdrTypeName() string

func (*ExpectedProposalData) XdrUnionBody

func (u *ExpectedProposalData) XdrUnionBody() XdrType

func (*ExpectedProposalData) XdrUnionBodyName

func (u *ExpectedProposalData) XdrUnionBodyName() string

func (*ExpectedProposalData) XdrUnionTag

func (u *ExpectedProposalData) XdrUnionTag() XdrNum32

func (*ExpectedProposalData) XdrUnionTagName

func (u *ExpectedProposalData) XdrUnionTagName() string

func (ExpectedProposalData) XdrValid

func (u ExpectedProposalData) XdrValid() bool

func (ExpectedProposalData) XdrValidTags

func (_ ExpectedProposalData) XdrValidTags() map[int32]bool

func (ExpectedProposalData) XdrValue

func (v ExpectedProposalData) XdrValue() interface{}

type ExpectedQueueEntry

type ExpectedQueueEntry struct {
	// The union discriminant Error selects among the following arms:
	//   KRPCNone:
	//      Queue_entry() *QueueEntry
	//   default:
	//      void
	Error RPCError
	// contains filtered or unexported fields
}

func XDR_ExpectedQueueEntry

func XDR_ExpectedQueueEntry(v *ExpectedQueueEntry) *ExpectedQueueEntry

func (*ExpectedQueueEntry) Queue_entry

func (u *ExpectedQueueEntry) Queue_entry() *QueueEntry

func (*ExpectedQueueEntry) XdrMarshal

func (v *ExpectedQueueEntry) XdrMarshal(x XDR, name string)

func (*ExpectedQueueEntry) XdrPointer

func (v *ExpectedQueueEntry) XdrPointer() interface{}

func (*ExpectedQueueEntry) XdrRecurse

func (u *ExpectedQueueEntry) XdrRecurse(x XDR, name string)

func (ExpectedQueueEntry) XdrTypeName

func (ExpectedQueueEntry) XdrTypeName() string

func (*ExpectedQueueEntry) XdrUnionBody

func (u *ExpectedQueueEntry) XdrUnionBody() XdrType

func (*ExpectedQueueEntry) XdrUnionBodyName

func (u *ExpectedQueueEntry) XdrUnionBodyName() string

func (*ExpectedQueueEntry) XdrUnionTag

func (u *ExpectedQueueEntry) XdrUnionTag() XdrNum32

func (*ExpectedQueueEntry) XdrUnionTagName

func (u *ExpectedQueueEntry) XdrUnionTagName() string

func (ExpectedQueueEntry) XdrValid

func (u ExpectedQueueEntry) XdrValid() bool

func (ExpectedQueueEntry) XdrValidTags

func (_ ExpectedQueueEntry) XdrValidTags() map[int32]bool

func (ExpectedQueueEntry) XdrValue

func (v ExpectedQueueEntry) XdrValue() interface{}

type ExpectedRetrocausalQueueBlock

type ExpectedRetrocausalQueueBlock struct {
	// The union discriminant Error selects among the following arms:
	//   KRPCNone:
	//      Queue_block() *RetrocausalQueueBlock
	//   default:
	//      void
	Error RPCError
	// contains filtered or unexported fields
}

func (*ExpectedRetrocausalQueueBlock) Queue_block

func (*ExpectedRetrocausalQueueBlock) XdrMarshal

func (v *ExpectedRetrocausalQueueBlock) XdrMarshal(x XDR, name string)

func (*ExpectedRetrocausalQueueBlock) XdrPointer

func (v *ExpectedRetrocausalQueueBlock) XdrPointer() interface{}

func (*ExpectedRetrocausalQueueBlock) XdrRecurse

func (u *ExpectedRetrocausalQueueBlock) XdrRecurse(x XDR, name string)

func (ExpectedRetrocausalQueueBlock) XdrTypeName

func (ExpectedRetrocausalQueueBlock) XdrTypeName() string

func (*ExpectedRetrocausalQueueBlock) XdrUnionBody

func (u *ExpectedRetrocausalQueueBlock) XdrUnionBody() XdrType

func (*ExpectedRetrocausalQueueBlock) XdrUnionBodyName

func (u *ExpectedRetrocausalQueueBlock) XdrUnionBodyName() string

func (*ExpectedRetrocausalQueueBlock) XdrUnionTag

func (u *ExpectedRetrocausalQueueBlock) XdrUnionTag() XdrNum32

func (*ExpectedRetrocausalQueueBlock) XdrUnionTagName

func (u *ExpectedRetrocausalQueueBlock) XdrUnionTagName() string

func (ExpectedRetrocausalQueueBlock) XdrValid

func (u ExpectedRetrocausalQueueBlock) XdrValid() bool

func (ExpectedRetrocausalQueueBlock) XdrValidTags

func (_ ExpectedRetrocausalQueueBlock) XdrValidTags() map[int32]bool

func (ExpectedRetrocausalQueueBlock) XdrValue

func (v ExpectedRetrocausalQueueBlock) XdrValue() interface{}

type ExpectedStorageCost

type ExpectedStorageCost struct {
	// The union discriminant Error selects among the following arms:
	//   KRPCNone:
	//      Storage_cost() *StorageCost
	//   default:
	//      void
	Error RPCError
	// contains filtered or unexported fields
}

func XDR_ExpectedStorageCost

func XDR_ExpectedStorageCost(v *ExpectedStorageCost) *ExpectedStorageCost

func (*ExpectedStorageCost) Storage_cost

func (u *ExpectedStorageCost) Storage_cost() *StorageCost

func (*ExpectedStorageCost) XdrMarshal

func (v *ExpectedStorageCost) XdrMarshal(x XDR, name string)

func (*ExpectedStorageCost) XdrPointer

func (v *ExpectedStorageCost) XdrPointer() interface{}

func (*ExpectedStorageCost) XdrRecurse

func (u *ExpectedStorageCost) XdrRecurse(x XDR, name string)

func (ExpectedStorageCost) XdrTypeName

func (ExpectedStorageCost) XdrTypeName() string

func (*ExpectedStorageCost) XdrUnionBody

func (u *ExpectedStorageCost) XdrUnionBody() XdrType

func (*ExpectedStorageCost) XdrUnionBodyName

func (u *ExpectedStorageCost) XdrUnionBodyName() string

func (*ExpectedStorageCost) XdrUnionTag

func (u *ExpectedStorageCost) XdrUnionTag() XdrNum32

func (*ExpectedStorageCost) XdrUnionTagName

func (u *ExpectedStorageCost) XdrUnionTagName() string

func (ExpectedStorageCost) XdrValid

func (u ExpectedStorageCost) XdrValid() bool

func (ExpectedStorageCost) XdrValidTags

func (_ ExpectedStorageCost) XdrValidTags() map[int32]bool

func (ExpectedStorageCost) XdrValue

func (v ExpectedStorageCost) XdrValue() interface{}

type ExpectedViewingSnapshot

type ExpectedViewingSnapshot struct {
	// The union discriminant Error selects among the following arms:
	//   KRPCNone:
	//      Snapshot() *ViewingSnapshot
	//   default:
	//      void
	Error RPCError
	// contains filtered or unexported fields
}

func (*ExpectedViewingSnapshot) Snapshot

func (*ExpectedViewingSnapshot) XdrMarshal

func (v *ExpectedViewingSnapshot) XdrMarshal(x XDR, name string)

func (*ExpectedViewingSnapshot) XdrPointer

func (v *ExpectedViewingSnapshot) XdrPointer() interface{}

func (*ExpectedViewingSnapshot) XdrRecurse

func (u *ExpectedViewingSnapshot) XdrRecurse(x XDR, name string)

func (ExpectedViewingSnapshot) XdrTypeName

func (ExpectedViewingSnapshot) XdrTypeName() string

func (*ExpectedViewingSnapshot) XdrUnionBody

func (u *ExpectedViewingSnapshot) XdrUnionBody() XdrType

func (*ExpectedViewingSnapshot) XdrUnionBodyName

func (u *ExpectedViewingSnapshot) XdrUnionBodyName() string

func (*ExpectedViewingSnapshot) XdrUnionTag

func (u *ExpectedViewingSnapshot) XdrUnionTag() XdrNum32

func (*ExpectedViewingSnapshot) XdrUnionTagName

func (u *ExpectedViewingSnapshot) XdrUnionTagName() string

func (ExpectedViewingSnapshot) XdrValid

func (u ExpectedViewingSnapshot) XdrValid() bool

func (ExpectedViewingSnapshot) XdrValidTags

func (_ ExpectedViewingSnapshot) XdrValidTags() map[int32]bool

func (ExpectedViewingSnapshot) XdrValue

func (v ExpectedViewingSnapshot) XdrValue() interface{}

type ExperimentConfig

type ExperimentConfig struct {
	// The union discriminant Experiment_type selects among the following arms:
	//   KExperimentTypeERC20Payments, KExperimentTypeERC20BasicAuthPayments:
	//      Erc20_payments() *ERC20PaymentsConfig
	Experiment_type ExperimentType
	// contains filtered or unexported fields
}

func XDR_ExperimentConfig

func XDR_ExperimentConfig(v *ExperimentConfig) *ExperimentConfig

func (*ExperimentConfig) Erc20_payments

func (u *ExperimentConfig) Erc20_payments() *ERC20PaymentsConfig

func (*ExperimentConfig) XdrMarshal

func (v *ExperimentConfig) XdrMarshal(x XDR, name string)

func (*ExperimentConfig) XdrPointer

func (v *ExperimentConfig) XdrPointer() interface{}

func (*ExperimentConfig) XdrRecurse

func (u *ExperimentConfig) XdrRecurse(x XDR, name string)

func (ExperimentConfig) XdrTypeName

func (ExperimentConfig) XdrTypeName() string

func (*ExperimentConfig) XdrUnionBody

func (u *ExperimentConfig) XdrUnionBody() XdrType

func (*ExperimentConfig) XdrUnionBodyName

func (u *ExperimentConfig) XdrUnionBodyName() string

func (*ExperimentConfig) XdrUnionTag

func (u *ExperimentConfig) XdrUnionTag() XdrNum32

func (*ExperimentConfig) XdrUnionTagName

func (u *ExperimentConfig) XdrUnionTagName() string

func (ExperimentConfig) XdrValid

func (u ExperimentConfig) XdrValid() bool

func (ExperimentConfig) XdrValidTags

func (_ ExperimentConfig) XdrValidTags() map[int32]bool

func (ExperimentConfig) XdrValue

func (v ExperimentConfig) XdrValue() interface{}

type ExperimentType

type ExperimentType int32
const (
	KExperimentTypeERC20Payments          ExperimentType = 0
	KExperimentTypeERC20BasicAuthPayments ExperimentType = 1
)

func XDR_ExperimentType

func XDR_ExperimentType(v *ExperimentType) *ExperimentType

func (ExperimentType) GetU32

func (v ExperimentType) GetU32() uint32

func (*ExperimentType) Scan

func (v *ExperimentType) Scan(ss fmt.ScanState, _ rune) error

func (*ExperimentType) SetU32

func (v *ExperimentType) SetU32(n uint32)

func (ExperimentType) String

func (v ExperimentType) String() string

func (ExperimentType) XdrEnumNames

func (ExperimentType) XdrEnumNames() map[int32]string

func (*ExperimentType) XdrMarshal

func (v *ExperimentType) XdrMarshal(x XDR, name string)

func (*ExperimentType) XdrPointer

func (v *ExperimentType) XdrPointer() interface{}

func (ExperimentType) XdrTypeName

func (ExperimentType) XdrTypeName() string

func (ExperimentType) XdrValue

func (v ExperimentType) XdrValue() interface{}

type ExtensionPoint

type ExtensionPoint struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      void
	V int32
	// contains filtered or unexported fields
}

/ An ExtensionPoint is a struct that can be embedded as the first / element of other XDR structs in order to allow future upgradeability / without breaking serialization of pre-existing objects. / This serializes as a 32-bit integer. In its current state, / the only valid byte value is 0, but a struct that embeds this can / later replace itself with a union (with the prior struct as variant 0) / without breaking backwards compatibility. #[rust(ConstWriteXDR)]

func XDR_ExtensionPoint

func XDR_ExtensionPoint(v *ExtensionPoint) *ExtensionPoint

func (*ExtensionPoint) XdrMarshal

func (v *ExtensionPoint) XdrMarshal(x XDR, name string)

func (*ExtensionPoint) XdrPointer

func (v *ExtensionPoint) XdrPointer() interface{}

func (*ExtensionPoint) XdrRecurse

func (u *ExtensionPoint) XdrRecurse(x XDR, name string)

func (ExtensionPoint) XdrTypeName

func (ExtensionPoint) XdrTypeName() string

func (*ExtensionPoint) XdrUnionBody

func (u *ExtensionPoint) XdrUnionBody() XdrType

func (*ExtensionPoint) XdrUnionBodyName

func (u *ExtensionPoint) XdrUnionBodyName() string

func (*ExtensionPoint) XdrUnionTag

func (u *ExtensionPoint) XdrUnionTag() XdrNum32

func (*ExtensionPoint) XdrUnionTagName

func (u *ExtensionPoint) XdrUnionTagName() string

func (ExtensionPoint) XdrValid

func (u ExtensionPoint) XdrValid() bool

func (ExtensionPoint) XdrValidTags

func (_ ExtensionPoint) XdrValidTags() map[int32]bool

func (ExtensionPoint) XdrValue

func (v ExtensionPoint) XdrValue() interface{}

type FlaggedStorageDelta

type FlaggedStorageDelta struct {
	// TODO: The addrkey field is likely repetitive when sending
	// many deltas to the database.
	// possibly we can readjust this data structure, if raw bandwidth becomes
	// important.
	Addrkey AddressAndKey
	Delta   StorageDelta
	Flags   StorageDeltaFlagSet
}

/ The combined unit of storage modification sent to the database from the executor. / A delta with a set of flags, applied to a specific entry in the database.

func XDR_FlaggedStorageDelta

func XDR_FlaggedStorageDelta(v *FlaggedStorageDelta) *FlaggedStorageDelta

func (*FlaggedStorageDelta) XdrMarshal

func (v *FlaggedStorageDelta) XdrMarshal(x XDR, name string)

func (*FlaggedStorageDelta) XdrPointer

func (v *FlaggedStorageDelta) XdrPointer() interface{}

func (*FlaggedStorageDelta) XdrRecurse

func (v *FlaggedStorageDelta) XdrRecurse(x XDR, name string)

func (FlaggedStorageDelta) XdrTypeName

func (FlaggedStorageDelta) XdrTypeName() string

func (FlaggedStorageDelta) XdrValue

func (v FlaggedStorageDelta) XdrValue() interface{}

type GasAmount

type GasAmount = uint64

TODO: consider using a smaller type for GasAmount / Represents a quantity of gas. Alias of u64.

type GenesisCeremonyCommit

type GenesisCeremonyCommit struct {
	Db_tip       DbTip
	Proposal_txs ProposalTxs
}

func XDR_GenesisCeremonyCommit

func XDR_GenesisCeremonyCommit(v *GenesisCeremonyCommit) *GenesisCeremonyCommit

func (*GenesisCeremonyCommit) XdrMarshal

func (v *GenesisCeremonyCommit) XdrMarshal(x XDR, name string)

func (*GenesisCeremonyCommit) XdrPointer

func (v *GenesisCeremonyCommit) XdrPointer() interface{}

func (*GenesisCeremonyCommit) XdrRecurse

func (v *GenesisCeremonyCommit) XdrRecurse(x XDR, name string)

func (GenesisCeremonyCommit) XdrTypeName

func (GenesisCeremonyCommit) XdrTypeName() string

func (GenesisCeremonyCommit) XdrValue

func (v GenesisCeremonyCommit) XdrValue() interface{}

type GenesisCeremonyOutcome

type GenesisCeremonyOutcome int32
const (
	GenesisCeremonyCommitted          GenesisCeremonyOutcome = 0
	GenesisCeremonyParentMismatch     GenesisCeremonyOutcome = 2
	GenesisCeremonyBatchMismatch      GenesisCeremonyOutcome = 3
	GenesisCeremonyInvalidTransaction GenesisCeremonyOutcome = 4
	GenesisCeremonyExecutionFailed    GenesisCeremonyOutcome = 5
)

func (GenesisCeremonyOutcome) GetU32

func (v GenesisCeremonyOutcome) GetU32() uint32

func (*GenesisCeremonyOutcome) Scan

func (*GenesisCeremonyOutcome) SetU32

func (v *GenesisCeremonyOutcome) SetU32(n uint32)

func (GenesisCeremonyOutcome) String

func (v GenesisCeremonyOutcome) String() string

func (GenesisCeremonyOutcome) XdrEnumNames

func (GenesisCeremonyOutcome) XdrEnumNames() map[int32]string

func (*GenesisCeremonyOutcome) XdrMarshal

func (v *GenesisCeremonyOutcome) XdrMarshal(x XDR, name string)

func (*GenesisCeremonyOutcome) XdrPointer

func (v *GenesisCeremonyOutcome) XdrPointer() interface{}

func (GenesisCeremonyOutcome) XdrTypeName

func (GenesisCeremonyOutcome) XdrTypeName() string

func (GenesisCeremonyOutcome) XdrValue

func (v GenesisCeremonyOutcome) XdrValue() interface{}

type GenesisCeremonyRequest

type GenesisCeremonyRequest struct {
	Expected_parent_height     BlockHeight
	Expected_parent_value_hash ConsensusValueHash
	Context                    ProposalContext
	Transactions               ParallelSignedTransactionBatch
}

func (*GenesisCeremonyRequest) XdrMarshal

func (v *GenesisCeremonyRequest) XdrMarshal(x XDR, name string)

func (*GenesisCeremonyRequest) XdrPointer

func (v *GenesisCeremonyRequest) XdrPointer() interface{}

func (*GenesisCeremonyRequest) XdrRecurse

func (v *GenesisCeremonyRequest) XdrRecurse(x XDR, name string)

func (GenesisCeremonyRequest) XdrTypeName

func (GenesisCeremonyRequest) XdrTypeName() string

func (GenesisCeremonyRequest) XdrValue

func (v GenesisCeremonyRequest) XdrValue() interface{}

type GenesisCeremonyResult

type GenesisCeremonyResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   GenesisCeremonyCommitted:
	//      Commit() *GenesisCeremonyCommit
	//   default:
	//      void
	Outcome GenesisCeremonyOutcome
	// contains filtered or unexported fields
}

func XDR_GenesisCeremonyResult

func XDR_GenesisCeremonyResult(v *GenesisCeremonyResult) *GenesisCeremonyResult

func (*GenesisCeremonyResult) Commit

func (*GenesisCeremonyResult) XdrMarshal

func (v *GenesisCeremonyResult) XdrMarshal(x XDR, name string)

func (*GenesisCeremonyResult) XdrPointer

func (v *GenesisCeremonyResult) XdrPointer() interface{}

func (*GenesisCeremonyResult) XdrRecurse

func (u *GenesisCeremonyResult) XdrRecurse(x XDR, name string)

func (GenesisCeremonyResult) XdrTypeName

func (GenesisCeremonyResult) XdrTypeName() string

func (*GenesisCeremonyResult) XdrUnionBody

func (u *GenesisCeremonyResult) XdrUnionBody() XdrType

func (*GenesisCeremonyResult) XdrUnionBodyName

func (u *GenesisCeremonyResult) XdrUnionBodyName() string

func (*GenesisCeremonyResult) XdrUnionTag

func (u *GenesisCeremonyResult) XdrUnionTag() XdrNum32

func (*GenesisCeremonyResult) XdrUnionTagName

func (u *GenesisCeremonyResult) XdrUnionTagName() string

func (GenesisCeremonyResult) XdrValid

func (u GenesisCeremonyResult) XdrValid() bool

func (GenesisCeremonyResult) XdrValidTags

func (_ GenesisCeremonyResult) XdrValidTags() map[int32]bool

func (GenesisCeremonyResult) XdrValue

func (v GenesisCeremonyResult) XdrValue() interface{}

type GenesisConfiguration

type GenesisConfiguration struct {
	Network_hash       NetworkHash
	Storage_cost_model StorageCostModelXdr
	/// The execution parameters block 0 runs under, in canonical form. Carried
	/// into the DbTip at genesis load and forward by every later commit.
	Network_config NetworkConfig
	Root_contract  Contract
	/// The contract resolved for root invocations of undeployed addresses.
	/// Committed to by `ProposalHeader::config_hash` through
	/// `ConfigHashPreimage`, so a node cannot run under a different one than
	/// the chain agreed.
	Default_wallet DeployedContractHash
}

func XDR_GenesisConfiguration

func XDR_GenesisConfiguration(v *GenesisConfiguration) *GenesisConfiguration

func (*GenesisConfiguration) XdrMarshal

func (v *GenesisConfiguration) XdrMarshal(x XDR, name string)

func (*GenesisConfiguration) XdrPointer

func (v *GenesisConfiguration) XdrPointer() interface{}

func (*GenesisConfiguration) XdrRecurse

func (v *GenesisConfiguration) XdrRecurse(x XDR, name string)

func (GenesisConfiguration) XdrTypeName

func (GenesisConfiguration) XdrTypeName() string

func (GenesisConfiguration) XdrValue

func (v GenesisConfiguration) XdrValue() interface{}

type GenesisContractAddresses

type GenesisContractAddresses int32

These translated into the contract addresses that are initialized at the start of the chain.

The addresses (32 bytes) are all zeros, with the last 4 bytes equal to the enum value.

const (
	// Null address (reserved)
	KAddressNull GenesisContractAddresses = 0
	// Precompiled native-token contract
	KAddressNativeToken GenesisContractAddresses = 1
	// Genesis root contract
	KAddressGenesisRoot GenesisContractAddresses = 2
)

func (GenesisContractAddresses) GetU32

func (v GenesisContractAddresses) GetU32() uint32

func (*GenesisContractAddresses) Scan

func (*GenesisContractAddresses) SetU32

func (v *GenesisContractAddresses) SetU32(n uint32)

func (GenesisContractAddresses) String

func (v GenesisContractAddresses) String() string

func (GenesisContractAddresses) XdrEnumNames

func (GenesisContractAddresses) XdrEnumNames() map[int32]string

func (*GenesisContractAddresses) XdrMarshal

func (v *GenesisContractAddresses) XdrMarshal(x XDR, name string)

func (*GenesisContractAddresses) XdrPointer

func (v *GenesisContractAddresses) XdrPointer() interface{}

func (GenesisContractAddresses) XdrTypeName

func (GenesisContractAddresses) XdrTypeName() string

func (GenesisContractAddresses) XdrValue

func (v GenesisContractAddresses) XdrValue() interface{}

type GenesisPrior

type GenesisPrior struct {
	Config GenesisConfiguration
	Ctx    ProposalContext
	Txs    []SignedTransaction
}

/ The inputs to the genesis ceremony: the genesis configuration, the / proposal context of the genesis block, and the transactions the genesis / block executes. / / A coordinator reads it from the file named by `coordinator start / --genesis`, and runs the ceremony through its scheduler (see / SchedulerCoord1 in sched_coord.x) when the scheduler has no genesis / block yet. Every validator of a network must run the ceremony with the / same prior, since the genesis value it produces is the one the whole / network's consensus starts from.

func XDR_GenesisPrior

func XDR_GenesisPrior(v *GenesisPrior) *GenesisPrior

func (*GenesisPrior) XdrMarshal

func (v *GenesisPrior) XdrMarshal(x XDR, name string)

func (*GenesisPrior) XdrPointer

func (v *GenesisPrior) XdrPointer() interface{}

func (*GenesisPrior) XdrRecurse

func (v *GenesisPrior) XdrRecurse(x XDR, name string)

func (GenesisPrior) XdrTypeName

func (GenesisPrior) XdrTypeName() string

func (GenesisPrior) XdrValue

func (v GenesisPrior) XdrValue() interface{}

type HogexecPrecompiledNativeContracts

type HogexecPrecompiledNativeContracts int32

These define the native contract IDs within the Contract struct.

const (
	KNativeContractNativeToken HogexecPrecompiledNativeContracts = 0
	// Native contract ID 1 is retired and must remain unused.
	KNativeContractDefaultWallet HogexecPrecompiledNativeContracts = 2
)

func (HogexecPrecompiledNativeContracts) GetU32

func (*HogexecPrecompiledNativeContracts) Scan

func (*HogexecPrecompiledNativeContracts) SetU32

func (HogexecPrecompiledNativeContracts) String

func (HogexecPrecompiledNativeContracts) XdrEnumNames

func (HogexecPrecompiledNativeContracts) XdrEnumNames() map[int32]string

func (*HogexecPrecompiledNativeContracts) XdrMarshal

func (v *HogexecPrecompiledNativeContracts) XdrMarshal(x XDR, name string)

func (*HogexecPrecompiledNativeContracts) XdrPointer

func (v *HogexecPrecompiledNativeContracts) XdrPointer() interface{}

func (HogexecPrecompiledNativeContracts) XdrTypeName

func (HogexecPrecompiledNativeContracts) XdrValue

func (v HogexecPrecompiledNativeContracts) XdrValue() interface{}

type IdentifiedEvent

type IdentifiedEvent struct {
	// sha256(Transaction)
	Tx_hash      TransactionHash
	Block_height BlockHeight
	// uniquifies the event
	Sequence_number uint32
	Emitted_event   TxEmittedEvent
}

/ Complete identification of a unique event within the blockchain. / This structure is not constructed during the main transaction workflow; instead, / it may be produced by downstream systems (indexers, APIs) that cross-reference / events across transactions and blocks. / The combination of tx_hash and sequence_number uniquely identifies / any event. The sequence_number distinguishes multiple events emitted by / the same transaction.

func XDR_IdentifiedEvent

func XDR_IdentifiedEvent(v *IdentifiedEvent) *IdentifiedEvent

func (*IdentifiedEvent) XdrMarshal

func (v *IdentifiedEvent) XdrMarshal(x XDR, name string)

func (*IdentifiedEvent) XdrPointer

func (v *IdentifiedEvent) XdrPointer() interface{}

func (*IdentifiedEvent) XdrRecurse

func (v *IdentifiedEvent) XdrRecurse(x XDR, name string)

func (IdentifiedEvent) XdrTypeName

func (IdentifiedEvent) XdrTypeName() string

func (IdentifiedEvent) XdrValue

func (v IdentifiedEvent) XdrValue() interface{}

type IdentifiedEventBatch

type IdentifiedEventBatch = []IdentifiedEvent

type IndexerBlockApplyOutcome

type IndexerBlockApplyOutcome int32
const (
	IndexerBlockApplied         IndexerBlockApplyOutcome = 0
	IndexerBlockDuplicate       IndexerBlockApplyOutcome = 1
	IndexerBlockGap             IndexerBlockApplyOutcome = 2
	IndexerBlockOriginMismatch  IndexerBlockApplyOutcome = 3
	IndexerBlockContentConflict IndexerBlockApplyOutcome = 4
	IndexerBlockInternalFailure IndexerBlockApplyOutcome = 5
)

func (IndexerBlockApplyOutcome) GetU32

func (v IndexerBlockApplyOutcome) GetU32() uint32

func (*IndexerBlockApplyOutcome) Scan

func (*IndexerBlockApplyOutcome) SetU32

func (v *IndexerBlockApplyOutcome) SetU32(n uint32)

func (IndexerBlockApplyOutcome) String

func (v IndexerBlockApplyOutcome) String() string

func (IndexerBlockApplyOutcome) XdrEnumNames

func (IndexerBlockApplyOutcome) XdrEnumNames() map[int32]string

func (*IndexerBlockApplyOutcome) XdrMarshal

func (v *IndexerBlockApplyOutcome) XdrMarshal(x XDR, name string)

func (*IndexerBlockApplyOutcome) XdrPointer

func (v *IndexerBlockApplyOutcome) XdrPointer() interface{}

func (IndexerBlockApplyOutcome) XdrTypeName

func (IndexerBlockApplyOutcome) XdrTypeName() string

func (IndexerBlockApplyOutcome) XdrValue

func (v IndexerBlockApplyOutcome) XdrValue() interface{}

type IndexerBlockApplyResult

type IndexerBlockApplyResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   IndexerBlockApplied, IndexerBlockDuplicate:
	//      Progress() *IndexerInitializedProgress
	//   IndexerBlockGap:
	//      Gap() *IndexerHeightGap
	//   default:
	//      Diagnostic() *IndexerFailureMessage
	Outcome IndexerBlockApplyOutcome
	// contains filtered or unexported fields
}

func (*IndexerBlockApplyResult) Diagnostic

func (*IndexerBlockApplyResult) Gap

func (*IndexerBlockApplyResult) Progress

func (*IndexerBlockApplyResult) XdrMarshal

func (v *IndexerBlockApplyResult) XdrMarshal(x XDR, name string)

func (*IndexerBlockApplyResult) XdrPointer

func (v *IndexerBlockApplyResult) XdrPointer() interface{}

func (*IndexerBlockApplyResult) XdrRecurse

func (u *IndexerBlockApplyResult) XdrRecurse(x XDR, name string)

func (IndexerBlockApplyResult) XdrTypeName

func (IndexerBlockApplyResult) XdrTypeName() string

func (*IndexerBlockApplyResult) XdrUnionBody

func (u *IndexerBlockApplyResult) XdrUnionBody() XdrType

func (*IndexerBlockApplyResult) XdrUnionBodyName

func (u *IndexerBlockApplyResult) XdrUnionBodyName() string

func (*IndexerBlockApplyResult) XdrUnionTag

func (u *IndexerBlockApplyResult) XdrUnionTag() XdrNum32

func (*IndexerBlockApplyResult) XdrUnionTagName

func (u *IndexerBlockApplyResult) XdrUnionTagName() string

func (IndexerBlockApplyResult) XdrValid

func (u IndexerBlockApplyResult) XdrValid() bool

func (IndexerBlockApplyResult) XdrValidTags

func (_ IndexerBlockApplyResult) XdrValidTags() map[int32]bool

func (IndexerBlockApplyResult) XdrValue

func (v IndexerBlockApplyResult) XdrValue() interface{}

type IndexerBlockExplorer1_Client

type IndexerBlockExplorer1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (IndexerBlockExplorer1_Client) Get_block_by_height

func (c IndexerBlockExplorer1_Client) Get_block_by_height(ctx context.Context, a1 BlockHeight) (r BlockLookupResult, _ error)

func (IndexerBlockExplorer1_Client) Get_events

func (IndexerBlockExplorer1_Client) Get_transaction_info

func (c IndexerBlockExplorer1_Client) Get_transaction_info(ctx context.Context, a1 TransactionHash) (r TxInfoResult, _ error)

func (IndexerBlockExplorer1_Client) Get_transactions

func (IndexerBlockExplorer1_Client) Get_transactions_by_address

func (IndexerBlockExplorer1_Client) Get_transactions_by_block

func (IndexerBlockExplorer1_Client) Indexer_block_explorer_intro

func (IndexerBlockExplorer1_Client) WithContext

type IndexerBlockExplorer1_Server

type IndexerBlockExplorer1_Server struct {
	Srv IndexerBlockExplorer1
}

func (IndexerBlockExplorer1_Server) GetProc

func (s IndexerBlockExplorer1_Server) GetProc(p uint32) XdrSrvProc

func (IndexerBlockExplorer1_Server) Prog

func (IndexerBlockExplorer1_Server) ProgName

func (IndexerBlockExplorer1_Server) Vers

func (IndexerBlockExplorer1_Server) VersName

type IndexerBlockExplorerIntroOutcome

type IndexerBlockExplorerIntroOutcome int32
const (
	IntroSuccess            IndexerBlockExplorerIntroOutcome = 0
	IntroMismatchedProtocol IndexerBlockExplorerIntroOutcome = 1
)

func (IndexerBlockExplorerIntroOutcome) GetU32

func (*IndexerBlockExplorerIntroOutcome) Scan

func (*IndexerBlockExplorerIntroOutcome) SetU32

func (IndexerBlockExplorerIntroOutcome) String

func (IndexerBlockExplorerIntroOutcome) XdrEnumNames

func (IndexerBlockExplorerIntroOutcome) XdrEnumNames() map[int32]string

func (*IndexerBlockExplorerIntroOutcome) XdrMarshal

func (v *IndexerBlockExplorerIntroOutcome) XdrMarshal(x XDR, name string)

func (*IndexerBlockExplorerIntroOutcome) XdrPointer

func (v *IndexerBlockExplorerIntroOutcome) XdrPointer() interface{}

func (IndexerBlockExplorerIntroOutcome) XdrTypeName

func (IndexerBlockExplorerIntroOutcome) XdrValue

func (v IndexerBlockExplorerIntroOutcome) XdrValue() interface{}

type IndexerCommittedBlock

type IndexerCommittedBlock struct {
	Payload  IndexerCommittedBlockPayload
	Identity IndexerCommittedBlockIdentity
}

func XDR_IndexerCommittedBlock

func XDR_IndexerCommittedBlock(v *IndexerCommittedBlock) *IndexerCommittedBlock

func (*IndexerCommittedBlock) XdrMarshal

func (v *IndexerCommittedBlock) XdrMarshal(x XDR, name string)

func (*IndexerCommittedBlock) XdrPointer

func (v *IndexerCommittedBlock) XdrPointer() interface{}

func (*IndexerCommittedBlock) XdrRecurse

func (v *IndexerCommittedBlock) XdrRecurse(x XDR, name string)

func (IndexerCommittedBlock) XdrTypeName

func (IndexerCommittedBlock) XdrTypeName() string

func (IndexerCommittedBlock) XdrValue

func (v IndexerCommittedBlock) XdrValue() interface{}

type IndexerCommittedBlockIdentity

type IndexerCommittedBlockIdentity struct {
	Consensus_hash ConsensusValueHash
}

func (*IndexerCommittedBlockIdentity) XdrMarshal

func (v *IndexerCommittedBlockIdentity) XdrMarshal(x XDR, name string)

func (*IndexerCommittedBlockIdentity) XdrPointer

func (v *IndexerCommittedBlockIdentity) XdrPointer() interface{}

func (*IndexerCommittedBlockIdentity) XdrRecurse

func (v *IndexerCommittedBlockIdentity) XdrRecurse(x XDR, name string)

func (IndexerCommittedBlockIdentity) XdrTypeName

func (IndexerCommittedBlockIdentity) XdrTypeName() string

func (IndexerCommittedBlockIdentity) XdrValue

func (v IndexerCommittedBlockIdentity) XdrValue() interface{}

type IndexerCommittedBlockPayload

type IndexerCommittedBlockPayload struct {
	Format_version  uint32
	Consensus_value ConsensusValue
	// Both batches are positionally paired; their order is not significant.
	// Each inner Transaction is bound by consensus_value.proposal_header.txs_hash,
	// while the corresponding event log and nondeterministic proposal data are
	// bound together by consensus_value.proposal_header.events_hash. Both roots
	// are recomputed whenever the payload is loaded from disk. Signature
	// wrappers are intentionally outside both consensus commitments and remain
	// trusted internal payload: any wrapper satisfying the transaction's auth
	// claim is equally valid, so which one a block carries is not observable to
	// anything that validates against the header.
	Event_logs TxEventLogBatch
	Tx_bodies  ProposedTransactionBatch
}

/ Canonical committed-block payload returned to the indexer. The durable / outbox record stores only `format_version` and `consensus_value`; the two / batches live in the block's content-addressed events file, named by / `consensus_value.proposal_header.events_hash`, and are reassembled on load.

func (*IndexerCommittedBlockPayload) XdrMarshal

func (v *IndexerCommittedBlockPayload) XdrMarshal(x XDR, name string)

func (*IndexerCommittedBlockPayload) XdrPointer

func (v *IndexerCommittedBlockPayload) XdrPointer() interface{}

func (*IndexerCommittedBlockPayload) XdrRecurse

func (v *IndexerCommittedBlockPayload) XdrRecurse(x XDR, name string)

func (IndexerCommittedBlockPayload) XdrTypeName

func (IndexerCommittedBlockPayload) XdrTypeName() string

func (IndexerCommittedBlockPayload) XdrValue

func (v IndexerCommittedBlockPayload) XdrValue() interface{}

type IndexerEpochOutcome

type IndexerEpochOutcome int32
const (
	IndexerEpochInitialized     IndexerEpochOutcome = 0
	IndexerEpochUnchanged       IndexerEpochOutcome = 1
	IndexerEpochConflict        IndexerEpochOutcome = 2
	IndexerEpochInternalFailure IndexerEpochOutcome = 3
)

func XDR_IndexerEpochOutcome

func XDR_IndexerEpochOutcome(v *IndexerEpochOutcome) *IndexerEpochOutcome

func (IndexerEpochOutcome) GetU32

func (v IndexerEpochOutcome) GetU32() uint32

func (*IndexerEpochOutcome) Scan

func (v *IndexerEpochOutcome) Scan(ss fmt.ScanState, _ rune) error

func (*IndexerEpochOutcome) SetU32

func (v *IndexerEpochOutcome) SetU32(n uint32)

func (IndexerEpochOutcome) String

func (v IndexerEpochOutcome) String() string

func (IndexerEpochOutcome) XdrEnumNames

func (IndexerEpochOutcome) XdrEnumNames() map[int32]string

func (*IndexerEpochOutcome) XdrMarshal

func (v *IndexerEpochOutcome) XdrMarshal(x XDR, name string)

func (*IndexerEpochOutcome) XdrPointer

func (v *IndexerEpochOutcome) XdrPointer() interface{}

func (IndexerEpochOutcome) XdrTypeName

func (IndexerEpochOutcome) XdrTypeName() string

func (IndexerEpochOutcome) XdrValue

func (v IndexerEpochOutcome) XdrValue() interface{}

type IndexerEpochResult

type IndexerEpochResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   IndexerEpochInitialized, IndexerEpochUnchanged:
	//      Progress() *IndexerInitializedProgress
	//   default:
	//      Diagnostic() *IndexerFailureMessage
	Outcome IndexerEpochOutcome
	// contains filtered or unexported fields
}

func XDR_IndexerEpochResult

func XDR_IndexerEpochResult(v *IndexerEpochResult) *IndexerEpochResult

func (*IndexerEpochResult) Diagnostic

func (u *IndexerEpochResult) Diagnostic() *IndexerFailureMessage

func (*IndexerEpochResult) Progress

func (*IndexerEpochResult) XdrMarshal

func (v *IndexerEpochResult) XdrMarshal(x XDR, name string)

func (*IndexerEpochResult) XdrPointer

func (v *IndexerEpochResult) XdrPointer() interface{}

func (*IndexerEpochResult) XdrRecurse

func (u *IndexerEpochResult) XdrRecurse(x XDR, name string)

func (IndexerEpochResult) XdrTypeName

func (IndexerEpochResult) XdrTypeName() string

func (*IndexerEpochResult) XdrUnionBody

func (u *IndexerEpochResult) XdrUnionBody() XdrType

func (*IndexerEpochResult) XdrUnionBodyName

func (u *IndexerEpochResult) XdrUnionBodyName() string

func (*IndexerEpochResult) XdrUnionTag

func (u *IndexerEpochResult) XdrUnionTag() XdrNum32

func (*IndexerEpochResult) XdrUnionTagName

func (u *IndexerEpochResult) XdrUnionTagName() string

func (IndexerEpochResult) XdrValid

func (u IndexerEpochResult) XdrValid() bool

func (IndexerEpochResult) XdrValidTags

func (_ IndexerEpochResult) XdrValidTags() map[int32]bool

func (IndexerEpochResult) XdrValue

func (v IndexerEpochResult) XdrValue() interface{}

type IndexerFailureMessage

type IndexerFailureMessage = string // bound 1024

type IndexerHeightGap

type IndexerHeightGap struct {
	Expected_height BlockHeight
}

func XDR_IndexerHeightGap

func XDR_IndexerHeightGap(v *IndexerHeightGap) *IndexerHeightGap

func (*IndexerHeightGap) XdrMarshal

func (v *IndexerHeightGap) XdrMarshal(x XDR, name string)

func (*IndexerHeightGap) XdrPointer

func (v *IndexerHeightGap) XdrPointer() interface{}

func (*IndexerHeightGap) XdrRecurse

func (v *IndexerHeightGap) XdrRecurse(x XDR, name string)

func (IndexerHeightGap) XdrTypeName

func (IndexerHeightGap) XdrTypeName() string

func (IndexerHeightGap) XdrValue

func (v IndexerHeightGap) XdrValue() interface{}

type IndexerInitializedProgress

type IndexerInitializedProgress struct {
	Origin              IndexerOutboxOrigin
	Contiguous_height   BlockHeight
	Last_consensus_hash ConsensusValueHash
}

func (*IndexerInitializedProgress) XdrMarshal

func (v *IndexerInitializedProgress) XdrMarshal(x XDR, name string)

func (*IndexerInitializedProgress) XdrPointer

func (v *IndexerInitializedProgress) XdrPointer() interface{}

func (*IndexerInitializedProgress) XdrRecurse

func (v *IndexerInitializedProgress) XdrRecurse(x XDR, name string)

func (IndexerInitializedProgress) XdrTypeName

func (IndexerInitializedProgress) XdrTypeName() string

func (IndexerInitializedProgress) XdrValue

func (v IndexerInitializedProgress) XdrValue() interface{}

type IndexerOutboxOrigin

type IndexerOutboxOrigin struct {
	Protocol        ProtocolCommit
	Epoch_sequence  uint64
	First_height    BlockHeight
	First_prev_hash ConsensusValueHash
}

/ Immutable identity of one protocol epoch in the event service's durable / indexer outbox. The first committed block in the epoch is `first_height` / and links to `first_prev_hash`.

func XDR_IndexerOutboxOrigin

func XDR_IndexerOutboxOrigin(v *IndexerOutboxOrigin) *IndexerOutboxOrigin

func (*IndexerOutboxOrigin) XdrMarshal

func (v *IndexerOutboxOrigin) XdrMarshal(x XDR, name string)

func (*IndexerOutboxOrigin) XdrPointer

func (v *IndexerOutboxOrigin) XdrPointer() interface{}

func (*IndexerOutboxOrigin) XdrRecurse

func (v *IndexerOutboxOrigin) XdrRecurse(x XDR, name string)

func (IndexerOutboxOrigin) XdrTypeName

func (IndexerOutboxOrigin) XdrTypeName() string

func (IndexerOutboxOrigin) XdrValue

func (v IndexerOutboxOrigin) XdrValue() interface{}

type IndexerProgress

type IndexerProgress struct {
	// The union discriminant State selects among the following arms:
	//   IndexerProgressInitialized, IndexerProgressCaughtUp:
	//      Initialized() *IndexerInitializedProgress
	//   default:
	//      void
	State IndexerProgressState
	// contains filtered or unexported fields
}

func XDR_IndexerProgress

func XDR_IndexerProgress(v *IndexerProgress) *IndexerProgress

func (*IndexerProgress) Initialized

func (u *IndexerProgress) Initialized() *IndexerInitializedProgress

func (*IndexerProgress) XdrMarshal

func (v *IndexerProgress) XdrMarshal(x XDR, name string)

func (*IndexerProgress) XdrPointer

func (v *IndexerProgress) XdrPointer() interface{}

func (*IndexerProgress) XdrRecurse

func (u *IndexerProgress) XdrRecurse(x XDR, name string)

func (IndexerProgress) XdrTypeName

func (IndexerProgress) XdrTypeName() string

func (*IndexerProgress) XdrUnionBody

func (u *IndexerProgress) XdrUnionBody() XdrType

func (*IndexerProgress) XdrUnionBodyName

func (u *IndexerProgress) XdrUnionBodyName() string

func (*IndexerProgress) XdrUnionTag

func (u *IndexerProgress) XdrUnionTag() XdrNum32

func (*IndexerProgress) XdrUnionTagName

func (u *IndexerProgress) XdrUnionTagName() string

func (IndexerProgress) XdrValid

func (u IndexerProgress) XdrValid() bool

func (IndexerProgress) XdrValidTags

func (_ IndexerProgress) XdrValidTags() map[int32]bool

func (IndexerProgress) XdrValue

func (v IndexerProgress) XdrValue() interface{}

type IndexerProgressState

type IndexerProgressState int32

/ Where the indexer stands, as its pull request states it.

const (
	/// No origin adopted yet. The server answers with the oldest retained
	/// origin, or its first block; never held.
	IndexerProgressUninitialized IndexerProgressState = 0
	/// Applied everything through `initialized`; asks what comes next. Answered
	/// at once: the next block, `EventIndexerPullCaughtUp` when there is none,
	/// or a conflict. The first pull of every connection is this, since the
	/// caught-up reply is the indexer's readiness signal.
	IndexerProgressInitialized IndexerProgressState = 1
	/// Same cursor, and already answered caught up on this connection. Asks the
	/// server to hold the request until the next publication and answer with
	/// it, so a block is pulled the moment it is committed rather than when the
	/// indexer next asks. Request-only: an indexer never persists this state.
	IndexerProgressCaughtUp IndexerProgressState = 2
)

func XDR_IndexerProgressState

func XDR_IndexerProgressState(v *IndexerProgressState) *IndexerProgressState

func (IndexerProgressState) GetU32

func (v IndexerProgressState) GetU32() uint32

func (*IndexerProgressState) Scan

func (v *IndexerProgressState) Scan(ss fmt.ScanState, _ rune) error

func (*IndexerProgressState) SetU32

func (v *IndexerProgressState) SetU32(n uint32)

func (IndexerProgressState) String

func (v IndexerProgressState) String() string

func (IndexerProgressState) XdrEnumNames

func (IndexerProgressState) XdrEnumNames() map[int32]string

func (*IndexerProgressState) XdrMarshal

func (v *IndexerProgressState) XdrMarshal(x XDR, name string)

func (*IndexerProgressState) XdrPointer

func (v *IndexerProgressState) XdrPointer() interface{}

func (IndexerProgressState) XdrTypeName

func (IndexerProgressState) XdrTypeName() string

func (IndexerProgressState) XdrValue

func (v IndexerProgressState) XdrValue() interface{}

type IndexerQueryOutcome

type IndexerQueryOutcome int32

/ Backend disposition of a block-explorer page query. Distinguishes / "the query ran and matched nothing" (IndexerQueryOk with an empty / page) from "the indexer could not run the query at all", so a / broken or still-opening node is not rendered as an empty chain.

const (
	IndexerQueryOk IndexerQueryOutcome = 0
	/// The indexer cannot serve the query yet: its database is not open
	/// (still starting up, or shut down), or, for block queries, no block
	/// is indexed yet or the block projection is still being built.
	/// Transient from the cluster's point of view: retry, or ask a healthy
	/// node.
	IndexerQueryNotReady IndexerQueryOutcome = 1
	/// Unrecoverable backend failure (corrupt record, storage error).
	/// Details are in the indexer's logs.
	IndexerQueryInternalFailure IndexerQueryOutcome = 2
	/// The supplied continuation is malformed, unsupported, or inconsistent
	/// with the query or its indexed block identity/position. Not exhaustion.
	/// No automatic restart is implied. Cursor validation depends on the method;
	/// this outcome does not promise query binding for every cursor format.
	IndexerQueryInvalidCursor IndexerQueryOutcome = 3
	/// The indexer cannot serve the history required by a continuation: its
	/// serving watermark is below the cursor's saved bound, or its target block
	/// is not yet indexed. Preserve the cursor; do not silently narrow the walk.
	IndexerQueryHistoryUnavailable IndexerQueryOutcome = 4
)

func XDR_IndexerQueryOutcome

func XDR_IndexerQueryOutcome(v *IndexerQueryOutcome) *IndexerQueryOutcome

func (IndexerQueryOutcome) GetU32

func (v IndexerQueryOutcome) GetU32() uint32

func (*IndexerQueryOutcome) Scan

func (v *IndexerQueryOutcome) Scan(ss fmt.ScanState, _ rune) error

func (*IndexerQueryOutcome) SetU32

func (v *IndexerQueryOutcome) SetU32(n uint32)

func (IndexerQueryOutcome) String

func (v IndexerQueryOutcome) String() string

func (IndexerQueryOutcome) XdrEnumNames

func (IndexerQueryOutcome) XdrEnumNames() map[int32]string

func (*IndexerQueryOutcome) XdrMarshal

func (v *IndexerQueryOutcome) XdrMarshal(x XDR, name string)

func (*IndexerQueryOutcome) XdrPointer

func (v *IndexerQueryOutcome) XdrPointer() interface{}

func (IndexerQueryOutcome) XdrTypeName

func (IndexerQueryOutcome) XdrTypeName() string

func (IndexerQueryOutcome) XdrValue

func (v IndexerQueryOutcome) XdrValue() interface{}

type IndexerTxFailureNotice

type IndexerTxFailureNotice struct {
	Tx_hash    TransactionHash
	Diagnostic TxFailureDiagnostic
}

func (*IndexerTxFailureNotice) XdrMarshal

func (v *IndexerTxFailureNotice) XdrMarshal(x XDR, name string)

func (*IndexerTxFailureNotice) XdrPointer

func (v *IndexerTxFailureNotice) XdrPointer() interface{}

func (*IndexerTxFailureNotice) XdrRecurse

func (v *IndexerTxFailureNotice) XdrRecurse(x XDR, name string)

func (IndexerTxFailureNotice) XdrTypeName

func (IndexerTxFailureNotice) XdrTypeName() string

func (IndexerTxFailureNotice) XdrValue

func (v IndexerTxFailureNotice) XdrValue() interface{}

type IndexerTxFailureNoticeBatch

type IndexerTxFailureNoticeBatch = []IndexerTxFailureNotice // bound 256

type InitializationBlock

type InitializationBlock = []SignedTransaction

type Int32

type Int32 = int32

type Int64

type Int64 = int64

type Int128Parts

type Int128Parts struct {
	Hi Int64
	Lo Uint64
}

A signed int128 has a high sign bit and 127 value bits. We break it into a signed high int64 (that carries the sign bit and the high 63 value bits) and a low unsigned uint64 that carries the low 64 bits. This will sort in generated code in the same order the underlying int128 sorts.

func XDR_Int128Parts

func XDR_Int128Parts(v *Int128Parts) *Int128Parts

func (*Int128Parts) XdrMarshal

func (v *Int128Parts) XdrMarshal(x XDR, name string)

func (*Int128Parts) XdrPointer

func (v *Int128Parts) XdrPointer() interface{}

func (*Int128Parts) XdrRecurse

func (v *Int128Parts) XdrRecurse(x XDR, name string)

func (Int128Parts) XdrTypeName

func (Int128Parts) XdrTypeName() string

func (Int128Parts) XdrValue

func (v Int128Parts) XdrValue() interface{}

type Int128_xdr

type Int128_xdr struct {
	Highbits int64
	Lowbits  uint64
}

/ Encodes a 128-bit signed integer as two 64-bit signed integers. / Under the standard XDR encoding, this type serializes as a big-endian i128.

func XDR_Int128_xdr

func XDR_Int128_xdr(v *Int128_xdr) *Int128_xdr

func (*Int128_xdr) XdrMarshal

func (v *Int128_xdr) XdrMarshal(x XDR, name string)

func (*Int128_xdr) XdrPointer

func (v *Int128_xdr) XdrPointer() interface{}

func (*Int128_xdr) XdrRecurse

func (v *Int128_xdr) XdrRecurse(x XDR, name string)

func (Int128_xdr) XdrTypeName

func (Int128_xdr) XdrTypeName() string

func (Int128_xdr) XdrValue

func (v Int128_xdr) XdrValue() interface{}

type Int256Parts

type Int256Parts struct {
	Hi_hi Int64
	Hi_lo Uint64
	Lo_hi Uint64
	Lo_lo Uint64
}

A signed int256 has a high sign bit and 255 value bits. We break it into a signed high int64 (that carries the sign bit and the high 63 value bits) and three low unsigned `uint64`s that carry the lower bits. This will sort in generated code in the same order the underlying int256 sorts.

func XDR_Int256Parts

func XDR_Int256Parts(v *Int256Parts) *Int256Parts

func (*Int256Parts) XdrMarshal

func (v *Int256Parts) XdrMarshal(x XDR, name string)

func (*Int256Parts) XdrPointer

func (v *Int256Parts) XdrPointer() interface{}

func (*Int256Parts) XdrRecurse

func (v *Int256Parts) XdrRecurse(x XDR, name string)

func (Int256Parts) XdrTypeName

func (Int256Parts) XdrTypeName() string

func (Int256Parts) XdrValue

func (v Int256Parts) XdrValue() interface{}

type IntroAuthOutcome

type IntroAuthOutcome int32
const (
	KSuccess IntroAuthOutcome = 0
	KFailure IntroAuthOutcome = 1
)

func XDR_IntroAuthOutcome

func XDR_IntroAuthOutcome(v *IntroAuthOutcome) *IntroAuthOutcome

func (IntroAuthOutcome) GetU32

func (v IntroAuthOutcome) GetU32() uint32

func (*IntroAuthOutcome) Scan

func (v *IntroAuthOutcome) Scan(ss fmt.ScanState, _ rune) error

func (*IntroAuthOutcome) SetU32

func (v *IntroAuthOutcome) SetU32(n uint32)

func (IntroAuthOutcome) String

func (v IntroAuthOutcome) String() string

func (IntroAuthOutcome) XdrEnumNames

func (IntroAuthOutcome) XdrEnumNames() map[int32]string

func (*IntroAuthOutcome) XdrMarshal

func (v *IntroAuthOutcome) XdrMarshal(x XDR, name string)

func (*IntroAuthOutcome) XdrPointer

func (v *IntroAuthOutcome) XdrPointer() interface{}

func (IntroAuthOutcome) XdrTypeName

func (IntroAuthOutcome) XdrTypeName() string

func (IntroAuthOutcome) XdrValue

func (v IntroAuthOutcome) XdrValue() interface{}

type IntroAuthResult

type IntroAuthResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   KSuccess:
	//      Success() *MempoolAuthIntroSuccess
	//   default:
	//      void
	Outcome IntroAuthOutcome
	// contains filtered or unexported fields
}

func XDR_IntroAuthResult

func XDR_IntroAuthResult(v *IntroAuthResult) *IntroAuthResult

func (*IntroAuthResult) Success

func (*IntroAuthResult) XdrMarshal

func (v *IntroAuthResult) XdrMarshal(x XDR, name string)

func (*IntroAuthResult) XdrPointer

func (v *IntroAuthResult) XdrPointer() interface{}

func (*IntroAuthResult) XdrRecurse

func (u *IntroAuthResult) XdrRecurse(x XDR, name string)

func (IntroAuthResult) XdrTypeName

func (IntroAuthResult) XdrTypeName() string

func (*IntroAuthResult) XdrUnionBody

func (u *IntroAuthResult) XdrUnionBody() XdrType

func (*IntroAuthResult) XdrUnionBodyName

func (u *IntroAuthResult) XdrUnionBodyName() string

func (*IntroAuthResult) XdrUnionTag

func (u *IntroAuthResult) XdrUnionTag() XdrNum32

func (*IntroAuthResult) XdrUnionTagName

func (u *IntroAuthResult) XdrUnionTagName() string

func (IntroAuthResult) XdrValid

func (u IntroAuthResult) XdrValid() bool

func (IntroAuthResult) XdrValidTags

func (_ IntroAuthResult) XdrValidTags() map[int32]bool

func (IntroAuthResult) XdrValue

func (v IntroAuthResult) XdrValue() interface{}

type IntroExecResult

type IntroExecResult struct {
	// A unique 16-bit identifier assigned to the executor by the system.
	Exec_id uint64
	// The database shards.
	Shards []ShardCard
	// The event server
	Event EventCard
}

func XDR_IntroExecResult

func XDR_IntroExecResult(v *IntroExecResult) *IntroExecResult

func (*IntroExecResult) XdrMarshal

func (v *IntroExecResult) XdrMarshal(x XDR, name string)

func (*IntroExecResult) XdrPointer

func (v *IntroExecResult) XdrPointer() interface{}

func (*IntroExecResult) XdrRecurse

func (v *IntroExecResult) XdrRecurse(x XDR, name string)

func (IntroExecResult) XdrTypeName

func (IntroExecResult) XdrTypeName() string

func (IntroExecResult) XdrValue

func (v IntroExecResult) XdrValue() interface{}

type Invocation

type Invocation struct {
	/// Address of the contract to invoke.
	Invoked_address ContractAddress
	/// 8-byte identifier of the contract method to call.
	///
	/// See [`ContractEntrypointID`] in contract.x for how these are derived.
	Entrypoint ContractEntrypointID
	/// Maximum gas units available for this invocation.
	///
	/// For the root transaction invocation, this is the total gas budget.
	/// For subinvocations via the Invoke syscall, this is capped at the
	/// remaining gas in the caller's frame. The SDK default is UINT64_MAX,
	/// meaning "use all remaining gas".
	Gas_limit GasAmount
	/// Encoded arguments to pass to the contract method.
	Calldata Calldata
}

/ Specifies a contract method invocation with its parameters. / / This struct is used both for the root transaction invocation and for / subinvocations made via the Invoke syscall.

func XDR_Invocation

func XDR_Invocation(v *Invocation) *Invocation

func (*Invocation) XdrMarshal

func (v *Invocation) XdrMarshal(x XDR, name string)

func (*Invocation) XdrPointer

func (v *Invocation) XdrPointer() interface{}

func (*Invocation) XdrRecurse

func (v *Invocation) XdrRecurse(x XDR, name string)

func (Invocation) XdrTypeName

func (Invocation) XdrTypeName() string

func (Invocation) XdrValue

func (v Invocation) XdrValue() interface{}

type InvocationFrameOutput

type InvocationFrameOutput struct {
	// The union discriminant Status_code selects among the following arms:
	//   Return:
	//      Return_buffer() *ReturnBuffer
	//   Abort:
	//      Abort_buffer() *ReturnBuffer
	//   Fault:
	//      void
	Status_code InvocationFrameStatusCode
	// contains filtered or unexported fields
}

func XDR_InvocationFrameOutput

func XDR_InvocationFrameOutput(v *InvocationFrameOutput) *InvocationFrameOutput

func (*InvocationFrameOutput) Abort_buffer

func (u *InvocationFrameOutput) Abort_buffer() *ReturnBuffer

func (*InvocationFrameOutput) Return_buffer

func (u *InvocationFrameOutput) Return_buffer() *ReturnBuffer

func (*InvocationFrameOutput) XdrMarshal

func (v *InvocationFrameOutput) XdrMarshal(x XDR, name string)

func (*InvocationFrameOutput) XdrPointer

func (v *InvocationFrameOutput) XdrPointer() interface{}

func (*InvocationFrameOutput) XdrRecurse

func (u *InvocationFrameOutput) XdrRecurse(x XDR, name string)

func (InvocationFrameOutput) XdrTypeName

func (InvocationFrameOutput) XdrTypeName() string

func (*InvocationFrameOutput) XdrUnionBody

func (u *InvocationFrameOutput) XdrUnionBody() XdrType

func (*InvocationFrameOutput) XdrUnionBodyName

func (u *InvocationFrameOutput) XdrUnionBodyName() string

func (*InvocationFrameOutput) XdrUnionTag

func (u *InvocationFrameOutput) XdrUnionTag() XdrNum32

func (*InvocationFrameOutput) XdrUnionTagName

func (u *InvocationFrameOutput) XdrUnionTagName() string

func (InvocationFrameOutput) XdrValid

func (u InvocationFrameOutput) XdrValid() bool

func (InvocationFrameOutput) XdrValidTags

func (_ InvocationFrameOutput) XdrValidTags() map[int32]bool

func (InvocationFrameOutput) XdrValue

func (v InvocationFrameOutput) XdrValue() interface{}

type InvocationFrameStatusCode

type InvocationFrameStatusCode int32

func (InvocationFrameStatusCode) GetU32

func (v InvocationFrameStatusCode) GetU32() uint32

func (*InvocationFrameStatusCode) Scan

func (*InvocationFrameStatusCode) SetU32

func (v *InvocationFrameStatusCode) SetU32(n uint32)

func (InvocationFrameStatusCode) String

func (v InvocationFrameStatusCode) String() string

func (InvocationFrameStatusCode) XdrEnumNames

func (InvocationFrameStatusCode) XdrEnumNames() map[int32]string

func (*InvocationFrameStatusCode) XdrMarshal

func (v *InvocationFrameStatusCode) XdrMarshal(x XDR, name string)

func (*InvocationFrameStatusCode) XdrPointer

func (v *InvocationFrameStatusCode) XdrPointer() interface{}

func (InvocationFrameStatusCode) XdrTypeName

func (InvocationFrameStatusCode) XdrTypeName() string

func (InvocationFrameStatusCode) XdrValue

func (v InvocationFrameStatusCode) XdrValue() interface{}

type IterationOrder

type IterationOrder int32

/ Direction to walk a paginated stream.

const (
	IterationOrderAscending  IterationOrder = 0
	IterationOrderDescending IterationOrder = 1
)

func XDR_IterationOrder

func XDR_IterationOrder(v *IterationOrder) *IterationOrder

func (IterationOrder) GetU32

func (v IterationOrder) GetU32() uint32

func (*IterationOrder) Scan

func (v *IterationOrder) Scan(ss fmt.ScanState, _ rune) error

func (*IterationOrder) SetU32

func (v *IterationOrder) SetU32(n uint32)

func (IterationOrder) String

func (v IterationOrder) String() string

func (IterationOrder) XdrEnumNames

func (IterationOrder) XdrEnumNames() map[int32]string

func (*IterationOrder) XdrMarshal

func (v *IterationOrder) XdrMarshal(x XDR, name string)

func (*IterationOrder) XdrPointer

func (v *IterationOrder) XdrPointer() interface{}

func (IterationOrder) XdrTypeName

func (IterationOrder) XdrTypeName() string

func (IterationOrder) XdrValue

func (v IterationOrder) XdrValue() interface{}

type KeyChange

type KeyChange struct {
	Address   ContractAddress
	Auth_data *AddressAuthData
}

func XDR_KeyChange

func XDR_KeyChange(v *KeyChange) *KeyChange

func (*KeyChange) XdrMarshal

func (v *KeyChange) XdrMarshal(x XDR, name string)

func (*KeyChange) XdrPointer

func (v *KeyChange) XdrPointer() interface{}

func (*KeyChange) XdrRecurse

func (v *KeyChange) XdrRecurse(x XDR, name string)

func (KeyChange) XdrTypeName

func (KeyChange) XdrTypeName() string

func (KeyChange) XdrValue

func (v KeyChange) XdrValue() interface{}

type KeyChangeBatch

type KeyChangeBatch = []KeyChange

type KeyChangeChunk

type KeyChangeChunk struct {
	// The height of the block that made these changes.
	Height BlockHeight
	// This chunk's position in the height's run, from 0, and the run's length.
	// Every chunk of a run carries the same chunk_count, and each index in
	// [0, chunk_count) is sent exactly once. A block that changed no auth data
	// is a run of one empty chunk, so every committed block still sends a run
	// and each receiver's height advances with every block.
	Chunk_index uint32
	Chunk_count uint32
	Changes     []KeyChange
}

A committed block's auth-data changes travel as a run of chunks, each a KeyChangeChunk, from the db to the auth server and on from the auth server to the mempool, because the one-record form grew with the number of accounts whose auth data a block changed. The sender chooses the chunk size; the wire bounds a chunk only by the link's record cap. The chunks of a run may be sent concurrently and over several connections, so they can arrive in any order, and a sender may have the runs of several heights in flight at once, so the chunks of different heights can interleave. A receiver treats a height's changes as complete only once every chunk of its run has arrived, and applies heights in order.

func XDR_KeyChangeChunk

func XDR_KeyChangeChunk(v *KeyChangeChunk) *KeyChangeChunk

func (*KeyChangeChunk) XdrMarshal

func (v *KeyChangeChunk) XdrMarshal(x XDR, name string)

func (*KeyChangeChunk) XdrPointer

func (v *KeyChangeChunk) XdrPointer() interface{}

func (*KeyChangeChunk) XdrRecurse

func (v *KeyChangeChunk) XdrRecurse(x XDR, name string)

func (KeyChangeChunk) XdrTypeName

func (KeyChangeChunk) XdrTypeName() string

func (KeyChangeChunk) XdrValue

func (v KeyChangeChunk) XdrValue() interface{}

type KeyID

type KeyID = uint32

/ Identifier for a public key within an address's key set. / / Valid range is 0 to `kMaxSigners - 1` (0-20).

type KnownQuorumSets

type KnownQuorumSets struct {
	Quorum_set_snapshots []SignedQuorumSetSnapshot
	Validator_snapshots  []SignedValidatorInfoSnapshot
}

func XDR_KnownQuorumSets

func XDR_KnownQuorumSets(v *KnownQuorumSets) *KnownQuorumSets

func (*KnownQuorumSets) XdrMarshal

func (v *KnownQuorumSets) XdrMarshal(x XDR, name string)

func (*KnownQuorumSets) XdrPointer

func (v *KnownQuorumSets) XdrPointer() interface{}

func (*KnownQuorumSets) XdrRecurse

func (v *KnownQuorumSets) XdrRecurse(x XDR, name string)

func (KnownQuorumSets) XdrTypeName

func (KnownQuorumSets) XdrTypeName() string

func (KnownQuorumSets) XdrValue

func (v KnownQuorumSets) XdrValue() interface{}

type LoadgenContextID

type LoadgenContextID = uint64

type LoadgenExtension

type LoadgenExtension struct {
	Work_txs ParallelSignedTransactionBatch
}

func XDR_LoadgenExtension

func XDR_LoadgenExtension(v *LoadgenExtension) *LoadgenExtension

func (*LoadgenExtension) XdrMarshal

func (v *LoadgenExtension) XdrMarshal(x XDR, name string)

func (*LoadgenExtension) XdrPointer

func (v *LoadgenExtension) XdrPointer() interface{}

func (*LoadgenExtension) XdrRecurse

func (v *LoadgenExtension) XdrRecurse(x XDR, name string)

func (LoadgenExtension) XdrTypeName

func (LoadgenExtension) XdrTypeName() string

func (LoadgenExtension) XdrValue

func (v LoadgenExtension) XdrValue() interface{}

type LoadgenExtensionResult

type LoadgenExtensionResult struct {
	// The union discriminant Error selects among the following arms:
	//   KLoadgenRPCErrorOK:
	//      Success() *LoadgenExtension
	//   default:
	//      void
	Error LoadgenRPCError
	// contains filtered or unexported fields
}

func (*LoadgenExtensionResult) Success

func (*LoadgenExtensionResult) XdrMarshal

func (v *LoadgenExtensionResult) XdrMarshal(x XDR, name string)

func (*LoadgenExtensionResult) XdrPointer

func (v *LoadgenExtensionResult) XdrPointer() interface{}

func (*LoadgenExtensionResult) XdrRecurse

func (u *LoadgenExtensionResult) XdrRecurse(x XDR, name string)

func (LoadgenExtensionResult) XdrTypeName

func (LoadgenExtensionResult) XdrTypeName() string

func (*LoadgenExtensionResult) XdrUnionBody

func (u *LoadgenExtensionResult) XdrUnionBody() XdrType

func (*LoadgenExtensionResult) XdrUnionBodyName

func (u *LoadgenExtensionResult) XdrUnionBodyName() string

func (*LoadgenExtensionResult) XdrUnionTag

func (u *LoadgenExtensionResult) XdrUnionTag() XdrNum32

func (*LoadgenExtensionResult) XdrUnionTagName

func (u *LoadgenExtensionResult) XdrUnionTagName() string

func (LoadgenExtensionResult) XdrValid

func (u LoadgenExtensionResult) XdrValid() bool

func (LoadgenExtensionResult) XdrValidTags

func (_ LoadgenExtensionResult) XdrValidTags() map[int32]bool

func (LoadgenExtensionResult) XdrValue

func (v LoadgenExtensionResult) XdrValue() interface{}

type LoadgenInterfaceV1

type LoadgenInterfaceV1 interface {
	Generate_experiment(context.Context, ExperimentConfig) (LoadgenResult, error)
	Extend_experiment(context.Context, LoadgenContextID, uint64, BlockHeight) (LoadgenExtensionResult, error)
}

type LoadgenInterfaceV1_Client

type LoadgenInterfaceV1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (LoadgenInterfaceV1_Client) Extend_experiment

func (LoadgenInterfaceV1_Client) Generate_experiment

func (c LoadgenInterfaceV1_Client) Generate_experiment(ctx context.Context, a1 ExperimentConfig) (r LoadgenResult, _ error)

func (LoadgenInterfaceV1_Client) WithContext

type LoadgenInterfaceV1_Server

type LoadgenInterfaceV1_Server struct {
	Srv LoadgenInterfaceV1
}

func (LoadgenInterfaceV1_Server) GetProc

func (s LoadgenInterfaceV1_Server) GetProc(p uint32) XdrSrvProc

func (LoadgenInterfaceV1_Server) Prog

func (LoadgenInterfaceV1_Server) ProgName

func (LoadgenInterfaceV1_Server) ProgName() string

func (LoadgenInterfaceV1_Server) Vers

func (LoadgenInterfaceV1_Server) VersName

func (LoadgenInterfaceV1_Server) VersName() string

type LoadgenRPCError

type LoadgenRPCError int32
const (
	KLoadgenRPCErrorOK             LoadgenRPCError = 0
	KLoadgenRPCErrorInvalidConfig  LoadgenRPCError = 1
	KLoadgenRPCErrorInvalidContext LoadgenRPCError = 2
)

func XDR_LoadgenRPCError

func XDR_LoadgenRPCError(v *LoadgenRPCError) *LoadgenRPCError

func (LoadgenRPCError) GetU32

func (v LoadgenRPCError) GetU32() uint32

func (*LoadgenRPCError) Scan

func (v *LoadgenRPCError) Scan(ss fmt.ScanState, _ rune) error

func (*LoadgenRPCError) SetU32

func (v *LoadgenRPCError) SetU32(n uint32)

func (LoadgenRPCError) String

func (v LoadgenRPCError) String() string

func (LoadgenRPCError) XdrEnumNames

func (LoadgenRPCError) XdrEnumNames() map[int32]string

func (*LoadgenRPCError) XdrMarshal

func (v *LoadgenRPCError) XdrMarshal(x XDR, name string)

func (*LoadgenRPCError) XdrPointer

func (v *LoadgenRPCError) XdrPointer() interface{}

func (LoadgenRPCError) XdrTypeName

func (LoadgenRPCError) XdrTypeName() string

func (LoadgenRPCError) XdrValue

func (v LoadgenRPCError) XdrValue() interface{}

type LoadgenResult

type LoadgenResult struct {
	// The union discriminant Error selects among the following arms:
	//   KLoadgenRPCErrorOK:
	//      Success() *LoadgenSuccessResult
	//   default:
	//      void
	Error LoadgenRPCError
	// contains filtered or unexported fields
}

func XDR_LoadgenResult

func XDR_LoadgenResult(v *LoadgenResult) *LoadgenResult

func (*LoadgenResult) Success

func (u *LoadgenResult) Success() *LoadgenSuccessResult

func (*LoadgenResult) XdrMarshal

func (v *LoadgenResult) XdrMarshal(x XDR, name string)

func (*LoadgenResult) XdrPointer

func (v *LoadgenResult) XdrPointer() interface{}

func (*LoadgenResult) XdrRecurse

func (u *LoadgenResult) XdrRecurse(x XDR, name string)

func (LoadgenResult) XdrTypeName

func (LoadgenResult) XdrTypeName() string

func (*LoadgenResult) XdrUnionBody

func (u *LoadgenResult) XdrUnionBody() XdrType

func (*LoadgenResult) XdrUnionBodyName

func (u *LoadgenResult) XdrUnionBodyName() string

func (*LoadgenResult) XdrUnionTag

func (u *LoadgenResult) XdrUnionTag() XdrNum32

func (*LoadgenResult) XdrUnionTagName

func (u *LoadgenResult) XdrUnionTagName() string

func (LoadgenResult) XdrValid

func (u LoadgenResult) XdrValid() bool

func (LoadgenResult) XdrValidTags

func (_ LoadgenResult) XdrValidTags() map[int32]bool

func (LoadgenResult) XdrValue

func (v LoadgenResult) XdrValue() interface{}

type LoadgenSuccessResult

type LoadgenSuccessResult struct {
	Genesis_configuration GenesisConfiguration
	Genesis_ceremony_txs  InitializationBlock
	Initialization_txs    []InitializationBlock
	Context_id            LoadgenContextID
}

func XDR_LoadgenSuccessResult

func XDR_LoadgenSuccessResult(v *LoadgenSuccessResult) *LoadgenSuccessResult

func (*LoadgenSuccessResult) XdrMarshal

func (v *LoadgenSuccessResult) XdrMarshal(x XDR, name string)

func (*LoadgenSuccessResult) XdrPointer

func (v *LoadgenSuccessResult) XdrPointer() interface{}

func (*LoadgenSuccessResult) XdrRecurse

func (v *LoadgenSuccessResult) XdrRecurse(x XDR, name string)

func (LoadgenSuccessResult) XdrTypeName

func (LoadgenSuccessResult) XdrTypeName() string

func (LoadgenSuccessResult) XdrValue

func (v LoadgenSuccessResult) XdrValue() interface{}

type MempoolAuth1

type MempoolAuth1 interface {
	Mempoolauth_intro_auth(context.Context, AuthCard) (IntroAuthResult, error)
	Mempoolauth_auth_data_changed_chunk(context.Context, KeyChangeChunk) error
	Mempoolauth_get_auth_info(context.Context, ProtocolCommit) (IntroAuthResult, error)
}

type MempoolAuth1_Client

type MempoolAuth1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (MempoolAuth1_Client) Mempoolauth_auth_data_changed_chunk

func (c MempoolAuth1_Client) Mempoolauth_auth_data_changed_chunk(ctx context.Context, a1 KeyChangeChunk) error

func (MempoolAuth1_Client) Mempoolauth_get_auth_info

func (c MempoolAuth1_Client) Mempoolauth_get_auth_info(ctx context.Context, a1 ProtocolCommit) (r IntroAuthResult, _ error)

func (MempoolAuth1_Client) Mempoolauth_intro_auth

func (c MempoolAuth1_Client) Mempoolauth_intro_auth(ctx context.Context, a1 AuthCard) (r IntroAuthResult, _ error)

func (MempoolAuth1_Client) WithContext

func (c MempoolAuth1_Client) WithContext(ctx context.Context) MempoolAuth1

type MempoolAuth1_Server

type MempoolAuth1_Server struct {
	Srv MempoolAuth1
}

func (MempoolAuth1_Server) GetProc

func (s MempoolAuth1_Server) GetProc(p uint32) XdrSrvProc

func (MempoolAuth1_Server) Prog

func (MempoolAuth1_Server) Prog() uint32

func (MempoolAuth1_Server) ProgName

func (MempoolAuth1_Server) ProgName() string

func (MempoolAuth1_Server) Vers

func (MempoolAuth1_Server) Vers() uint32

func (MempoolAuth1_Server) VersName

func (MempoolAuth1_Server) VersName() string

type MempoolAuthIntroSuccess

type MempoolAuthIntroSuccess struct {
	Shards       []ShardCard
	Network_hash NetworkHash
}

func (*MempoolAuthIntroSuccess) XdrMarshal

func (v *MempoolAuthIntroSuccess) XdrMarshal(x XDR, name string)

func (*MempoolAuthIntroSuccess) XdrPointer

func (v *MempoolAuthIntroSuccess) XdrPointer() interface{}

func (*MempoolAuthIntroSuccess) XdrRecurse

func (v *MempoolAuthIntroSuccess) XdrRecurse(x XDR, name string)

func (MempoolAuthIntroSuccess) XdrTypeName

func (MempoolAuthIntroSuccess) XdrTypeName() string

func (MempoolAuthIntroSuccess) XdrValue

func (v MempoolAuthIntroSuccess) XdrValue() interface{}

type MempoolConfig

type MempoolConfig struct {
	Transaction_ttl_msec     Milliseconds
	Submission_lot_size      int64
	Submission_lot_wait_msec Milliseconds
}

func XDR_MempoolConfig

func XDR_MempoolConfig(v *MempoolConfig) *MempoolConfig

func (*MempoolConfig) XdrMarshal

func (v *MempoolConfig) XdrMarshal(x XDR, name string)

func (*MempoolConfig) XdrPointer

func (v *MempoolConfig) XdrPointer() interface{}

func (*MempoolConfig) XdrRecurse

func (v *MempoolConfig) XdrRecurse(x XDR, name string)

func (MempoolConfig) XdrTypeName

func (MempoolConfig) XdrTypeName() string

func (MempoolConfig) XdrValue

func (v MempoolConfig) XdrValue() interface{}

type Milliseconds

type Milliseconds = int64

type MissingTransactions

type MissingTransactions struct {
	Signed_tx_hashes []SignedTransactionHash
	Consensus_value  ConsensusValue
}

func XDR_MissingTransactions

func XDR_MissingTransactions(v *MissingTransactions) *MissingTransactions

func (*MissingTransactions) XdrMarshal

func (v *MissingTransactions) XdrMarshal(x XDR, name string)

func (*MissingTransactions) XdrPointer

func (v *MissingTransactions) XdrPointer() interface{}

func (*MissingTransactions) XdrRecurse

func (v *MissingTransactions) XdrRecurse(x XDR, name string)

func (MissingTransactions) XdrTypeName

func (MissingTransactions) XdrTypeName() string

func (MissingTransactions) XdrValue

func (v MissingTransactions) XdrValue() interface{}

type MissingTransactionsEnvelope

type MissingTransactionsEnvelope struct {
	Signer               ValidatorID
	Signature            Signature
	Missing_transactions MissingTransactions
}

func (*MissingTransactionsEnvelope) XdrMarshal

func (v *MissingTransactionsEnvelope) XdrMarshal(x XDR, name string)

func (*MissingTransactionsEnvelope) XdrPointer

func (v *MissingTransactionsEnvelope) XdrPointer() interface{}

func (*MissingTransactionsEnvelope) XdrRecurse

func (v *MissingTransactionsEnvelope) XdrRecurse(x XDR, name string)

func (MissingTransactionsEnvelope) XdrTypeName

func (MissingTransactionsEnvelope) XdrTypeName() string

func (MissingTransactionsEnvelope) XdrValue

func (v MissingTransactionsEnvelope) XdrValue() interface{}

type MlDsa65PublicKey

type MlDsa65PublicKey = [1952]byte

/ Represents an ML-DSA-65 (FIPS 204) public key.

type MlDsa65SecretKey

type MlDsa65SecretKey = [4032]byte

/ Represents a 4032-byte ML-DSA-65 (FIPS 204) secret key.

type MlDsa65Signature

type MlDsa65Signature = [3309]byte

/ Represents an ML-DSA-65 (FIPS 204) signature. / / Not every byte string of this length is a well-formed signature; / verification rejects malformed ones like any other invalid signature.

type MultiplexMessage

type MultiplexMessage struct {
	// The union discriminant Type selects among the following arms:
	//   MultiplexMessageSubmittedTxs:
	//      Submitted() *SubmittedTransactions
	//   MultiplexMessageConsensusBasis:
	//      Basis() *ConsensusBasis
	//   MultiplexMessageSCP:
	//      Envelope() *SCPEnvelope
	//   default:
	//      void
	Type MultiplexMessageType
	// contains filtered or unexported fields
}

func XDR_MultiplexMessage

func XDR_MultiplexMessage(v *MultiplexMessage) *MultiplexMessage

func (*MultiplexMessage) Basis

func (u *MultiplexMessage) Basis() *ConsensusBasis

func (*MultiplexMessage) Envelope

func (u *MultiplexMessage) Envelope() *SCPEnvelope

func (*MultiplexMessage) Submitted

func (u *MultiplexMessage) Submitted() *SubmittedTransactions

func (*MultiplexMessage) XdrMarshal

func (v *MultiplexMessage) XdrMarshal(x XDR, name string)

func (*MultiplexMessage) XdrPointer

func (v *MultiplexMessage) XdrPointer() interface{}

func (*MultiplexMessage) XdrRecurse

func (u *MultiplexMessage) XdrRecurse(x XDR, name string)

func (MultiplexMessage) XdrTypeName

func (MultiplexMessage) XdrTypeName() string

func (*MultiplexMessage) XdrUnionBody

func (u *MultiplexMessage) XdrUnionBody() XdrType

func (*MultiplexMessage) XdrUnionBodyName

func (u *MultiplexMessage) XdrUnionBodyName() string

func (*MultiplexMessage) XdrUnionTag

func (u *MultiplexMessage) XdrUnionTag() XdrNum32

func (*MultiplexMessage) XdrUnionTagName

func (u *MultiplexMessage) XdrUnionTagName() string

func (MultiplexMessage) XdrValid

func (u MultiplexMessage) XdrValid() bool

func (MultiplexMessage) XdrValidTags

func (_ MultiplexMessage) XdrValidTags() map[int32]bool

func (MultiplexMessage) XdrValue

func (v MultiplexMessage) XdrValue() interface{}

type MultiplexMessageType

type MultiplexMessageType int32
const (
	MultiplexMessageInvalid        MultiplexMessageType = 0
	MultiplexMessageSubmittedTxs   MultiplexMessageType = 1
	MultiplexMessageConsensusBasis MultiplexMessageType = 2
	MultiplexMessageSCP            MultiplexMessageType = 3
)

func XDR_MultiplexMessageType

func XDR_MultiplexMessageType(v *MultiplexMessageType) *MultiplexMessageType

func (MultiplexMessageType) GetU32

func (v MultiplexMessageType) GetU32() uint32

func (*MultiplexMessageType) Scan

func (v *MultiplexMessageType) Scan(ss fmt.ScanState, _ rune) error

func (*MultiplexMessageType) SetU32

func (v *MultiplexMessageType) SetU32(n uint32)

func (MultiplexMessageType) String

func (v MultiplexMessageType) String() string

func (MultiplexMessageType) XdrEnumNames

func (MultiplexMessageType) XdrEnumNames() map[int32]string

func (*MultiplexMessageType) XdrMarshal

func (v *MultiplexMessageType) XdrMarshal(x XDR, name string)

func (*MultiplexMessageType) XdrPointer

func (v *MultiplexMessageType) XdrPointer() interface{}

func (MultiplexMessageType) XdrTypeName

func (MultiplexMessageType) XdrTypeName() string

func (MultiplexMessageType) XdrValue

func (v MultiplexMessageType) XdrValue() interface{}

type NativeTokenAge

type NativeTokenAge struct {
	Address           ContractAddress
	Num_native_tokens [KNativeTokenAgeNumGroups]Uint128_xdr
	Average_ages      [KNativeTokenAgeNumGroups]BlockHeight
}

func XDR_NativeTokenAge

func XDR_NativeTokenAge(v *NativeTokenAge) *NativeTokenAge

func (*NativeTokenAge) XdrMarshal

func (v *NativeTokenAge) XdrMarshal(x XDR, name string)

func (*NativeTokenAge) XdrPointer

func (v *NativeTokenAge) XdrPointer() interface{}

func (*NativeTokenAge) XdrRecurse

func (v *NativeTokenAge) XdrRecurse(x XDR, name string)

func (NativeTokenAge) XdrTypeName

func (NativeTokenAge) XdrTypeName() string

func (NativeTokenAge) XdrValue

func (v NativeTokenAge) XdrValue() interface{}

type NativeTokenAgeBatch

type NativeTokenAgeBatch = []NativeTokenAge

type NativeTokenAgeResult

type NativeTokenAgeResult struct {
	// The union discriminant Result selects among the following arms:
	//   DbSchedResultOK:
	//      Native_token_age() *NativeTokenAge
	//   default:
	//      void
	Result DbSchedResult
	// contains filtered or unexported fields
}

func XDR_NativeTokenAgeResult

func XDR_NativeTokenAgeResult(v *NativeTokenAgeResult) *NativeTokenAgeResult

func (*NativeTokenAgeResult) Native_token_age

func (u *NativeTokenAgeResult) Native_token_age() *NativeTokenAge

func (*NativeTokenAgeResult) XdrMarshal

func (v *NativeTokenAgeResult) XdrMarshal(x XDR, name string)

func (*NativeTokenAgeResult) XdrPointer

func (v *NativeTokenAgeResult) XdrPointer() interface{}

func (*NativeTokenAgeResult) XdrRecurse

func (u *NativeTokenAgeResult) XdrRecurse(x XDR, name string)

func (NativeTokenAgeResult) XdrTypeName

func (NativeTokenAgeResult) XdrTypeName() string

func (*NativeTokenAgeResult) XdrUnionBody

func (u *NativeTokenAgeResult) XdrUnionBody() XdrType

func (*NativeTokenAgeResult) XdrUnionBodyName

func (u *NativeTokenAgeResult) XdrUnionBodyName() string

func (*NativeTokenAgeResult) XdrUnionTag

func (u *NativeTokenAgeResult) XdrUnionTag() XdrNum32

func (*NativeTokenAgeResult) XdrUnionTagName

func (u *NativeTokenAgeResult) XdrUnionTagName() string

func (NativeTokenAgeResult) XdrValid

func (u NativeTokenAgeResult) XdrValid() bool

func (NativeTokenAgeResult) XdrValidTags

func (_ NativeTokenAgeResult) XdrValidTags() map[int32]bool

func (NativeTokenAgeResult) XdrValue

func (v NativeTokenAgeResult) XdrValue() interface{}

type NativeTokenAgeResults

type NativeTokenAgeResults = []NativeTokenAgeResult

type NativeTokensTransferredChunk

type NativeTokensTransferredChunk struct {
	// The height of the block in which these transfers occurred. The scheduler
	// uses this height to update average native-token ages.
	Block BlockHeight
	// This chunk's position in the block's run, from 0, and the run's length.
	// Every chunk of a run carries the same chunk_count, and each index in
	// [0, chunk_count) is sent exactly once. A block that finalized no nonzero
	// delta is a run of one empty chunk, so every committed block still sends
	// a run.
	Chunk_index uint32
	Chunk_count uint32
	Deltas      []Delta
}

One slice of the native-token balance deltas a committed block finalized.

The db publishes a block's deltas as a run of chunk_count chunks, all for the same block, after the block is committed. The db chooses the chunk size; the wire bounds a chunk only by the link's record cap. The chunks of a run may be sent concurrently and over several connections, so they can arrive in any order; the db starts the next block's run only after every chunk of this one is acknowledged, so the mempool never has more than one block's run in flight. An address appears in at most one chunk of a block's run (a shard holds one balance per address) and every delta is nonzero. The mempool treats the block's transfers as complete only once every chunk of the run has arrived; nothing that gates on a block's transfers may open before that.

func (*NativeTokensTransferredChunk) XdrMarshal

func (v *NativeTokensTransferredChunk) XdrMarshal(x XDR, name string)

func (*NativeTokensTransferredChunk) XdrPointer

func (v *NativeTokensTransferredChunk) XdrPointer() interface{}

func (*NativeTokensTransferredChunk) XdrRecurse

func (v *NativeTokensTransferredChunk) XdrRecurse(x XDR, name string)

func (NativeTokensTransferredChunk) XdrTypeName

func (NativeTokensTransferredChunk) XdrTypeName() string

func (NativeTokensTransferredChunk) XdrValue

func (v NativeTokensTransferredChunk) XdrValue() interface{}

type NetworkConfig

type NetworkConfig struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      V0() *NetworkConfigV0
	V int32
	// contains filtered or unexported fields
}

/ The consensus-critical execution parameters a block executes under. / / A chain states its configuration at genesis. A parameter the / configuration does not state takes the value its [`ConfigParam`] arm / documents (see [`NetworkConfigV0`]). / / One version, because `v0` states its parameters as a list: a new parameter / is an id and a [`ConfigParam`] arm, not a new arm here. The discriminant is / kept so that if a change ever does need one, it is a new case rather than a / silent reinterpretation of these bytes. A node meeting a version it cannot / name must fail to decode rather than guess what is in force.

func XDR_NetworkConfig

func XDR_NetworkConfig(v *NetworkConfig) *NetworkConfig

func (*NetworkConfig) V0

func (u *NetworkConfig) V0() *NetworkConfigV0

func (*NetworkConfig) XdrMarshal

func (v *NetworkConfig) XdrMarshal(x XDR, name string)

func (*NetworkConfig) XdrPointer

func (v *NetworkConfig) XdrPointer() interface{}

func (*NetworkConfig) XdrRecurse

func (u *NetworkConfig) XdrRecurse(x XDR, name string)

func (NetworkConfig) XdrTypeName

func (NetworkConfig) XdrTypeName() string

func (*NetworkConfig) XdrUnionBody

func (u *NetworkConfig) XdrUnionBody() XdrType

func (*NetworkConfig) XdrUnionBodyName

func (u *NetworkConfig) XdrUnionBodyName() string

func (*NetworkConfig) XdrUnionTag

func (u *NetworkConfig) XdrUnionTag() XdrNum32

func (*NetworkConfig) XdrUnionTagName

func (u *NetworkConfig) XdrUnionTagName() string

func (NetworkConfig) XdrValid

func (u NetworkConfig) XdrValid() bool

func (NetworkConfig) XdrValidTags

func (_ NetworkConfig) XdrValidTags() map[int32]bool

func (NetworkConfig) XdrValue

func (v NetworkConfig) XdrValue() interface{}

type NetworkConfigV0

type NetworkConfigV0 struct {
	Params []ConfigParam
}

/ The parameters a chain states, as a list rather than fixed fields. A new / parameter is then an id and a [`ConfigParam`] arm, with no new version here / and no change to the layout of anything embedding one. / / `params` MUST be a prefix of the id space: ids run 0, 1, 2, ... in order, / with no gaps. The encoding is hashed into `ProposalHeader::config_hash`, so / permitting one arrangement per configuration is what gives it one hash. A / list that is unordered, repeats an id, or skips one must fail validation / rather than resolve to one of the values. The rule also bounds the list: a / prefix cannot be longer than the number of parameters that exist. / / Ascending order alone would leave interior gaps legal, and a gap is what / makes the encoding ambiguous: a parameter at its default value could be / written down or left out. A prefix settles which -- below the list's length / a parameter is stated, past it it is not -- and makes resolving one an / index rather than a search. / / A parameter absent from the list takes the value the protocol defines for / it. Absence says nothing about why: the list may be short because the / configuration predates the parameter, or because its creator declined to / state one it knew, and nothing on the wire tells those apart. A creator / SHOULD state every parameter it knows; a verifier cannot check that.

func XDR_NetworkConfigV0

func XDR_NetworkConfigV0(v *NetworkConfigV0) *NetworkConfigV0

func (*NetworkConfigV0) XdrMarshal

func (v *NetworkConfigV0) XdrMarshal(x XDR, name string)

func (*NetworkConfigV0) XdrPointer

func (v *NetworkConfigV0) XdrPointer() interface{}

func (*NetworkConfigV0) XdrRecurse

func (v *NetworkConfigV0) XdrRecurse(x XDR, name string)

func (NetworkConfigV0) XdrTypeName

func (NetworkConfigV0) XdrTypeName() string

func (NetworkConfigV0) XdrValue

func (v NetworkConfigV0) XdrValue() interface{}

type NetworkHash

type NetworkHash = SHA256Hash

#[rust(newtype)]

type NondeterministicProposalData

type NondeterministicProposalData struct {
	/// A bitstring of nondeterministic decisions made during execution.
	///
	/// This includes:
	/// - Two-phase commit conflict resolution results from try_invoke frames (one boolean
	///   per try_invoke frame that succeeds and attempts lock acquisition)
	/// - Other nondeterministic outcomes that must be consistent across validators
	///
	/// Each bit represents a binary decision point encountered during execution.
	/// The bits are consumed sequentially as the transaction re-executes.
	Nondeterministic_bits []byte
	/// The length of nondeterministic_bits in bits (not bytes).
	///
	/// Since nondeterministic_bits.size() returns the rounded-up length in bytes,
	/// this field tracks the exact bit count to avoid trailing garbage bits.
	Nondeterministic_bit_count uint32
	/// Retrocausal queue entries inserted by concurrent transactions in the same
	/// block that this transaction observed, so validators replay the same reads.
	///
	/// An entry is recorded when a peek or consume reads a concurrent entry.
	/// Reads of entries from past blocks or inserted by this transaction itself
	/// record nothing. Entries appear in the order they were first observed
	/// during execution, interleaved across queues; within one queue they are
	/// that queue's concurrent entries in index order, starting at 0. Each
	/// (queue, index) is recorded once however many times it is read, so
	/// repeated peeks, or a peek followed by a consume, add a single entry.
	/// Whether each concurrent read found an entry is recorded separately, one
	/// bit per read, in nondeterministic_bits.
	Observed_queue_entry_sequence []QueueEntry // bound KMaxConcurrentRcqReadsPerTx
}

/ Nondeterministic data captured during transaction execution by the proposer. / / Thruput executes transactions in parallel, which introduces nondeterminism / (e.g., from two-phase commit conflict resolution). To ensure validators can deterministically / re-execute transactions, the proposer captures all nondeterministic decisions / and includes them in the block proposal. / / This allows validators to replay the exact same execution path as the proposer, / ensuring consensus on the transaction result.

func (*NondeterministicProposalData) XdrMarshal

func (v *NondeterministicProposalData) XdrMarshal(x XDR, name string)

func (*NondeterministicProposalData) XdrPointer

func (v *NondeterministicProposalData) XdrPointer() interface{}

func (*NondeterministicProposalData) XdrRecurse

func (v *NondeterministicProposalData) XdrRecurse(x XDR, name string)

func (NondeterministicProposalData) XdrTypeName

func (NondeterministicProposalData) XdrTypeName() string

func (NondeterministicProposalData) XdrValue

func (v NondeterministicProposalData) XdrValue() interface{}

type NonnegativeInt128SetAddArgs

type NonnegativeInt128SetAddArgs struct {
	Set_value Int128_xdr
	Add_value Int128_xdr
}

func (*NonnegativeInt128SetAddArgs) XdrMarshal

func (v *NonnegativeInt128SetAddArgs) XdrMarshal(x XDR, name string)

func (*NonnegativeInt128SetAddArgs) XdrPointer

func (v *NonnegativeInt128SetAddArgs) XdrPointer() interface{}

func (*NonnegativeInt128SetAddArgs) XdrRecurse

func (v *NonnegativeInt128SetAddArgs) XdrRecurse(x XDR, name string)

func (NonnegativeInt128SetAddArgs) XdrTypeName

func (NonnegativeInt128SetAddArgs) XdrTypeName() string

func (NonnegativeInt128SetAddArgs) XdrValue

func (v NonnegativeInt128SetAddArgs) XdrValue() interface{}

type OptProposal

type OptProposal = *Proposal

type OptSignedTransaction

type OptSignedTransaction = *SignedTransaction

/ An optional signed transaction (pointer may be null).

type OptSignedTransactionBatch

type OptSignedTransactionBatch = []OptSignedTransaction

/ A batch of optional signed transactions.

type PaginationCursor

type PaginationCursor = []byte

/ Opaque pagination cursor authored by the server. Clients pass / back whatever they received in the previous response's `cursor` / field to continue pagination. The encoding is a server-side / implementation detail and may change between versions; it begins / with a server-defined version word so stale cursors fail cleanly / rather than being silently misinterpreted.

type ParallelBatch

type ParallelBatch struct {
	Segment_tokens []uint32
	Segment_bytes  []uint32
	Xdr            []byte
}

func XDR_ParallelBatch

func XDR_ParallelBatch(v *ParallelBatch) *ParallelBatch

func (*ParallelBatch) XdrMarshal

func (v *ParallelBatch) XdrMarshal(x XDR, name string)

func (*ParallelBatch) XdrPointer

func (v *ParallelBatch) XdrPointer() interface{}

func (*ParallelBatch) XdrRecurse

func (v *ParallelBatch) XdrRecurse(x XDR, name string)

func (ParallelBatch) XdrTypeName

func (ParallelBatch) XdrTypeName() string

func (ParallelBatch) XdrValue

func (v ParallelBatch) XdrValue() interface{}

type ParallelNondeterministicProposalDataBatch

type ParallelNondeterministicProposalDataBatch = ParallelBatch

#[rust(newtype)]

type ParallelSignedTransactionBatch

type ParallelSignedTransactionBatch = ParallelBatch

#[rust(newtype)]

type ParallelSignedTransactionHashBatch

type ParallelSignedTransactionHashBatch = ParallelBatch

#[rust(newtype)]

type PendingTxCount

type PendingTxCount = int64

Number of transactions currently pending in the mempool.

type PrevProposalSummary

type PrevProposalSummary struct {
	Value_hash ConsensusValueHash
}

/ Summary of the previous finalized proposal, used by SCP leader selection. / / Intentionally carries only the `ConsensusValueHash`: leader-election / pseudorandomness must not depend on transaction-payload availability.

func XDR_PrevProposalSummary

func XDR_PrevProposalSummary(v *PrevProposalSummary) *PrevProposalSummary

func (*PrevProposalSummary) XdrMarshal

func (v *PrevProposalSummary) XdrMarshal(x XDR, name string)

func (*PrevProposalSummary) XdrPointer

func (v *PrevProposalSummary) XdrPointer() interface{}

func (*PrevProposalSummary) XdrRecurse

func (v *PrevProposalSummary) XdrRecurse(x XDR, name string)

func (PrevProposalSummary) XdrTypeName

func (PrevProposalSummary) XdrTypeName() string

func (PrevProposalSummary) XdrValue

func (v PrevProposalSummary) XdrValue() interface{}

type Proposal

type Proposal struct {
	Header       ProposalHeader
	Transactions ProposalTxs
}

/ A candidate block: header plus the transaction metadata needed to / re-execute it. / / Does not travel on network: nodes reconstruct it from a `ConsensusValue` / and its `ProposalTxs`.

func XDR_Proposal

func XDR_Proposal(v *Proposal) *Proposal

func (*Proposal) XdrMarshal

func (v *Proposal) XdrMarshal(x XDR, name string)

func (*Proposal) XdrPointer

func (v *Proposal) XdrPointer() interface{}

func (*Proposal) XdrRecurse

func (v *Proposal) XdrRecurse(x XDR, name string)

func (Proposal) XdrTypeName

func (Proposal) XdrTypeName() string

func (Proposal) XdrValue

func (v Proposal) XdrValue() interface{}

type ProposalContext

type ProposalContext struct {
	/// Network protocol version. `ProposalHeader` has no protocol field; the
	/// block's version is `ConsensusValue::protocol`.
	Protocol Protocol
	/// Block proposer. Nodes missing block data fetch it from the proposer.
	Proposer ValidatorID
	/// The block's timepoint, fixed by the coordinator before execution begins.
	Block_timepoint TimePoint
}

/ Inputs fixed before executing a candidate block. / / Supplied by the coordinator when it asks the scheduler to build a proposal; / the parent block is identified by the surrounding RPC. `proposer` and / `block_timepoint` are copied into the resulting [`ProposalHeader`].

func XDR_ProposalContext

func XDR_ProposalContext(v *ProposalContext) *ProposalContext

func (*ProposalContext) XdrMarshal

func (v *ProposalContext) XdrMarshal(x XDR, name string)

func (*ProposalContext) XdrPointer

func (v *ProposalContext) XdrPointer() interface{}

func (*ProposalContext) XdrRecurse

func (v *ProposalContext) XdrRecurse(x XDR, name string)

func (ProposalContext) XdrTypeName

func (ProposalContext) XdrTypeName() string

func (ProposalContext) XdrValue

func (v ProposalContext) XdrValue() interface{}

type ProposalHeader

type ProposalHeader struct {
	Ext ExtensionPoint
	/// The hash of the network name, separating this network's blocks from
	/// those of other networks.
	Network_hash NetworkHash
	/// The hash of the post-block [`ConfigHashPreimage`]: the storage cost
	/// model, network configuration and default wallet.
	Config_hash ConfigHash
	/// Block proposer. Nodes missing block data fetch it from the proposer.
	Proposer ValidatorID
	/// The block's timepoint, fixed by the coordinator before execution begins.
	Block_timepoint TimePoint
	/// The height of this block.
	Block_height BlockHeight
	/// The Merkle root hash of the set of the block's [`TransactionHash`]es.
	/// Body hashes, not the [`SignedTransactionHash`]es `ProposalTxs` names
	/// the transactions by, so one body appears in the set once.
	Txs_hash TxsHash
	/// The hash of the storage contents after this block is applied.
	Storage_hash StorageShortHash
	/// The Merkle root hash of the events.
	Events_hash EventsHash
}

/ Header of a proposed block. / / The consensus-facing summary of block execution: the fixed inputs of the / proposal together with the deterministic outputs of executing its / transactions. `ConsensusValue` embeds this header directly, so every field / is part of the block identity. / / Travels on network.

func XDR_ProposalHeader

func XDR_ProposalHeader(v *ProposalHeader) *ProposalHeader

func (*ProposalHeader) XdrMarshal

func (v *ProposalHeader) XdrMarshal(x XDR, name string)

func (*ProposalHeader) XdrPointer

func (v *ProposalHeader) XdrPointer() interface{}

func (*ProposalHeader) XdrRecurse

func (v *ProposalHeader) XdrRecurse(x XDR, name string)

func (ProposalHeader) XdrTypeName

func (ProposalHeader) XdrTypeName() string

func (ProposalHeader) XdrValue

func (v ProposalHeader) XdrValue() interface{}

type ProposalHeaderHash

type ProposalHeaderHash = SHA256Hash

/ Hash of proposal header

type ProposalTxs

type ProposalTxs struct {
	Ext ExtensionPoint
	/// Signed hashes of the block's transactions, in execution order: the
	/// exact encodings the block executes.
	Signed_hash ParallelSignedTransactionHashBatch
	/// Nondeterministic choices captured by the proposer, replayed by
	/// validators so re-execution reproduces the header outputs exactly.
	Nondeterministic_data ParallelNondeterministicProposalDataBatch
}

/ Transaction-side payload for a proposal. / / This is the payload a `ConsensusValue` commits to through / `ProposalTxsHash`. The signed transactions travel separately, since nodes / usually already hold them from transaction dissemination. Because the / payload names each transaction by its [`SignedTransactionHash`], a node / that holds a different signing of a body treats that transaction as / missing and fetches the proposer's encoding. / / Travels on network.

func XDR_ProposalTxs

func XDR_ProposalTxs(v *ProposalTxs) *ProposalTxs

func (*ProposalTxs) XdrMarshal

func (v *ProposalTxs) XdrMarshal(x XDR, name string)

func (*ProposalTxs) XdrPointer

func (v *ProposalTxs) XdrPointer() interface{}

func (*ProposalTxs) XdrRecurse

func (v *ProposalTxs) XdrRecurse(x XDR, name string)

func (ProposalTxs) XdrTypeName

func (ProposalTxs) XdrTypeName() string

func (ProposalTxs) XdrValue

func (v ProposalTxs) XdrValue() interface{}

type ProposalTxsHash

type ProposalTxsHash = SHA256Hash

/ Compatibility commitment over `ProposalTxs`. / / This is not SHA-256 of the complete canonical XDR. It XORs the hash of a / base value with empty batches, the hashes of each raw batch segment, and / the XDR hash of each batch index with its raw bytes removed.

type ProposedTransaction

type ProposedTransaction struct {
	/// The signed transaction to execute.
	Signed_tx SignedTransaction
	/// Nondeterministic data captured during the proposer's execution.
	///
	/// Validators use this to deterministically replay the same execution path.
	Nondeterministic_proposal_data NondeterministicProposalData
}

/ A signed transaction with nondeterministic execution data attached. / / This is the form in which transactions are included in block proposals. / The proposer: / 1. Executes the signed transaction / 2. Captures all nondeterministic decisions (two-phase commit results, queue entries, etc.) / 3. Packages both into a ProposedTransaction / 4. Includes it in the proposed block / / Validators then re-execute using the nondeterministic data to verify / the proposer's execution was correct.

func XDR_ProposedTransaction

func XDR_ProposedTransaction(v *ProposedTransaction) *ProposedTransaction

func (*ProposedTransaction) XdrMarshal

func (v *ProposedTransaction) XdrMarshal(x XDR, name string)

func (*ProposedTransaction) XdrPointer

func (v *ProposedTransaction) XdrPointer() interface{}

func (*ProposedTransaction) XdrRecurse

func (v *ProposedTransaction) XdrRecurse(x XDR, name string)

func (ProposedTransaction) XdrTypeName

func (ProposedTransaction) XdrTypeName() string

func (ProposedTransaction) XdrValue

func (v ProposedTransaction) XdrValue() interface{}

type ProposedTransactionBatch

type ProposedTransactionBatch = []ProposedTransaction

type Protocol

type Protocol = uint32

/ Network protocol version.

type ProtocolCommit

type ProtocolCommit = [20]byte

/ ProtocolCommit describes a specific protocol repo version. / Used to ensure communicating daemons in a validator deployment are compatible. / / Printable ASCII: a short prefix followed by the leading characters of the / protocol repo commit id. Peers only ever compare it byte for byte, and it / travels as plain text outside XDR too -- runtime manifests, log lines, and / indexer outbox filenames -- so it stays text rather than a raw hash. / / Fixed width, so a peer cannot declare a length: decoding reads exactly / these bytes into an inline array, with no length prefix and no allocation. / 20 is a whole number of XDR words, so nothing is spent on padding.

func HogProtocol

func HogProtocol() ProtocolCommit

HogProtocol returns the token peers exchange to check they share a protocol revision, in the fixed-width form the wire carries. Callers needing text take string(t[:]).

type PubkeyAccountPreimage

type PubkeyAccountPreimage struct {
	Pubkey_hash PublicKeyHash
	Nonce       uint64
}

/ The preimage of a standalone-pubkey account's address: / `sha256(cxs(DomainSeparator("PubkeyAccount")) || cxs(PubkeyAccountPreimage))`. / / It names the key by its [`PublicKeyHash`] rather than holding the key, so / that the auth claim contracts read stays small whatever the scheme. The / key itself travels with the signatures, as / [`SignedTransaction::pubkey_claim_key`] in transaction.x.

func XDR_PubkeyAccountPreimage

func XDR_PubkeyAccountPreimage(v *PubkeyAccountPreimage) *PubkeyAccountPreimage

func (*PubkeyAccountPreimage) XdrMarshal

func (v *PubkeyAccountPreimage) XdrMarshal(x XDR, name string)

func (*PubkeyAccountPreimage) XdrPointer

func (v *PubkeyAccountPreimage) XdrPointer() interface{}

func (*PubkeyAccountPreimage) XdrRecurse

func (v *PubkeyAccountPreimage) XdrRecurse(x XDR, name string)

func (PubkeyAccountPreimage) XdrTypeName

func (PubkeyAccountPreimage) XdrTypeName() string

func (PubkeyAccountPreimage) XdrValue

func (v PubkeyAccountPreimage) XdrValue() interface{}

type PublicKey

type PublicKey struct {
	// The union discriminant Scheme selects among the following arms:
	//   Ed25519:
	//      Ed25519() *Ed25519PublicKey
	//   MlDsa65:
	//      Mldsa65() *MlDsa65PublicKey
	Scheme CryptographicScheme
	// contains filtered or unexported fields
}

/ Union of a PublicKey type over the various cryptographic schemes.

func XDR_PublicKey

func XDR_PublicKey(v *PublicKey) *PublicKey

func (*PublicKey) Ed25519

func (u *PublicKey) Ed25519() *Ed25519PublicKey

func (*PublicKey) Mldsa65

func (u *PublicKey) Mldsa65() *MlDsa65PublicKey

#[rust(box_ptr)], #[cpp(box)]

func (*PublicKey) XdrMarshal

func (v *PublicKey) XdrMarshal(x XDR, name string)

func (*PublicKey) XdrPointer

func (v *PublicKey) XdrPointer() interface{}

func (*PublicKey) XdrRecurse

func (u *PublicKey) XdrRecurse(x XDR, name string)

func (PublicKey) XdrTypeName

func (PublicKey) XdrTypeName() string

func (*PublicKey) XdrUnionBody

func (u *PublicKey) XdrUnionBody() XdrType

func (*PublicKey) XdrUnionBodyName

func (u *PublicKey) XdrUnionBodyName() string

func (*PublicKey) XdrUnionTag

func (u *PublicKey) XdrUnionTag() XdrNum32

func (*PublicKey) XdrUnionTagName

func (u *PublicKey) XdrUnionTagName() string

func (PublicKey) XdrValid

func (u PublicKey) XdrValid() bool

func (PublicKey) XdrValidTags

func (_ PublicKey) XdrValidTags() map[int32]bool

func (PublicKey) XdrValue

func (v PublicKey) XdrValue() interface{}

type PublicKeyConfig

type PublicKeyConfig struct {
	/// The public key (supports multiple cryptographic schemes via union).
	Key PublicKey
	/// The weight of this key in multi-signature calculations.
	///
	/// When verifying weighted auth claims, weights from signing keys
	/// are accumulated and compared against the required threshold.
	Max_weight Weight
}

/ Configuration for a single public key registered to an address. / / Each address can have up to `kMaxSigners` public keys, each with an / associated weight for multi-signature authorization.

func XDR_PublicKeyConfig

func XDR_PublicKeyConfig(v *PublicKeyConfig) *PublicKeyConfig

func (*PublicKeyConfig) XdrMarshal

func (v *PublicKeyConfig) XdrMarshal(x XDR, name string)

func (*PublicKeyConfig) XdrPointer

func (v *PublicKeyConfig) XdrPointer() interface{}

func (*PublicKeyConfig) XdrRecurse

func (v *PublicKeyConfig) XdrRecurse(x XDR, name string)

func (PublicKeyConfig) XdrTypeName

func (PublicKeyConfig) XdrTypeName() string

func (PublicKeyConfig) XdrValue

func (v PublicKeyConfig) XdrValue() interface{}

type PublicKeyConfigOpt

type PublicKeyConfigOpt = *PublicKeyConfig

/ Optional `PublicKeyConfig`, used in the `public_keys` array. / / A null value indicates that key slot is unoccupied.

type PublicKeyHash

type PublicKeyHash = [32]byte

/ SHA-256 hash committing to a [`PublicKey`], scheme included: / `sha256(cxs(DomainSeparator("PublicKey")) || cxs(PublicKey))`. / / A fixed-size stand-in for public keys of any scheme, so that types / exposed to contracts do not grow with the largest key.

type QueueEntry

type QueueEntry = []byte // bound KQueueEntryMaxLen

#[rust(newtype)]

type QuorumSetSnapshot

type QuorumSetSnapshot struct {
	Timestamp  TimePoint
	Quorum_set SCPQuorumSet
}

func XDR_QuorumSetSnapshot

func XDR_QuorumSetSnapshot(v *QuorumSetSnapshot) *QuorumSetSnapshot

func (*QuorumSetSnapshot) XdrMarshal

func (v *QuorumSetSnapshot) XdrMarshal(x XDR, name string)

func (*QuorumSetSnapshot) XdrPointer

func (v *QuorumSetSnapshot) XdrPointer() interface{}

func (*QuorumSetSnapshot) XdrRecurse

func (v *QuorumSetSnapshot) XdrRecurse(x XDR, name string)

func (QuorumSetSnapshot) XdrTypeName

func (QuorumSetSnapshot) XdrTypeName() string

func (QuorumSetSnapshot) XdrValue

func (v QuorumSetSnapshot) XdrValue() interface{}

type RPCError

type RPCError int32

This is missing error codes, and is here purely as a placeholder. These are some of the error codes I suspect we will need, but these are not organized in any particular manner.

TODO: This probably should get moved to a different file?

const (
	KRPCNone RPCError = 0
	// Lookup on an item in the database that does not exist.
	// Used by any database lookup RPC, not just for one type.
	KRPCNotFound RPCError = 1
	// BlockID does not exist, or is not in correct state
	KRPCBadBlockID RPCError = 3
	// bad storage modification
	KRPCStorageWriteFailed RPCError = 4
	// tx validation or proposal failed
	KRPCTransactionFailed RPCError = 5
	// Unimplemented RPC
	KRPCUnimplemented RPCError = 6
	// Unrecoverable error in the server (i.e. OOM, DB corruption)
	KRPCUnrecoverable RPCError = 7
)

func XDR_RPCError

func XDR_RPCError(v *RPCError) *RPCError

func (RPCError) GetU32

func (v RPCError) GetU32() uint32

func (*RPCError) Scan

func (v *RPCError) Scan(ss fmt.ScanState, _ rune) error

func (*RPCError) SetU32

func (v *RPCError) SetU32(n uint32)

func (RPCError) String

func (v RPCError) String() string

func (RPCError) XdrEnumNames

func (RPCError) XdrEnumNames() map[int32]string

func (*RPCError) XdrMarshal

func (v *RPCError) XdrMarshal(x XDR, name string)

func (*RPCError) XdrPointer

func (v *RPCError) XdrPointer() interface{}

func (RPCError) XdrTypeName

func (RPCError) XdrTypeName() string

func (RPCError) XdrValue

func (v RPCError) XdrValue() interface{}

type Repair1

type Repair1 interface {
	Repair_null(context.Context) error
	Repair_missing_txs(context.Context, MissingTransactionsEnvelope) (RepairedTransactions, error)
	Repair_missing_proposal(context.Context, ConsensusValue) (OptProposal, error)
	Repair_missing_scp_envelopes(context.Context, SCPSlotIndex) (SCPEnvelopes, error)
}

type Repair1_Client

type Repair1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (Repair1_Client) Repair_missing_proposal

func (c Repair1_Client) Repair_missing_proposal(ctx context.Context, a1 ConsensusValue) (r OptProposal, _ error)

func (Repair1_Client) Repair_missing_scp_envelopes

func (c Repair1_Client) Repair_missing_scp_envelopes(ctx context.Context, a1 SCPSlotIndex) (r SCPEnvelopes, _ error)

func (Repair1_Client) Repair_missing_txs

func (Repair1_Client) Repair_null

func (c Repair1_Client) Repair_null(ctx context.Context) error

func (Repair1_Client) WithContext

func (c Repair1_Client) WithContext(ctx context.Context) Repair1

type Repair1_Server

type Repair1_Server struct {
	Srv Repair1
}

func (Repair1_Server) GetProc

func (s Repair1_Server) GetProc(p uint32) XdrSrvProc

func (Repair1_Server) Prog

func (Repair1_Server) Prog() uint32

func (Repair1_Server) ProgName

func (Repair1_Server) ProgName() string

func (Repair1_Server) Vers

func (Repair1_Server) Vers() uint32

func (Repair1_Server) VersName

func (Repair1_Server) VersName() string

type RepairConfig

type RepairConfig struct {
	Base_delay_msec  Milliseconds
	Max_delay_msec   Milliseconds
	Multiplier_nom   uint32
	Multiplier_denom uint32
}

func XDR_RepairConfig

func XDR_RepairConfig(v *RepairConfig) *RepairConfig

func (*RepairConfig) XdrMarshal

func (v *RepairConfig) XdrMarshal(x XDR, name string)

func (*RepairConfig) XdrPointer

func (v *RepairConfig) XdrPointer() interface{}

func (*RepairConfig) XdrRecurse

func (v *RepairConfig) XdrRecurse(x XDR, name string)

func (RepairConfig) XdrTypeName

func (RepairConfig) XdrTypeName() string

func (RepairConfig) XdrValue

func (v RepairConfig) XdrValue() interface{}

type RepairedTransactions

type RepairedTransactions struct {
	Transactions []SignedTransaction
}

func XDR_RepairedTransactions

func XDR_RepairedTransactions(v *RepairedTransactions) *RepairedTransactions

func (*RepairedTransactions) XdrMarshal

func (v *RepairedTransactions) XdrMarshal(x XDR, name string)

func (*RepairedTransactions) XdrPointer

func (v *RepairedTransactions) XdrPointer() interface{}

func (*RepairedTransactions) XdrRecurse

func (v *RepairedTransactions) XdrRecurse(x XDR, name string)

func (RepairedTransactions) XdrTypeName

func (RepairedTransactions) XdrTypeName() string

func (RepairedTransactions) XdrValue

func (v RepairedTransactions) XdrValue() interface{}

type ReplayCacheData

type ReplayCacheData struct {
	// Sorted list of nonces for a particular height of a ReplayCache.
	Nonces []uint64 // bound KReplayCacheNoncesMaxLen
}

#[doc(hidden)]

func XDR_ReplayCacheData

func XDR_ReplayCacheData(v *ReplayCacheData) *ReplayCacheData

func (*ReplayCacheData) XdrMarshal

func (v *ReplayCacheData) XdrMarshal(x XDR, name string)

func (*ReplayCacheData) XdrPointer

func (v *ReplayCacheData) XdrPointer() interface{}

func (*ReplayCacheData) XdrRecurse

func (v *ReplayCacheData) XdrRecurse(x XDR, name string)

func (ReplayCacheData) XdrTypeName

func (ReplayCacheData) XdrTypeName() string

func (ReplayCacheData) XdrValue

func (v ReplayCacheData) XdrValue() interface{}

type ReplayCacheHeightCount

type ReplayCacheHeightCount struct {
	Height      BlockHeight
	Nonce_count uint32
}

#[doc(hidden)] Information about the number of nonces stored at each height of a ReplayCache. Tracked in the ReplayCacheMetadata so nonce GC can determine the change cost after some heights are deleted without having to load the nonces at that height.

func (*ReplayCacheHeightCount) XdrMarshal

func (v *ReplayCacheHeightCount) XdrMarshal(x XDR, name string)

func (*ReplayCacheHeightCount) XdrPointer

func (v *ReplayCacheHeightCount) XdrPointer() interface{}

func (*ReplayCacheHeightCount) XdrRecurse

func (v *ReplayCacheHeightCount) XdrRecurse(x XDR, name string)

func (ReplayCacheHeightCount) XdrTypeName

func (ReplayCacheHeightCount) XdrTypeName() string

func (ReplayCacheHeightCount) XdrValue

func (v ReplayCacheHeightCount) XdrValue() interface{}

type ReplayCacheMetadata

type ReplayCacheMetadata struct {
	// Total count of all nonces in this ReplayCache across all heights.
	Size int64
	// Sorted list of heights with active nonces and count at each.
	Heights []ReplayCacheHeightCount // bound KReplayCacheNoncesMaxLen
}

#[doc(hidden)]

func XDR_ReplayCacheMetadata

func XDR_ReplayCacheMetadata(v *ReplayCacheMetadata) *ReplayCacheMetadata

func (*ReplayCacheMetadata) XdrMarshal

func (v *ReplayCacheMetadata) XdrMarshal(x XDR, name string)

func (*ReplayCacheMetadata) XdrPointer

func (v *ReplayCacheMetadata) XdrPointer() interface{}

func (*ReplayCacheMetadata) XdrRecurse

func (v *ReplayCacheMetadata) XdrRecurse(x XDR, name string)

func (ReplayCacheMetadata) XdrTypeName

func (ReplayCacheMetadata) XdrTypeName() string

func (ReplayCacheMetadata) XdrValue

func (v ReplayCacheMetadata) XdrValue() interface{}

type RetrocausalQueueBlock

type RetrocausalQueueBlock struct {
	// Variable-length array of queue entries
	Entries []QueueEntry
	// Unique identifier and ordering for this block
	Block_number uint64
}

A block in a retrocausal queue, containing a list of entries and a block number The entries are stored in lexicographically sorted order within the block Block numbers are monotonically increasing

func XDR_RetrocausalQueueBlock

func XDR_RetrocausalQueueBlock(v *RetrocausalQueueBlock) *RetrocausalQueueBlock

func (*RetrocausalQueueBlock) XdrMarshal

func (v *RetrocausalQueueBlock) XdrMarshal(x XDR, name string)

func (*RetrocausalQueueBlock) XdrPointer

func (v *RetrocausalQueueBlock) XdrPointer() interface{}

func (*RetrocausalQueueBlock) XdrRecurse

func (v *RetrocausalQueueBlock) XdrRecurse(x XDR, name string)

func (RetrocausalQueueBlock) XdrTypeName

func (RetrocausalQueueBlock) XdrTypeName() string

func (RetrocausalQueueBlock) XdrValue

func (v RetrocausalQueueBlock) XdrValue() interface{}

type RetrocausalQueueConsumeDelta

type RetrocausalQueueConsumeDelta struct {
	Past_block_consume     RetrocausalQueuePastBlockConsumeDelta
	Current_block_consumed []QueueEntry // bound KRetrocausalQueueBlockEntriesMaxLen
}

func (*RetrocausalQueueConsumeDelta) XdrMarshal

func (v *RetrocausalQueueConsumeDelta) XdrMarshal(x XDR, name string)

func (*RetrocausalQueueConsumeDelta) XdrPointer

func (v *RetrocausalQueueConsumeDelta) XdrPointer() interface{}

func (*RetrocausalQueueConsumeDelta) XdrRecurse

func (v *RetrocausalQueueConsumeDelta) XdrRecurse(x XDR, name string)

func (RetrocausalQueueConsumeDelta) XdrTypeName

func (RetrocausalQueueConsumeDelta) XdrTypeName() string

func (RetrocausalQueueConsumeDelta) XdrValue

func (v RetrocausalQueueConsumeDelta) XdrValue() interface{}

type RetrocausalQueueDelta

type RetrocausalQueueDelta struct {
	// set to null if no entries are consumed.
	// This version of the retrocausal queue is single-consumer multi-producer.
	Consume *RetrocausalQueueConsumeDelta
	Insert  RetrocausalQueueInsertDelta
	// Concurrent entries observed (e.g. via peek) but not consumed.
	// The db validates that each entry was actually inserted by a concurrent
	// transaction. Unlike current_block_consumed, these do not decrement the
	// insert balance — they only require that a matching insert exists.
	//
	// This is bounded by the per-transaction observation cap
	// (kMaxConcurrentRcqReadsPerTx), not the much smaller per-block entry cap
	// (kRetrocausalQueueBlockEntriesMaxLen), for a non-obvious reason: when a
	// validator replays a proposed block, the executor rebuilds this per-queue
	// array from the proposer-supplied observation list, and a dishonest proposer
	// can pack a whole transaction's observations into a single queue. The bogus
	// entries are caught afterward (the db matches each observed entry to a real
	// insert), but the array must be built before that check runs -- so it has to
	// hold a full transaction's worth. Capping it at the per-block size would make
	// that rebuild overflow and crash the validator instead of cleanly rejecting.
	Observed_concurrent_entries []QueueEntry // bound KMaxConcurrentRcqReadsPerTx
}

func XDR_RetrocausalQueueDelta

func XDR_RetrocausalQueueDelta(v *RetrocausalQueueDelta) *RetrocausalQueueDelta

func (*RetrocausalQueueDelta) XdrMarshal

func (v *RetrocausalQueueDelta) XdrMarshal(x XDR, name string)

func (*RetrocausalQueueDelta) XdrPointer

func (v *RetrocausalQueueDelta) XdrPointer() interface{}

func (*RetrocausalQueueDelta) XdrRecurse

func (v *RetrocausalQueueDelta) XdrRecurse(x XDR, name string)

func (RetrocausalQueueDelta) XdrTypeName

func (RetrocausalQueueDelta) XdrTypeName() string

func (RetrocausalQueueDelta) XdrValue

func (v RetrocausalQueueDelta) XdrValue() interface{}

type RetrocausalQueueInsertDelta

type RetrocausalQueueInsertDelta struct {
	Added_entries []QueueEntry // bound KRetrocausalQueueBlockEntriesMaxLen
}

func (*RetrocausalQueueInsertDelta) XdrMarshal

func (v *RetrocausalQueueInsertDelta) XdrMarshal(x XDR, name string)

func (*RetrocausalQueueInsertDelta) XdrPointer

func (v *RetrocausalQueueInsertDelta) XdrPointer() interface{}

func (*RetrocausalQueueInsertDelta) XdrRecurse

func (v *RetrocausalQueueInsertDelta) XdrRecurse(x XDR, name string)

func (RetrocausalQueueInsertDelta) XdrTypeName

func (RetrocausalQueueInsertDelta) XdrTypeName() string

func (RetrocausalQueueInsertDelta) XdrValue

func (v RetrocausalQueueInsertDelta) XdrValue() interface{}

type RetrocausalQueueMetadata

type RetrocausalQueueMetadata struct {
	// Current consume state - where consumption left off.
	Consume_state RetrocausalQueuePastBlockConsumeDelta
	// The highest block number currently live (written and not fully consumed).
	// New blocks will be numbered max_live_block_num + 1.
	// 0 if no blocks have been produced yet.
	Max_live_block_num uint64
	// Total number of entries currently live in the queue (for cost calculation).
	Live_entries uint64
}

Root metadata for a Retrocausal Queue, stored at the item key. Tracks both head (consume state) and tail (production state).

func (*RetrocausalQueueMetadata) XdrMarshal

func (v *RetrocausalQueueMetadata) XdrMarshal(x XDR, name string)

func (*RetrocausalQueueMetadata) XdrPointer

func (v *RetrocausalQueueMetadata) XdrPointer() interface{}

func (*RetrocausalQueueMetadata) XdrRecurse

func (v *RetrocausalQueueMetadata) XdrRecurse(x XDR, name string)

func (RetrocausalQueueMetadata) XdrTypeName

func (RetrocausalQueueMetadata) XdrTypeName() string

func (RetrocausalQueueMetadata) XdrValue

func (v RetrocausalQueueMetadata) XdrValue() interface{}

type RetrocausalQueuePastBlockConsumeDelta

type RetrocausalQueuePastBlockConsumeDelta struct {
	Max_fully_consumed_block_number uint64
	Partial_consumed_number         uint64
}

This delta consumes all of the retrocausal queue entries in blocks less than or equal to max_fully_consumed_block_number, and removes the first partial_consumed_number entries from the block number max_fully_consumed_block_number + 1.

func (*RetrocausalQueuePastBlockConsumeDelta) XdrMarshal

func (v *RetrocausalQueuePastBlockConsumeDelta) XdrMarshal(x XDR, name string)

func (*RetrocausalQueuePastBlockConsumeDelta) XdrPointer

func (v *RetrocausalQueuePastBlockConsumeDelta) XdrPointer() interface{}

func (*RetrocausalQueuePastBlockConsumeDelta) XdrRecurse

func (v *RetrocausalQueuePastBlockConsumeDelta) XdrRecurse(x XDR, name string)

func (RetrocausalQueuePastBlockConsumeDelta) XdrTypeName

func (RetrocausalQueuePastBlockConsumeDelta) XdrValue

func (v RetrocausalQueuePastBlockConsumeDelta) XdrValue() interface{}

type ReturnBuffer

type ReturnBuffer = []byte

/ Opaque encoded return value from a contract invocation. / / Like Calldata, contracts can encode return values arbitrarily, but the / SDKs use CXS. / / Unbounded here, as `Calldata` is: what a chain permits is stated by / `kConfigParamMaxReturnBufferLen` and enforced where the Return syscall / writes one, rather than where one is decoded. Nothing decodes a buffer / the local executor did not just build, so a bound here would constrain / what a configuration may state without guarding anything.

type Ristretto255Point

type Ristretto255Point = [32]byte

/ Canonical compressed Ristretto255 group element.

type RouterConfig

type RouterConfig struct {
	Tree_fan_out uint32
}

func XDR_RouterConfig

func XDR_RouterConfig(v *RouterConfig) *RouterConfig

func (*RouterConfig) XdrMarshal

func (v *RouterConfig) XdrMarshal(x XDR, name string)

func (*RouterConfig) XdrPointer

func (v *RouterConfig) XdrPointer() interface{}

func (*RouterConfig) XdrRecurse

func (v *RouterConfig) XdrRecurse(x XDR, name string)

func (RouterConfig) XdrTypeName

func (RouterConfig) XdrTypeName() string

func (RouterConfig) XdrValue

func (v RouterConfig) XdrValue() interface{}

type RuntimeMemoryLength

type RuntimeMemoryLength = uint32

/ Typedef representing a length of memory in bytes, within / a contract's memory. This is primarily used as an argument to syscalls, / and should not be directly used by most contracts.

type Rv32ArtifactExtension

type Rv32ArtifactExtension struct {
	Kind uint32
	Body []byte
}

/ One extension in a v6 RV32 artifact: data after initial memory that the / runtime never loads into guest memory. / / `kind` is an `Rv32ArtifactExtensionKind`, typed as `unsigned int` so a / decoder accepts kinds it does not know. Zero is reserved. The chain stores / `body` without interpreting it.

func XDR_Rv32ArtifactExtension

func XDR_Rv32ArtifactExtension(v *Rv32ArtifactExtension) *Rv32ArtifactExtension

func (*Rv32ArtifactExtension) XdrMarshal

func (v *Rv32ArtifactExtension) XdrMarshal(x XDR, name string)

func (*Rv32ArtifactExtension) XdrPointer

func (v *Rv32ArtifactExtension) XdrPointer() interface{}

func (*Rv32ArtifactExtension) XdrRecurse

func (v *Rv32ArtifactExtension) XdrRecurse(x XDR, name string)

func (Rv32ArtifactExtension) XdrTypeName

func (Rv32ArtifactExtension) XdrTypeName() string

func (Rv32ArtifactExtension) XdrValue

func (v Rv32ArtifactExtension) XdrValue() interface{}

type Rv32ArtifactExtensionKind

type Rv32ArtifactExtensionKind int32

/ What an RV32 artifact extension carries. Values are permanent: a value is / never reused.

const (
	/// The body is an `Rv32ContractSpecExtension`.
	KRv32ExtensionContractSpec Rv32ArtifactExtensionKind = 1
)

func (Rv32ArtifactExtensionKind) GetU32

func (v Rv32ArtifactExtensionKind) GetU32() uint32

func (*Rv32ArtifactExtensionKind) Scan

func (*Rv32ArtifactExtensionKind) SetU32

func (v *Rv32ArtifactExtensionKind) SetU32(n uint32)

func (Rv32ArtifactExtensionKind) String

func (v Rv32ArtifactExtensionKind) String() string

func (Rv32ArtifactExtensionKind) XdrEnumNames

func (Rv32ArtifactExtensionKind) XdrEnumNames() map[int32]string

func (*Rv32ArtifactExtensionKind) XdrInitialize

func (v *Rv32ArtifactExtensionKind) XdrInitialize()

func (*Rv32ArtifactExtensionKind) XdrMarshal

func (v *Rv32ArtifactExtensionKind) XdrMarshal(x XDR, name string)

func (*Rv32ArtifactExtensionKind) XdrPointer

func (v *Rv32ArtifactExtensionKind) XdrPointer() interface{}

func (Rv32ArtifactExtensionKind) XdrTypeName

func (Rv32ArtifactExtensionKind) XdrTypeName() string

func (Rv32ArtifactExtensionKind) XdrValue

func (v Rv32ArtifactExtensionKind) XdrValue() interface{}

type Rv32ArtifactExtensions

type Rv32ArtifactExtensions = []Rv32ArtifactExtension

/ The extension list that ends a v6 RV32 artifact, running from the end of / initial memory exactly to the end of the artifact. / / Kinds are strictly ascending, so there is at most one extension of each / kind and exactly one encoding of any set of extensions. The chain checks / only this framing; adding a kind needs no runtime change.

type Rv32ContractSpecExtension

type Rv32ContractSpecExtension struct {
	/// Schema of `spec`. 1: `spec` is an XDR `ContractSpec` (contract_spec.x).
	Schema_version uint32
	Spec           []byte
}

/ The body of a `kRv32ExtensionContractSpec` extension.

func (*Rv32ContractSpecExtension) XdrMarshal

func (v *Rv32ContractSpecExtension) XdrMarshal(x XDR, name string)

func (*Rv32ContractSpecExtension) XdrPointer

func (v *Rv32ContractSpecExtension) XdrPointer() interface{}

func (*Rv32ContractSpecExtension) XdrRecurse

func (v *Rv32ContractSpecExtension) XdrRecurse(x XDR, name string)

func (Rv32ContractSpecExtension) XdrTypeName

func (Rv32ContractSpecExtension) XdrTypeName() string

func (Rv32ContractSpecExtension) XdrValue

func (v Rv32ContractSpecExtension) XdrValue() interface{}

type SCAddress

type SCAddress struct {
	// The union discriminant Type selects among the following arms:
	//   SC_ADDRESS_TYPE_CONTRACT:
	//      ContractId() *ContractID
	Type SCAddressType
	// contains filtered or unexported fields
}

func XDR_SCAddress

func XDR_SCAddress(v *SCAddress) *SCAddress

func (*SCAddress) ContractId

func (u *SCAddress) ContractId() *ContractID

func (*SCAddress) XdrInitialize

func (v *SCAddress) XdrInitialize()

func (*SCAddress) XdrMarshal

func (v *SCAddress) XdrMarshal(x XDR, name string)

func (*SCAddress) XdrPointer

func (v *SCAddress) XdrPointer() interface{}

func (*SCAddress) XdrRecurse

func (u *SCAddress) XdrRecurse(x XDR, name string)

func (SCAddress) XdrTypeName

func (SCAddress) XdrTypeName() string

func (*SCAddress) XdrUnionBody

func (u *SCAddress) XdrUnionBody() XdrType

func (*SCAddress) XdrUnionBodyName

func (u *SCAddress) XdrUnionBodyName() string

func (*SCAddress) XdrUnionTag

func (u *SCAddress) XdrUnionTag() XdrNum32

func (*SCAddress) XdrUnionTagName

func (u *SCAddress) XdrUnionTagName() string

func (SCAddress) XdrValid

func (u SCAddress) XdrValid() bool

func (SCAddress) XdrValidTags

func (_ SCAddress) XdrValidTags() map[int32]bool

func (SCAddress) XdrValue

func (v SCAddress) XdrValue() interface{}

type SCAddressType

type SCAddressType int32
const (
	// SC_ADDRESS_TYPE_ACCOUNT = 0,
	SC_ADDRESS_TYPE_CONTRACT SCAddressType = 1
)

func XDR_SCAddressType

func XDR_SCAddressType(v *SCAddressType) *SCAddressType

func (SCAddressType) GetU32

func (v SCAddressType) GetU32() uint32

func (*SCAddressType) Scan

func (v *SCAddressType) Scan(ss fmt.ScanState, _ rune) error

func (*SCAddressType) SetU32

func (v *SCAddressType) SetU32(n uint32)

func (SCAddressType) String

func (v SCAddressType) String() string

func (SCAddressType) XdrEnumNames

func (SCAddressType) XdrEnumNames() map[int32]string

func (*SCAddressType) XdrInitialize

func (v *SCAddressType) XdrInitialize()

func (*SCAddressType) XdrMarshal

func (v *SCAddressType) XdrMarshal(x XDR, name string)

func (*SCAddressType) XdrPointer

func (v *SCAddressType) XdrPointer() interface{}

func (SCAddressType) XdrTypeName

func (SCAddressType) XdrTypeName() string

func (SCAddressType) XdrValue

func (v SCAddressType) XdrValue() interface{}

type SCBytes

type SCBytes = []byte

type SCPBallot

type SCPBallot struct {
	// n
	Counter SCPCount
	// x
	Value SCPValue
}

func XDR_SCPBallot

func XDR_SCPBallot(v *SCPBallot) *SCPBallot

func (*SCPBallot) XdrMarshal

func (v *SCPBallot) XdrMarshal(x XDR, name string)

func (*SCPBallot) XdrPointer

func (v *SCPBallot) XdrPointer() interface{}

func (*SCPBallot) XdrRecurse

func (v *SCPBallot) XdrRecurse(x XDR, name string)

func (SCPBallot) XdrTypeName

func (SCPBallot) XdrTypeName() string

func (SCPBallot) XdrValue

func (v SCPBallot) XdrValue() interface{}

type SCPConfig

type SCPConfig struct {
	Max_timeout_ms                  uint64
	Initial_ballot_timeout_ms       uint64
	Increment_ballot_timeout_ms     uint64
	Initial_nomination_timeout_ms   uint64
	Increment_nomination_timeout_ms uint64
	Quorum_set                      SCPQuorumSet
}

func XDR_SCPConfig

func XDR_SCPConfig(v *SCPConfig) *SCPConfig

func (*SCPConfig) XdrMarshal

func (v *SCPConfig) XdrMarshal(x XDR, name string)

func (*SCPConfig) XdrPointer

func (v *SCPConfig) XdrPointer() interface{}

func (*SCPConfig) XdrRecurse

func (v *SCPConfig) XdrRecurse(x XDR, name string)

func (SCPConfig) XdrTypeName

func (SCPConfig) XdrTypeName() string

func (SCPConfig) XdrValue

func (v SCPConfig) XdrValue() interface{}

type SCPCount

type SCPCount = uint32

type SCPEnvelope

type SCPEnvelope struct {
	Statement SCPStatement
	Signature Signature
}

func XDR_SCPEnvelope

func XDR_SCPEnvelope(v *SCPEnvelope) *SCPEnvelope

func (*SCPEnvelope) XdrMarshal

func (v *SCPEnvelope) XdrMarshal(x XDR, name string)

func (*SCPEnvelope) XdrPointer

func (v *SCPEnvelope) XdrPointer() interface{}

func (*SCPEnvelope) XdrRecurse

func (v *SCPEnvelope) XdrRecurse(x XDR, name string)

func (SCPEnvelope) XdrTypeName

func (SCPEnvelope) XdrTypeName() string

func (SCPEnvelope) XdrValue

func (v SCPEnvelope) XdrValue() interface{}

type SCPEnvelopes

type SCPEnvelopes = []SCPEnvelope

type SCPHash

type SCPHash = [32]byte

type SCPNodeID

type SCPNodeID = PublicKey

type SCPOptQuorumSet

type SCPOptQuorumSet = *SCPQuorumSet

type SCPOptValue

type SCPOptValue = *SCPValue

type SCPQuorumSet

type SCPQuorumSet struct {
	Threshold  SCPCount
	Validators []SCPNodeID
	Inner_sets []SCPQuorumSet
}

supports things like: A,B,C,(D,E,F),(G,H,(I,J,K,L)) only allows 2 levels of nesting

func XDR_SCPQuorumSet

func XDR_SCPQuorumSet(v *SCPQuorumSet) *SCPQuorumSet

func (*SCPQuorumSet) XdrMarshal

func (v *SCPQuorumSet) XdrMarshal(x XDR, name string)

func (*SCPQuorumSet) XdrPointer

func (v *SCPQuorumSet) XdrPointer() interface{}

func (*SCPQuorumSet) XdrRecurse

func (v *SCPQuorumSet) XdrRecurse(x XDR, name string)

func (SCPQuorumSet) XdrTypeName

func (SCPQuorumSet) XdrTypeName() string

func (SCPQuorumSet) XdrValue

func (v SCPQuorumSet) XdrValue() interface{}

type SCPSlotIndex

type SCPSlotIndex = uint64

type SCPStatement

type SCPStatement struct {
	// v
	Node_id SCPNodeID
	// i
	Slot_index SCPSlotIndex
	Pledges    XdrAnon_SCPStatement_Pledges
}

func XDR_SCPStatement

func XDR_SCPStatement(v *SCPStatement) *SCPStatement

func (*SCPStatement) XdrMarshal

func (v *SCPStatement) XdrMarshal(x XDR, name string)

func (*SCPStatement) XdrPointer

func (v *SCPStatement) XdrPointer() interface{}

func (*SCPStatement) XdrRecurse

func (v *SCPStatement) XdrRecurse(x XDR, name string)

func (SCPStatement) XdrTypeName

func (SCPStatement) XdrTypeName() string

func (SCPStatement) XdrValue

func (v SCPStatement) XdrValue() interface{}

type SCPStatementConfirm

type SCPStatementConfirm struct {
	// b
	Ballot SCPBallot
	// p.n
	N_prepared SCPCount
	// c.n
	N_commit SCPCount
	// h.n
	N_h SCPCount
	// D
	Quorum_set_hash SCPHash
}

func XDR_SCPStatementConfirm

func XDR_SCPStatementConfirm(v *SCPStatementConfirm) *SCPStatementConfirm

func (*SCPStatementConfirm) XdrMarshal

func (v *SCPStatementConfirm) XdrMarshal(x XDR, name string)

func (*SCPStatementConfirm) XdrPointer

func (v *SCPStatementConfirm) XdrPointer() interface{}

func (*SCPStatementConfirm) XdrRecurse

func (v *SCPStatementConfirm) XdrRecurse(x XDR, name string)

func (SCPStatementConfirm) XdrTypeName

func (SCPStatementConfirm) XdrTypeName() string

func (SCPStatementConfirm) XdrValue

func (v SCPStatementConfirm) XdrValue() interface{}

type SCPStatementExternalize

type SCPStatementExternalize struct {
	// c
	Commit SCPBallot
	// h.n
	N_h SCPCount
	// D used before EXTERNALIZE
	Commit_quorum_set_hash SCPHash
}

func (*SCPStatementExternalize) XdrMarshal

func (v *SCPStatementExternalize) XdrMarshal(x XDR, name string)

func (*SCPStatementExternalize) XdrPointer

func (v *SCPStatementExternalize) XdrPointer() interface{}

func (*SCPStatementExternalize) XdrRecurse

func (v *SCPStatementExternalize) XdrRecurse(x XDR, name string)

func (SCPStatementExternalize) XdrTypeName

func (SCPStatementExternalize) XdrTypeName() string

func (SCPStatementExternalize) XdrValue

func (v SCPStatementExternalize) XdrValue() interface{}

type SCPStatementNominate

type SCPStatementNominate struct {
	// D
	Quorum_set_hash SCPHash
	// X
	Votes []SCPValue
	// Y
	Accepted []SCPValue
}

func XDR_SCPStatementNominate

func XDR_SCPStatementNominate(v *SCPStatementNominate) *SCPStatementNominate

func (*SCPStatementNominate) XdrMarshal

func (v *SCPStatementNominate) XdrMarshal(x XDR, name string)

func (*SCPStatementNominate) XdrPointer

func (v *SCPStatementNominate) XdrPointer() interface{}

func (*SCPStatementNominate) XdrRecurse

func (v *SCPStatementNominate) XdrRecurse(x XDR, name string)

func (SCPStatementNominate) XdrTypeName

func (SCPStatementNominate) XdrTypeName() string

func (SCPStatementNominate) XdrValue

func (v SCPStatementNominate) XdrValue() interface{}

type SCPStatementPrepare

type SCPStatementPrepare struct {
	// D
	Quorum_set_hash SCPHash
	// b
	Ballot SCPBallot
	// p
	Prepared *SCPBallot
	// p'
	Prepared_prime *SCPBallot
	// c.n
	N_c SCPCount
	// h.n
	N_h SCPCount
}

func XDR_SCPStatementPrepare

func XDR_SCPStatementPrepare(v *SCPStatementPrepare) *SCPStatementPrepare

func (*SCPStatementPrepare) XdrMarshal

func (v *SCPStatementPrepare) XdrMarshal(x XDR, name string)

func (*SCPStatementPrepare) XdrPointer

func (v *SCPStatementPrepare) XdrPointer() interface{}

func (*SCPStatementPrepare) XdrRecurse

func (v *SCPStatementPrepare) XdrRecurse(x XDR, name string)

func (SCPStatementPrepare) XdrTypeName

func (SCPStatementPrepare) XdrTypeName() string

func (SCPStatementPrepare) XdrValue

func (v SCPStatementPrepare) XdrValue() interface{}

type SCPStatementType

type SCPStatementType int32
const (
	SCP_ST_PREPARE     SCPStatementType = 0
	SCP_ST_CONFIRM     SCPStatementType = 1
	SCP_ST_EXTERNALIZE SCPStatementType = 2
	SCP_ST_NOMINATE    SCPStatementType = 3
)

func XDR_SCPStatementType

func XDR_SCPStatementType(v *SCPStatementType) *SCPStatementType

func (SCPStatementType) GetU32

func (v SCPStatementType) GetU32() uint32

func (*SCPStatementType) Scan

func (v *SCPStatementType) Scan(ss fmt.ScanState, _ rune) error

func (*SCPStatementType) SetU32

func (v *SCPStatementType) SetU32(n uint32)

func (SCPStatementType) String

func (v SCPStatementType) String() string

func (SCPStatementType) XdrEnumNames

func (SCPStatementType) XdrEnumNames() map[int32]string

func (*SCPStatementType) XdrMarshal

func (v *SCPStatementType) XdrMarshal(x XDR, name string)

func (*SCPStatementType) XdrPointer

func (v *SCPStatementType) XdrPointer() interface{}

func (SCPStatementType) XdrTypeName

func (SCPStatementType) XdrTypeName() string

func (SCPStatementType) XdrValue

func (v SCPStatementType) XdrValue() interface{}

type SCPValidationLevel

type SCPValidationLevel int32
const (
	SCP_INVALID     SCPValidationLevel = 0
	SCP_MAYBE_VALID SCPValidationLevel = 1
	SCP_FULLY_VALID SCPValidationLevel = 2
)

func XDR_SCPValidationLevel

func XDR_SCPValidationLevel(v *SCPValidationLevel) *SCPValidationLevel

func (SCPValidationLevel) GetU32

func (v SCPValidationLevel) GetU32() uint32

func (*SCPValidationLevel) Scan

func (v *SCPValidationLevel) Scan(ss fmt.ScanState, _ rune) error

func (*SCPValidationLevel) SetU32

func (v *SCPValidationLevel) SetU32(n uint32)

func (SCPValidationLevel) String

func (v SCPValidationLevel) String() string

func (SCPValidationLevel) XdrEnumNames

func (SCPValidationLevel) XdrEnumNames() map[int32]string

func (*SCPValidationLevel) XdrMarshal

func (v *SCPValidationLevel) XdrMarshal(x XDR, name string)

func (*SCPValidationLevel) XdrPointer

func (v *SCPValidationLevel) XdrPointer() interface{}

func (SCPValidationLevel) XdrTypeName

func (SCPValidationLevel) XdrTypeName() string

func (SCPValidationLevel) XdrValue

func (v SCPValidationLevel) XdrValue() interface{}

type SCPValue

type SCPValue = []byte

type SCPValues

type SCPValues = []SCPValue

type SCP_Control1

type SCP_Control1 interface {
	Scp_control_null(context.Context) error
	Scp_control_nominate(context.Context, SCPSlotIndex, SCPValue, SCPValue) (bool, error)
	Scp_control_stop_nomination(context.Context, SCPSlotIndex) error
	Scp_control_update_local_quorum_set(context.Context, SCPQuorumSet) error
	Scp_control_received_envelope(context.Context, SCPEnvelope) error
	Scp_control_set_state_from_envelope(context.Context, SCPSlotIndex, SCPEnvelope) error
	Scp_control_set_qset(context.Context, SCPQuorumSet) (SCPOptQuorumSet, error)
	Scp_control_get_qset(context.Context, SCPHash) (SCPOptQuorumSet, error)
	Scp_control_remove_qset(context.Context, SCPHash) (SCPOptQuorumSet, error)
	Scp_control_set_lowest_non_externalized_slot(context.Context, SCPSlotIndex) error
}

type SCP_Control1_Client

type SCP_Control1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (SCP_Control1_Client) Scp_control_get_qset

func (c SCP_Control1_Client) Scp_control_get_qset(ctx context.Context, a1 SCPHash) (r SCPOptQuorumSet, _ error)

func (SCP_Control1_Client) Scp_control_nominate

func (c SCP_Control1_Client) Scp_control_nominate(ctx context.Context, a1 SCPSlotIndex, a2 SCPValue, a3 SCPValue) (r bool, _ error)

func (SCP_Control1_Client) Scp_control_null

func (c SCP_Control1_Client) Scp_control_null(ctx context.Context) error

func (SCP_Control1_Client) Scp_control_received_envelope

func (c SCP_Control1_Client) Scp_control_received_envelope(ctx context.Context, a1 SCPEnvelope) error

func (SCP_Control1_Client) Scp_control_remove_qset

func (c SCP_Control1_Client) Scp_control_remove_qset(ctx context.Context, a1 SCPHash) (r SCPOptQuorumSet, _ error)

func (SCP_Control1_Client) Scp_control_set_lowest_non_externalized_slot

func (c SCP_Control1_Client) Scp_control_set_lowest_non_externalized_slot(ctx context.Context, a1 SCPSlotIndex) error

func (SCP_Control1_Client) Scp_control_set_qset

func (c SCP_Control1_Client) Scp_control_set_qset(ctx context.Context, a1 SCPQuorumSet) (r SCPOptQuorumSet, _ error)

func (SCP_Control1_Client) Scp_control_set_state_from_envelope

func (c SCP_Control1_Client) Scp_control_set_state_from_envelope(ctx context.Context, a1 SCPSlotIndex, a2 SCPEnvelope) error

func (SCP_Control1_Client) Scp_control_stop_nomination

func (c SCP_Control1_Client) Scp_control_stop_nomination(ctx context.Context, a1 SCPSlotIndex) error

func (SCP_Control1_Client) Scp_control_update_local_quorum_set

func (c SCP_Control1_Client) Scp_control_update_local_quorum_set(ctx context.Context, a1 SCPQuorumSet) error

func (SCP_Control1_Client) WithContext

func (c SCP_Control1_Client) WithContext(ctx context.Context) SCP_Control1

type SCP_Control1_Server

type SCP_Control1_Server struct {
	Srv SCP_Control1
}

func (SCP_Control1_Server) GetProc

func (s SCP_Control1_Server) GetProc(p uint32) XdrSrvProc

func (SCP_Control1_Server) Prog

func (SCP_Control1_Server) Prog() uint32

func (SCP_Control1_Server) ProgName

func (SCP_Control1_Server) ProgName() string

func (SCP_Control1_Server) Vers

func (SCP_Control1_Server) Vers() uint32

func (SCP_Control1_Server) VersName

func (SCP_Control1_Server) VersName() string

type SCP_Handle1

type SCP_Handle1 interface {
	Scp_handle_null(context.Context) error
	Scp_handle_emit_envelope(context.Context, SCPEnvelope) error
	Scp_handle_validate_ballot_value(context.Context, SCPSlotIndex, SCPValue) (SCPValidationLevel, error)
	Scp_handle_validate_nomination_value(context.Context, SCPSlotIndex, SCPValue) (SCPValidationLevel, error)
	Scp_handle_extract_valid_value(context.Context, SCPSlotIndex, SCPValue) (SCPOptValue, error)
	Scp_handle_combine_candidates(context.Context, SCPSlotIndex, SCPValues) (SCPOptValue, error)
	Scp_handle_value_externalized(context.Context, SCPSlotIndex, SCPValue) error
	Scp_handle_nominating_value(context.Context, SCPSlotIndex, SCPValue) error
	Scp_handle_updated_candidate_value(context.Context, SCPSlotIndex, SCPValue) error
	Scp_handle_started_ballot_proto(context.Context, SCPSlotIndex, SCPBallot) error
	Scp_handle_accepted_ballot_prepared(context.Context, SCPSlotIndex, SCPBallot) error
	Scp_handle_confirmed_ballot_prepared(context.Context, SCPSlotIndex, SCPBallot) error
	Scp_handle_accepted_commit(context.Context, SCPSlotIndex, SCPBallot) error
	Scp_handle_ballot_did_hear_from_quorum(context.Context, SCPSlotIndex, SCPBallot) error
	Scp_handle_get_quorum_set(context.Context, SCPHash) (SCPOptQuorumSet, error)
}

type SCP_Handle1_Client

type SCP_Handle1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (SCP_Handle1_Client) Scp_handle_accepted_ballot_prepared

func (c SCP_Handle1_Client) Scp_handle_accepted_ballot_prepared(ctx context.Context, a1 SCPSlotIndex, a2 SCPBallot) error

func (SCP_Handle1_Client) Scp_handle_accepted_commit

func (c SCP_Handle1_Client) Scp_handle_accepted_commit(ctx context.Context, a1 SCPSlotIndex, a2 SCPBallot) error

func (SCP_Handle1_Client) Scp_handle_ballot_did_hear_from_quorum

func (c SCP_Handle1_Client) Scp_handle_ballot_did_hear_from_quorum(ctx context.Context, a1 SCPSlotIndex, a2 SCPBallot) error

func (SCP_Handle1_Client) Scp_handle_combine_candidates

func (c SCP_Handle1_Client) Scp_handle_combine_candidates(ctx context.Context, a1 SCPSlotIndex, a2 SCPValues) (r SCPOptValue, _ error)

func (SCP_Handle1_Client) Scp_handle_confirmed_ballot_prepared

func (c SCP_Handle1_Client) Scp_handle_confirmed_ballot_prepared(ctx context.Context, a1 SCPSlotIndex, a2 SCPBallot) error

func (SCP_Handle1_Client) Scp_handle_emit_envelope

func (c SCP_Handle1_Client) Scp_handle_emit_envelope(ctx context.Context, a1 SCPEnvelope) error

func (SCP_Handle1_Client) Scp_handle_extract_valid_value

func (c SCP_Handle1_Client) Scp_handle_extract_valid_value(ctx context.Context, a1 SCPSlotIndex, a2 SCPValue) (r SCPOptValue, _ error)

func (SCP_Handle1_Client) Scp_handle_get_quorum_set

func (c SCP_Handle1_Client) Scp_handle_get_quorum_set(ctx context.Context, a1 SCPHash) (r SCPOptQuorumSet, _ error)

func (SCP_Handle1_Client) Scp_handle_nominating_value

func (c SCP_Handle1_Client) Scp_handle_nominating_value(ctx context.Context, a1 SCPSlotIndex, a2 SCPValue) error

func (SCP_Handle1_Client) Scp_handle_null

func (c SCP_Handle1_Client) Scp_handle_null(ctx context.Context) error

func (SCP_Handle1_Client) Scp_handle_started_ballot_proto

func (c SCP_Handle1_Client) Scp_handle_started_ballot_proto(ctx context.Context, a1 SCPSlotIndex, a2 SCPBallot) error

func (SCP_Handle1_Client) Scp_handle_updated_candidate_value

func (c SCP_Handle1_Client) Scp_handle_updated_candidate_value(ctx context.Context, a1 SCPSlotIndex, a2 SCPValue) error

func (SCP_Handle1_Client) Scp_handle_validate_ballot_value

func (c SCP_Handle1_Client) Scp_handle_validate_ballot_value(ctx context.Context, a1 SCPSlotIndex, a2 SCPValue) (r SCPValidationLevel, _ error)

func (SCP_Handle1_Client) Scp_handle_validate_nomination_value

func (c SCP_Handle1_Client) Scp_handle_validate_nomination_value(ctx context.Context, a1 SCPSlotIndex, a2 SCPValue) (r SCPValidationLevel, _ error)

func (SCP_Handle1_Client) Scp_handle_value_externalized

func (c SCP_Handle1_Client) Scp_handle_value_externalized(ctx context.Context, a1 SCPSlotIndex, a2 SCPValue) error

func (SCP_Handle1_Client) WithContext

func (c SCP_Handle1_Client) WithContext(ctx context.Context) SCP_Handle1

type SCP_Handle1_Server

type SCP_Handle1_Server struct {
	Srv SCP_Handle1
}

func (SCP_Handle1_Server) GetProc

func (s SCP_Handle1_Server) GetProc(p uint32) XdrSrvProc

func (SCP_Handle1_Server) Prog

func (SCP_Handle1_Server) Prog() uint32

func (SCP_Handle1_Server) ProgName

func (SCP_Handle1_Server) ProgName() string

func (SCP_Handle1_Server) Vers

func (SCP_Handle1_Server) Vers() uint32

func (SCP_Handle1_Server) VersName

func (SCP_Handle1_Server) VersName() string

type SCString

type SCString = string

type SCSymbol

type SCSymbol = string // bound SCSYMBOL_LIMIT

type SCVal

type SCVal struct {
	// The union discriminant Type selects among the following arms:
	//   SCV_BOOL:
	//      B() *bool
	//   SCV_VOID:
	//      void
	//   SCV_U32:
	//      U32() *Uint32
	//   SCV_I32:
	//      I32() *Int32
	//   SCV_U64:
	//      U64() *Uint64
	//   SCV_I64:
	//      I64() *Int64
	//   SCV_TIMEPOINT:
	//      Timepoint() *TimePoint
	//   SCV_DURATION:
	//      Duration() *Duration
	//   SCV_U128:
	//      U128() *UInt128Parts
	//   SCV_I128:
	//      I128() *Int128Parts
	//   SCV_U256:
	//      U256() *UInt256Parts
	//   SCV_I256:
	//      I256() *Int256Parts
	//   SCV_BYTES:
	//      Bytes() *SCBytes
	//   SCV_STRING:
	//      Str() *SCString
	//   SCV_SYMBOL:
	//      Sym() *SCSymbol
	//   SCV_ADDRESS:
	//      Address() *SCAddress
	Type SCValType
	// contains filtered or unexported fields
}

func XDR_SCVal

func XDR_SCVal(v *SCVal) *SCVal

func (*SCVal) Address

func (u *SCVal) Address() *SCAddress

func (*SCVal) B

func (u *SCVal) B() *bool

func (*SCVal) Bytes

func (u *SCVal) Bytes() *SCBytes

func (*SCVal) Duration

func (u *SCVal) Duration() *Duration

func (*SCVal) I32

func (u *SCVal) I32() *Int32

func (*SCVal) I64

func (u *SCVal) I64() *Int64

func (*SCVal) I128

func (u *SCVal) I128() *Int128Parts

func (*SCVal) I256

func (u *SCVal) I256() *Int256Parts

func (*SCVal) Str

func (u *SCVal) Str() *SCString

func (*SCVal) Sym

func (u *SCVal) Sym() *SCSymbol

func (*SCVal) Timepoint

func (u *SCVal) Timepoint() *TimePoint

func (*SCVal) U32

func (u *SCVal) U32() *Uint32

func (*SCVal) U64

func (u *SCVal) U64() *Uint64

func (*SCVal) U128

func (u *SCVal) U128() *UInt128Parts

func (*SCVal) U256

func (u *SCVal) U256() *UInt256Parts

func (*SCVal) XdrMarshal

func (v *SCVal) XdrMarshal(x XDR, name string)

func (*SCVal) XdrPointer

func (v *SCVal) XdrPointer() interface{}

func (*SCVal) XdrRecurse

func (u *SCVal) XdrRecurse(x XDR, name string)

func (SCVal) XdrTypeName

func (SCVal) XdrTypeName() string

func (*SCVal) XdrUnionBody

func (u *SCVal) XdrUnionBody() XdrType

func (*SCVal) XdrUnionBodyName

func (u *SCVal) XdrUnionBodyName() string

func (*SCVal) XdrUnionTag

func (u *SCVal) XdrUnionTag() XdrNum32

func (*SCVal) XdrUnionTagName

func (u *SCVal) XdrUnionTagName() string

func (SCVal) XdrValid

func (u SCVal) XdrValid() bool

func (SCVal) XdrValidTags

func (_ SCVal) XdrValidTags() map[int32]bool

func (SCVal) XdrValue

func (v SCVal) XdrValue() interface{}

type SCValType

type SCValType int32
const (
	SCV_BOOL SCValType = 0
	SCV_VOID SCValType = 1
	// 32 bits is the smallest integer type in XDR; no need for u8/u16.
	SCV_U32 SCValType = 3
	SCV_I32 SCValType = 4
	// 64 bits is natively supported by XDR as well.
	SCV_U64 SCValType = 5
	SCV_I64 SCValType = 6
	// Time-related u64 subtypes with their own functions and formatting.
	SCV_TIMEPOINT SCValType = 7
	SCV_DURATION  SCValType = 8
	// 128 bits is naturally supported by Rust and we use it for Soroban
	// fixed-point arithmetic prices / balances / similar "quantities". These
	// are represented in XDR as a pair of 2 u64s.
	SCV_U128 SCValType = 9
	SCV_I128 SCValType = 10
	// 256 bits is the size of sha256 output, ed25519 keys, and the EVM machine
	// word, so for interop use we include this even though it requires a small
	// amount of Rust guest and/or host library code.
	SCV_U256 SCValType = 11
	SCV_I256 SCValType = 12
	// Bytes come in 3 flavors, 2 of which have meaningfully different
	// formatting and validity-checking / domain-restriction.
	SCV_BYTES  SCValType = 13
	SCV_STRING SCValType = 14
	SCV_SYMBOL SCValType = 15
	// Address is the universal identifier for contracts and classic
	// accounts.
	SCV_ADDRESS SCValType = 18
)

func XDR_SCValType

func XDR_SCValType(v *SCValType) *SCValType

func (SCValType) GetU32

func (v SCValType) GetU32() uint32

func (*SCValType) Scan

func (v *SCValType) Scan(ss fmt.ScanState, _ rune) error

func (*SCValType) SetU32

func (v *SCValType) SetU32(n uint32)

func (SCValType) String

func (v SCValType) String() string

func (SCValType) XdrEnumNames

func (SCValType) XdrEnumNames() map[int32]string

func (*SCValType) XdrMarshal

func (v *SCValType) XdrMarshal(x XDR, name string)

func (*SCValType) XdrPointer

func (v *SCValType) XdrPointer() interface{}

func (SCValType) XdrTypeName

func (SCValType) XdrTypeName() string

func (SCValType) XdrValue

func (v SCValType) XdrValue() interface{}

type SHA256Hash

type SHA256Hash = [32]byte

/ Represents a 256-bit SHA-256 hash.

type SchedDb1

type SchedDb1 interface {
	Scheddb_intro_shard(context.Context, ShardCard) error
	Scheddb_native_tokens_transferred_chunk(context.Context, NativeTokensTransferredChunk) error
}

type SchedDb1_Client

type SchedDb1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (SchedDb1_Client) Scheddb_intro_shard

func (c SchedDb1_Client) Scheddb_intro_shard(ctx context.Context, a1 ShardCard) error

func (SchedDb1_Client) Scheddb_native_tokens_transferred_chunk

func (c SchedDb1_Client) Scheddb_native_tokens_transferred_chunk(ctx context.Context, a1 NativeTokensTransferredChunk) error

func (SchedDb1_Client) WithContext

func (c SchedDb1_Client) WithContext(ctx context.Context) SchedDb1

type SchedDb1_Server

type SchedDb1_Server struct {
	Srv SchedDb1
}

func (SchedDb1_Server) GetProc

func (s SchedDb1_Server) GetProc(p uint32) XdrSrvProc

func (SchedDb1_Server) Prog

func (SchedDb1_Server) Prog() uint32

func (SchedDb1_Server) ProgName

func (SchedDb1_Server) ProgName() string

func (SchedDb1_Server) Vers

func (SchedDb1_Server) Vers() uint32

func (SchedDb1_Server) VersName

func (SchedDb1_Server) VersName() string

type SchedEvent1

type SchedEvent1 interface {
	Schedevent_prepare_event(context.Context, EventCard) (EventPrepareResult, error)
	Schedevent_activate_event(context.Context, EventRegistrationSnapshot) (EventActivationResult, error)
}

type SchedEvent1_Client

type SchedEvent1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (SchedEvent1_Client) Schedevent_activate_event

func (c SchedEvent1_Client) Schedevent_activate_event(ctx context.Context, a1 EventRegistrationSnapshot) (r EventActivationResult, _ error)

func (SchedEvent1_Client) Schedevent_prepare_event

func (c SchedEvent1_Client) Schedevent_prepare_event(ctx context.Context, a1 EventCard) (r EventPrepareResult, _ error)

func (SchedEvent1_Client) WithContext

func (c SchedEvent1_Client) WithContext(ctx context.Context) SchedEvent1

type SchedEvent1_Server

type SchedEvent1_Server struct {
	Srv SchedEvent1
}

func (SchedEvent1_Server) GetProc

func (s SchedEvent1_Server) GetProc(p uint32) XdrSrvProc

func (SchedEvent1_Server) Prog

func (SchedEvent1_Server) Prog() uint32

func (SchedEvent1_Server) ProgName

func (SchedEvent1_Server) ProgName() string

func (SchedEvent1_Server) Vers

func (SchedEvent1_Server) Vers() uint32

func (SchedEvent1_Server) VersName

func (SchedEvent1_Server) VersName() string

type SchedExec1

type SchedExec1 interface {
	Schedexec_intro_exec(context.Context, ExecCard) (IntroExecResult, error)
}

type SchedExec1_Client

type SchedExec1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (SchedExec1_Client) Schedexec_intro_exec

func (c SchedExec1_Client) Schedexec_intro_exec(ctx context.Context, a1 ExecCard) (r IntroExecResult, _ error)

func (SchedExec1_Client) WithContext

func (c SchedExec1_Client) WithContext(ctx context.Context) SchedExec1

type SchedExec1_Server

type SchedExec1_Server struct {
	Srv SchedExec1
}

func (SchedExec1_Server) GetProc

func (s SchedExec1_Server) GetProc(p uint32) XdrSrvProc

func (SchedExec1_Server) Prog

func (SchedExec1_Server) Prog() uint32

func (SchedExec1_Server) ProgName

func (SchedExec1_Server) ProgName() string

func (SchedExec1_Server) Vers

func (SchedExec1_Server) Vers() uint32

func (SchedExec1_Server) VersName

func (SchedExec1_Server) VersName() string

type SchedGateway1

type SchedGateway1 interface {
	Schedgateway_intro(context.Context, ProtocolCommit) (SchedGatewayIntroOutcome, error)
	Schedgateway_submit_tx_batch(context.Context, ParallelSignedTransactionBatch) (SchedGatewaySubmitOutcomeBatch, error)
	Schedgateway_get_tip(context.Context) (ExpectedDBTip, error)
	Schedgateway_lookup_tx(context.Context, TransactionHashBatch) (OptSignedTransactionBatch, error)
	Schedgateway_pending_tx_count(context.Context) (PendingTxCount, error)
	Schedgateway_lookup_transaction_outcomes(context.Context, TransactionHashBatch) (SchedulerTransactionOutcomeBatch, error)
}

type SchedGateway1_Client

type SchedGateway1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (SchedGateway1_Client) Schedgateway_get_tip

func (c SchedGateway1_Client) Schedgateway_get_tip(ctx context.Context) (r ExpectedDBTip, _ error)

func (SchedGateway1_Client) Schedgateway_intro

func (SchedGateway1_Client) Schedgateway_lookup_transaction_outcomes

func (c SchedGateway1_Client) Schedgateway_lookup_transaction_outcomes(ctx context.Context, a1 TransactionHashBatch) (r SchedulerTransactionOutcomeBatch, _ error)

func (SchedGateway1_Client) Schedgateway_lookup_tx

func (SchedGateway1_Client) Schedgateway_pending_tx_count

func (c SchedGateway1_Client) Schedgateway_pending_tx_count(ctx context.Context) (r PendingTxCount, _ error)

func (SchedGateway1_Client) Schedgateway_submit_tx_batch

func (SchedGateway1_Client) WithContext

type SchedGateway1_Server

type SchedGateway1_Server struct {
	Srv SchedGateway1
}

func (SchedGateway1_Server) GetProc

func (s SchedGateway1_Server) GetProc(p uint32) XdrSrvProc

func (SchedGateway1_Server) Prog

func (SchedGateway1_Server) ProgName

func (SchedGateway1_Server) ProgName() string

func (SchedGateway1_Server) Vers

func (SchedGateway1_Server) VersName

func (SchedGateway1_Server) VersName() string

type SchedGatewayIntroOutcome

type SchedGatewayIntroOutcome int32
const (
	SchedGatewayIntroSuccess            SchedGatewayIntroOutcome = 0
	SchedGatewayIntroMismatchedProtocol SchedGatewayIntroOutcome = 1
)

func (SchedGatewayIntroOutcome) GetU32

func (v SchedGatewayIntroOutcome) GetU32() uint32

func (*SchedGatewayIntroOutcome) Scan

func (*SchedGatewayIntroOutcome) SetU32

func (v *SchedGatewayIntroOutcome) SetU32(n uint32)

func (SchedGatewayIntroOutcome) String

func (v SchedGatewayIntroOutcome) String() string

func (SchedGatewayIntroOutcome) XdrEnumNames

func (SchedGatewayIntroOutcome) XdrEnumNames() map[int32]string

func (*SchedGatewayIntroOutcome) XdrMarshal

func (v *SchedGatewayIntroOutcome) XdrMarshal(x XDR, name string)

func (*SchedGatewayIntroOutcome) XdrPointer

func (v *SchedGatewayIntroOutcome) XdrPointer() interface{}

func (SchedGatewayIntroOutcome) XdrTypeName

func (SchedGatewayIntroOutcome) XdrTypeName() string

func (SchedGatewayIntroOutcome) XdrValue

func (v SchedGatewayIntroOutcome) XdrValue() interface{}

type SchedGatewaySubmitOutcome

type SchedGatewaySubmitOutcome int32

The admission result for one exact SignedTransaction encoding in one gateway submission request. A rejection must not be cached or reused by TransactionHash: signatures are not part of that hash.

A successful RPC returns exactly one outcome per decoded transaction, in submission order. A malformed request or cardinality mismatch is an RPC or protocol error; consumers must not infer partial acceptance from it.

const (
	// The transaction was admitted to the mempool, or the same transaction body
	// was already pending. This does not mean it was nominated or committed.
	SchedGatewaySubmitAdmitted SchedGatewaySubmitOutcome = 0
	// This request definitely did not admit the transaction because
	// authentication failed against the state observed for this request.
	SchedGatewaySubmitAuthenticationRejected SchedGatewaySubmitOutcome = 1
	// This request definitely did not admit the transaction because of a
	// transient admission condition; retrying it unchanged may succeed.
	SchedGatewaySubmitRetryable SchedGatewaySubmitOutcome = 2
	// This request definitely did not admit the transaction because an internal
	// dependency failed. An RPC failure instead makes admission indeterminate.
	SchedGatewaySubmitInternalError SchedGatewaySubmitOutcome = 3
)

func (SchedGatewaySubmitOutcome) GetU32

func (v SchedGatewaySubmitOutcome) GetU32() uint32

func (*SchedGatewaySubmitOutcome) Scan

func (*SchedGatewaySubmitOutcome) SetU32

func (v *SchedGatewaySubmitOutcome) SetU32(n uint32)

func (SchedGatewaySubmitOutcome) String

func (v SchedGatewaySubmitOutcome) String() string

func (SchedGatewaySubmitOutcome) XdrEnumNames

func (SchedGatewaySubmitOutcome) XdrEnumNames() map[int32]string

func (*SchedGatewaySubmitOutcome) XdrMarshal

func (v *SchedGatewaySubmitOutcome) XdrMarshal(x XDR, name string)

func (*SchedGatewaySubmitOutcome) XdrPointer

func (v *SchedGatewaySubmitOutcome) XdrPointer() interface{}

func (SchedGatewaySubmitOutcome) XdrTypeName

func (SchedGatewaySubmitOutcome) XdrTypeName() string

func (SchedGatewaySubmitOutcome) XdrValue

func (v SchedGatewaySubmitOutcome) XdrValue() interface{}

type SchedGatewaySubmitOutcomeBatch

type SchedGatewaySubmitOutcomeBatch = []SchedGatewaySubmitOutcome

type SchedulerCommitOutcome

type SchedulerCommitOutcome int32
const (
	SchedulerCommitOK                    SchedulerCommitOutcome = 0
	SchedulerCommitBlockNotFound         SchedulerCommitOutcome = 1
	SchedulerCommitInvalidConsensusValue SchedulerCommitOutcome = 2
	SchedulerConcurrentCommit            SchedulerCommitOutcome = 3
)

func (SchedulerCommitOutcome) GetU32

func (v SchedulerCommitOutcome) GetU32() uint32

func (*SchedulerCommitOutcome) Scan

func (*SchedulerCommitOutcome) SetU32

func (v *SchedulerCommitOutcome) SetU32(n uint32)

func (SchedulerCommitOutcome) String

func (v SchedulerCommitOutcome) String() string

func (SchedulerCommitOutcome) XdrEnumNames

func (SchedulerCommitOutcome) XdrEnumNames() map[int32]string

func (*SchedulerCommitOutcome) XdrMarshal

func (v *SchedulerCommitOutcome) XdrMarshal(x XDR, name string)

func (*SchedulerCommitOutcome) XdrPointer

func (v *SchedulerCommitOutcome) XdrPointer() interface{}

func (SchedulerCommitOutcome) XdrTypeName

func (SchedulerCommitOutcome) XdrTypeName() string

func (SchedulerCommitOutcome) XdrValue

func (v SchedulerCommitOutcome) XdrValue() interface{}

type SchedulerCoord1

type SchedulerCoord1 interface {
	Schedulercoord_null(context.Context) error
	Schedulercoord_intro_coord(context.Context, CoordCard) (CoordinatorRegistrationOutcome, error)
	Schedulercoord_submit_unvetted(context.Context, ParallelSignedTransactionBatch) error
	Schedulercoord_submit_vetted(context.Context, ValidatorID, ParallelSignedTransactionBatch) error
	Schedulercoord_propose_block(context.Context, BlockID, ProposalContext) (SchedulerProposalResult, error)
	Schedulercoord_validate_block(context.Context, BlockID, Proposal) (SchedulerValidationResult, error)
	Schedulercoord_commit_block(context.Context, BlockID, ConsensusValue) (SchedulerCommitOutcome, error)
	Schedcoord_get_tip(context.Context) (SchedulerGetTipResult, error)
	Schedcoord_load_genesis_configuration(context.Context, GenesisConfiguration) (DbSchedResult, error)
	Schedulercoord_commit_genesis_ceremony(context.Context, GenesisCeremonyRequest) (GenesisCeremonyResult, error)
	Schedcoord_lookup_transactions(context.Context, SignedTransactionHashBatch) (OptSignedTransactionBatch, error)
	Schedcoord_lookup_transaction_outcomes(context.Context, TransactionHashBatch) (SchedulerTransactionOutcomeBatch, error)
}

type SchedulerCoord1_Client

type SchedulerCoord1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (SchedulerCoord1_Client) Schedcoord_get_tip

func (c SchedulerCoord1_Client) Schedcoord_get_tip(ctx context.Context) (r SchedulerGetTipResult, _ error)

func (SchedulerCoord1_Client) Schedcoord_load_genesis_configuration

func (c SchedulerCoord1_Client) Schedcoord_load_genesis_configuration(ctx context.Context, a1 GenesisConfiguration) (r DbSchedResult, _ error)

func (SchedulerCoord1_Client) Schedcoord_lookup_transaction_outcomes

func (c SchedulerCoord1_Client) Schedcoord_lookup_transaction_outcomes(ctx context.Context, a1 TransactionHashBatch) (r SchedulerTransactionOutcomeBatch, _ error)

func (SchedulerCoord1_Client) Schedcoord_lookup_transactions

func (c SchedulerCoord1_Client) Schedcoord_lookup_transactions(ctx context.Context, a1 SignedTransactionHashBatch) (r OptSignedTransactionBatch, _ error)

func (SchedulerCoord1_Client) Schedulercoord_commit_block

func (c SchedulerCoord1_Client) Schedulercoord_commit_block(ctx context.Context, a1 BlockID, a2 ConsensusValue) (r SchedulerCommitOutcome, _ error)

func (SchedulerCoord1_Client) Schedulercoord_commit_genesis_ceremony

func (c SchedulerCoord1_Client) Schedulercoord_commit_genesis_ceremony(ctx context.Context, a1 GenesisCeremonyRequest) (r GenesisCeremonyResult, _ error)

func (SchedulerCoord1_Client) Schedulercoord_intro_coord

func (c SchedulerCoord1_Client) Schedulercoord_intro_coord(ctx context.Context, a1 CoordCard) (r CoordinatorRegistrationOutcome, _ error)

func (SchedulerCoord1_Client) Schedulercoord_null

func (c SchedulerCoord1_Client) Schedulercoord_null(ctx context.Context) error

func (SchedulerCoord1_Client) Schedulercoord_propose_block

func (c SchedulerCoord1_Client) Schedulercoord_propose_block(ctx context.Context, a1 BlockID, a2 ProposalContext) (r SchedulerProposalResult, _ error)

func (SchedulerCoord1_Client) Schedulercoord_submit_unvetted

func (c SchedulerCoord1_Client) Schedulercoord_submit_unvetted(ctx context.Context, a1 ParallelSignedTransactionBatch) error

func (SchedulerCoord1_Client) Schedulercoord_submit_vetted

func (c SchedulerCoord1_Client) Schedulercoord_submit_vetted(ctx context.Context, a1 ValidatorID, a2 ParallelSignedTransactionBatch) error

func (SchedulerCoord1_Client) Schedulercoord_validate_block

func (c SchedulerCoord1_Client) Schedulercoord_validate_block(ctx context.Context, a1 BlockID, a2 Proposal) (r SchedulerValidationResult, _ error)

func (SchedulerCoord1_Client) WithContext

type SchedulerCoord1_Server

type SchedulerCoord1_Server struct {
	Srv SchedulerCoord1
}

func (SchedulerCoord1_Server) GetProc

func (s SchedulerCoord1_Server) GetProc(p uint32) XdrSrvProc

func (SchedulerCoord1_Server) Prog

func (SchedulerCoord1_Server) ProgName

func (SchedulerCoord1_Server) ProgName() string

func (SchedulerCoord1_Server) Vers

func (SchedulerCoord1_Server) VersName

func (SchedulerCoord1_Server) VersName() string

type SchedulerErrorCode

type SchedulerErrorCode int32
const (
	// The mempool had no capacity to admit the transaction.
	SchedulerErrorCapacity SchedulerErrorCode = 1
	// The scheduler could not obtain the account's average native-token age.
	SchedulerErrorNativeTokenAgeUnavailable SchedulerErrorCode = 2
	// The transaction's expiry block height is earlier than the current block.
	SchedulerErrorExpired SchedulerErrorCode = 3
	// The transaction's gas limit exceeds the account's available native tokens.
	SchedulerErrorInsufficientNativeTokens SchedulerErrorCode = 4
)

func XDR_SchedulerErrorCode

func XDR_SchedulerErrorCode(v *SchedulerErrorCode) *SchedulerErrorCode

func (SchedulerErrorCode) GetU32

func (v SchedulerErrorCode) GetU32() uint32

func (*SchedulerErrorCode) Scan

func (v *SchedulerErrorCode) Scan(ss fmt.ScanState, _ rune) error

func (*SchedulerErrorCode) SetU32

func (v *SchedulerErrorCode) SetU32(n uint32)

func (SchedulerErrorCode) String

func (v SchedulerErrorCode) String() string

func (SchedulerErrorCode) XdrEnumNames

func (SchedulerErrorCode) XdrEnumNames() map[int32]string

func (*SchedulerErrorCode) XdrInitialize

func (v *SchedulerErrorCode) XdrInitialize()

func (*SchedulerErrorCode) XdrMarshal

func (v *SchedulerErrorCode) XdrMarshal(x XDR, name string)

func (*SchedulerErrorCode) XdrPointer

func (v *SchedulerErrorCode) XdrPointer() interface{}

func (SchedulerErrorCode) XdrTypeName

func (SchedulerErrorCode) XdrTypeName() string

func (SchedulerErrorCode) XdrValue

func (v SchedulerErrorCode) XdrValue() interface{}

type SchedulerGetTipOutcome

type SchedulerGetTipOutcome int32
const (
	SchedulerGetTipOK             SchedulerGetTipOutcome = 0
	SchedulerGetTipNoGenesisBlock SchedulerGetTipOutcome = 1
)

func (SchedulerGetTipOutcome) GetU32

func (v SchedulerGetTipOutcome) GetU32() uint32

func (*SchedulerGetTipOutcome) Scan

func (*SchedulerGetTipOutcome) SetU32

func (v *SchedulerGetTipOutcome) SetU32(n uint32)

func (SchedulerGetTipOutcome) String

func (v SchedulerGetTipOutcome) String() string

func (SchedulerGetTipOutcome) XdrEnumNames

func (SchedulerGetTipOutcome) XdrEnumNames() map[int32]string

func (*SchedulerGetTipOutcome) XdrMarshal

func (v *SchedulerGetTipOutcome) XdrMarshal(x XDR, name string)

func (*SchedulerGetTipOutcome) XdrPointer

func (v *SchedulerGetTipOutcome) XdrPointer() interface{}

func (SchedulerGetTipOutcome) XdrTypeName

func (SchedulerGetTipOutcome) XdrTypeName() string

func (SchedulerGetTipOutcome) XdrValue

func (v SchedulerGetTipOutcome) XdrValue() interface{}

type SchedulerGetTipResult

type SchedulerGetTipResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   SchedulerGetTipOK:
	//      Db_tip() *DbTip
	//   SchedulerGetTipNoGenesisBlock:
	//      void
	Outcome SchedulerGetTipOutcome
	// contains filtered or unexported fields
}

func XDR_SchedulerGetTipResult

func XDR_SchedulerGetTipResult(v *SchedulerGetTipResult) *SchedulerGetTipResult

func (*SchedulerGetTipResult) Db_tip

func (u *SchedulerGetTipResult) Db_tip() *DbTip

func (*SchedulerGetTipResult) XdrMarshal

func (v *SchedulerGetTipResult) XdrMarshal(x XDR, name string)

func (*SchedulerGetTipResult) XdrPointer

func (v *SchedulerGetTipResult) XdrPointer() interface{}

func (*SchedulerGetTipResult) XdrRecurse

func (u *SchedulerGetTipResult) XdrRecurse(x XDR, name string)

func (SchedulerGetTipResult) XdrTypeName

func (SchedulerGetTipResult) XdrTypeName() string

func (*SchedulerGetTipResult) XdrUnionBody

func (u *SchedulerGetTipResult) XdrUnionBody() XdrType

func (*SchedulerGetTipResult) XdrUnionBodyName

func (u *SchedulerGetTipResult) XdrUnionBodyName() string

func (*SchedulerGetTipResult) XdrUnionTag

func (u *SchedulerGetTipResult) XdrUnionTag() XdrNum32

func (*SchedulerGetTipResult) XdrUnionTagName

func (u *SchedulerGetTipResult) XdrUnionTagName() string

func (SchedulerGetTipResult) XdrValid

func (u SchedulerGetTipResult) XdrValid() bool

func (SchedulerGetTipResult) XdrValidTags

func (_ SchedulerGetTipResult) XdrValidTags() map[int32]bool

func (SchedulerGetTipResult) XdrValue

func (v SchedulerGetTipResult) XdrValue() interface{}

type SchedulerProposalOutcome

type SchedulerProposalOutcome int32
const (
	SchedulerProposalOK    SchedulerProposalOutcome = 0
	SchedulerProposalError SchedulerProposalOutcome = 1
)

func (SchedulerProposalOutcome) GetU32

func (v SchedulerProposalOutcome) GetU32() uint32

func (*SchedulerProposalOutcome) Scan

func (*SchedulerProposalOutcome) SetU32

func (v *SchedulerProposalOutcome) SetU32(n uint32)

func (SchedulerProposalOutcome) String

func (v SchedulerProposalOutcome) String() string

func (SchedulerProposalOutcome) XdrEnumNames

func (SchedulerProposalOutcome) XdrEnumNames() map[int32]string

func (*SchedulerProposalOutcome) XdrMarshal

func (v *SchedulerProposalOutcome) XdrMarshal(x XDR, name string)

func (*SchedulerProposalOutcome) XdrPointer

func (v *SchedulerProposalOutcome) XdrPointer() interface{}

func (SchedulerProposalOutcome) XdrTypeName

func (SchedulerProposalOutcome) XdrTypeName() string

func (SchedulerProposalOutcome) XdrValue

func (v SchedulerProposalOutcome) XdrValue() interface{}

type SchedulerProposalResult

type SchedulerProposalResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   SchedulerProposalOK:
	//      Proposed_block() *SchedulerProposedBlock
	//   SchedulerProposalError:
	//      void
	Outcome SchedulerProposalOutcome
	// contains filtered or unexported fields
}

func (*SchedulerProposalResult) Proposed_block

func (u *SchedulerProposalResult) Proposed_block() *SchedulerProposedBlock

func (*SchedulerProposalResult) XdrMarshal

func (v *SchedulerProposalResult) XdrMarshal(x XDR, name string)

func (*SchedulerProposalResult) XdrPointer

func (v *SchedulerProposalResult) XdrPointer() interface{}

func (*SchedulerProposalResult) XdrRecurse

func (u *SchedulerProposalResult) XdrRecurse(x XDR, name string)

func (SchedulerProposalResult) XdrTypeName

func (SchedulerProposalResult) XdrTypeName() string

func (*SchedulerProposalResult) XdrUnionBody

func (u *SchedulerProposalResult) XdrUnionBody() XdrType

func (*SchedulerProposalResult) XdrUnionBodyName

func (u *SchedulerProposalResult) XdrUnionBodyName() string

func (*SchedulerProposalResult) XdrUnionTag

func (u *SchedulerProposalResult) XdrUnionTag() XdrNum32

func (*SchedulerProposalResult) XdrUnionTagName

func (u *SchedulerProposalResult) XdrUnionTagName() string

func (SchedulerProposalResult) XdrValid

func (u SchedulerProposalResult) XdrValid() bool

func (SchedulerProposalResult) XdrValidTags

func (_ SchedulerProposalResult) XdrValidTags() map[int32]bool

func (SchedulerProposalResult) XdrValue

func (v SchedulerProposalResult) XdrValue() interface{}

type SchedulerProposedBlock

type SchedulerProposedBlock struct {
	Block_id BlockID
	Txs      ParallelSignedTransactionBatch
	Proposal Proposal
}

func (*SchedulerProposedBlock) XdrMarshal

func (v *SchedulerProposedBlock) XdrMarshal(x XDR, name string)

func (*SchedulerProposedBlock) XdrPointer

func (v *SchedulerProposedBlock) XdrPointer() interface{}

func (*SchedulerProposedBlock) XdrRecurse

func (v *SchedulerProposedBlock) XdrRecurse(x XDR, name string)

func (SchedulerProposedBlock) XdrTypeName

func (SchedulerProposedBlock) XdrTypeName() string

func (SchedulerProposedBlock) XdrValue

func (v SchedulerProposedBlock) XdrValue() interface{}

type SchedulerTransactionErrorSource

type SchedulerTransactionErrorSource int32
const (
	// There is no error to report.
	SchedulerTransactionErrorNone SchedulerTransactionErrorSource = 0
	// The error was triggered by the authentication subsystem.
	SchedulerTransactionErrorAuth SchedulerTransactionErrorSource = 1
	// The error was triggered by the mempool.
	SchedulerTransactionErrorScheduler SchedulerTransactionErrorSource = 2
	// The error was triggered by an executor.
	SchedulerTransactionErrorExecutor SchedulerTransactionErrorSource = 3
)

func (SchedulerTransactionErrorSource) GetU32

func (*SchedulerTransactionErrorSource) Scan

func (*SchedulerTransactionErrorSource) SetU32

func (SchedulerTransactionErrorSource) String

func (SchedulerTransactionErrorSource) XdrEnumNames

func (SchedulerTransactionErrorSource) XdrEnumNames() map[int32]string

func (*SchedulerTransactionErrorSource) XdrMarshal

func (v *SchedulerTransactionErrorSource) XdrMarshal(x XDR, name string)

func (*SchedulerTransactionErrorSource) XdrPointer

func (v *SchedulerTransactionErrorSource) XdrPointer() interface{}

func (SchedulerTransactionErrorSource) XdrTypeName

func (SchedulerTransactionErrorSource) XdrValue

func (v SchedulerTransactionErrorSource) XdrValue() interface{}

type SchedulerTransactionOutcome

type SchedulerTransactionOutcome struct {
	// The tx status. If the status is an error, then [error_source] and
	// [error_code] are filled in below. If the status is not an error, then
	// [error_source] and [error_code] have unspecified values.
	Status SchedulerTransactionStatus
	// Identifies the enum represented by [error_code] below.
	//
	// - None ([SchedulerTransactionErrorNone]): there was no error and
	//   [error_code] has an unspecified value.
	//
	// - Auth, Scheduler, and Executor: [error_code] is an [AuthErrorCode],
	//   [SchedulerErrorCode], or [ExecResult], respectively.
	Error_source SchedulerTransactionErrorSource
	// The actual error.
	Error_code int32
	// For [SchedulerTransactionSucceeded], the committed block height.
	// For [SchedulerTransactionRetry] or [SchedulerTransactionDropped], the
	// proposal height for an executor failure, or the current chain height for
	// an admission/scheduler failure.
	// For [SchedulerTransactionPending], the current chain height at lookup.
	// Unspecified for [SchedulerTransactionNotFound].
	// Zero is a valid height.
	Height BlockHeight
}

func (*SchedulerTransactionOutcome) XdrMarshal

func (v *SchedulerTransactionOutcome) XdrMarshal(x XDR, name string)

func (*SchedulerTransactionOutcome) XdrPointer

func (v *SchedulerTransactionOutcome) XdrPointer() interface{}

func (*SchedulerTransactionOutcome) XdrRecurse

func (v *SchedulerTransactionOutcome) XdrRecurse(x XDR, name string)

func (SchedulerTransactionOutcome) XdrTypeName

func (SchedulerTransactionOutcome) XdrTypeName() string

func (SchedulerTransactionOutcome) XdrValue

func (v SchedulerTransactionOutcome) XdrValue() interface{}

type SchedulerTransactionOutcomeBatch

type SchedulerTransactionOutcomeBatch = []SchedulerTransactionOutcome

type SchedulerTransactionStatus

type SchedulerTransactionStatus int32
const (
	// The transaction is not pending and has no retained outcome. Note that the
	// tx *may* have existed at some point in the past, but has since been dropped
	// altogether from the mempool since the bounded queue filled. This not-found
	// status does not necessarily mean the tx has never existed at all.
	SchedulerTransactionNotFound SchedulerTransactionStatus = 0
	// The transaction is currently pending in the mempool.
	SchedulerTransactionPending SchedulerTransactionStatus = 1
	// The transaction was successfully committed in a block. This status does
	// *not* mean that the tx was successfully included in a proposed block or a
	// verified block--the block needs to go on to actually be committed.
	SchedulerTransactionSucceeded SchedulerTransactionStatus = 2
	// Processing failed for a retryable reason; the transaction may be
	// resubmitted. Note that it is the responsibility of the wallet owner to
	// resubmit the tx--the mempool will not retry the tx on its own.
	SchedulerTransactionRetry SchedulerTransactionStatus = 3
	// Processing failed permanently; the transaction should not be resubmitted
	// because the error is irrecoverable (e.g., failed authentication). The tx
	// needs to be modified in some way before it can be successfully processed.
	SchedulerTransactionDropped SchedulerTransactionStatus = 4
)

func (SchedulerTransactionStatus) GetU32

func (*SchedulerTransactionStatus) Scan

func (*SchedulerTransactionStatus) SetU32

func (v *SchedulerTransactionStatus) SetU32(n uint32)

func (SchedulerTransactionStatus) String

func (SchedulerTransactionStatus) XdrEnumNames

func (SchedulerTransactionStatus) XdrEnumNames() map[int32]string

func (*SchedulerTransactionStatus) XdrMarshal

func (v *SchedulerTransactionStatus) XdrMarshal(x XDR, name string)

func (*SchedulerTransactionStatus) XdrPointer

func (v *SchedulerTransactionStatus) XdrPointer() interface{}

func (SchedulerTransactionStatus) XdrTypeName

func (SchedulerTransactionStatus) XdrTypeName() string

func (SchedulerTransactionStatus) XdrValue

func (v SchedulerTransactionStatus) XdrValue() interface{}

type SchedulerValidationBlock

type SchedulerValidationBlock struct {
	Block_id            BlockID
	Signed_transactions ParallelSignedTransactionBatch
}

func (*SchedulerValidationBlock) XdrMarshal

func (v *SchedulerValidationBlock) XdrMarshal(x XDR, name string)

func (*SchedulerValidationBlock) XdrPointer

func (v *SchedulerValidationBlock) XdrPointer() interface{}

func (*SchedulerValidationBlock) XdrRecurse

func (v *SchedulerValidationBlock) XdrRecurse(x XDR, name string)

func (SchedulerValidationBlock) XdrTypeName

func (SchedulerValidationBlock) XdrTypeName() string

func (SchedulerValidationBlock) XdrValue

func (v SchedulerValidationBlock) XdrValue() interface{}

type SchedulerValidationOutcome

type SchedulerValidationOutcome int32
const (
	SchedulerValidationOK                 SchedulerValidationOutcome = 0
	SchedulerValidationInvalid            SchedulerValidationOutcome = 1
	SchedulerValidationMissingTxs         SchedulerValidationOutcome = 2
	SchedulerValidationDbFailed           SchedulerValidationOutcome = 3
	SchedulerValidationExecutorFailed     SchedulerValidationOutcome = 4
	SchedulerValidationTooLateToValidate  SchedulerValidationOutcome = 5
	SchedulerValidationUnknownParentBlock SchedulerValidationOutcome = 6
	// Proposal batch metadata is malformed or fails to decode (e.g.
	// segment token/byte counts are inconsistent, XDR deserialization
	// fails, or signed_hash/nondeterministic_data counts do not match).
	SchedulerValidationMalformed SchedulerValidationOutcome = 7
)

func (SchedulerValidationOutcome) GetU32

func (*SchedulerValidationOutcome) Scan

func (*SchedulerValidationOutcome) SetU32

func (v *SchedulerValidationOutcome) SetU32(n uint32)

func (SchedulerValidationOutcome) String

func (SchedulerValidationOutcome) XdrEnumNames

func (SchedulerValidationOutcome) XdrEnumNames() map[int32]string

func (*SchedulerValidationOutcome) XdrMarshal

func (v *SchedulerValidationOutcome) XdrMarshal(x XDR, name string)

func (*SchedulerValidationOutcome) XdrPointer

func (v *SchedulerValidationOutcome) XdrPointer() interface{}

func (SchedulerValidationOutcome) XdrTypeName

func (SchedulerValidationOutcome) XdrTypeName() string

func (SchedulerValidationOutcome) XdrValue

func (v SchedulerValidationOutcome) XdrValue() interface{}

type SchedulerValidationResult

type SchedulerValidationResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   SchedulerValidationOK:
	//      Block() *SchedulerValidationBlock
	//   SchedulerValidationMissingTxs:
	//      Missing_signed_tx_hashes() *[]SignedTransactionHash
	//   SchedulerValidationDbFailed, SchedulerValidationExecutorFailed, SchedulerValidationInvalid, SchedulerValidationTooLateToValidate, SchedulerValidationUnknownParentBlock, SchedulerValidationMalformed:
	//      void
	Outcome SchedulerValidationOutcome
	// contains filtered or unexported fields
}

func (*SchedulerValidationResult) Block

func (*SchedulerValidationResult) Missing_signed_tx_hashes

func (u *SchedulerValidationResult) Missing_signed_tx_hashes() *[]SignedTransactionHash

The proposal's transactions this mempool does not hold in the proposed encoding, including bodies it holds under a different signing.

func (*SchedulerValidationResult) XdrMarshal

func (v *SchedulerValidationResult) XdrMarshal(x XDR, name string)

func (*SchedulerValidationResult) XdrPointer

func (v *SchedulerValidationResult) XdrPointer() interface{}

func (*SchedulerValidationResult) XdrRecurse

func (u *SchedulerValidationResult) XdrRecurse(x XDR, name string)

func (SchedulerValidationResult) XdrTypeName

func (SchedulerValidationResult) XdrTypeName() string

func (*SchedulerValidationResult) XdrUnionBody

func (u *SchedulerValidationResult) XdrUnionBody() XdrType

func (*SchedulerValidationResult) XdrUnionBodyName

func (u *SchedulerValidationResult) XdrUnionBodyName() string

func (*SchedulerValidationResult) XdrUnionTag

func (u *SchedulerValidationResult) XdrUnionTag() XdrNum32

func (*SchedulerValidationResult) XdrUnionTagName

func (u *SchedulerValidationResult) XdrUnionTagName() string

func (SchedulerValidationResult) XdrValid

func (u SchedulerValidationResult) XdrValid() bool

func (SchedulerValidationResult) XdrValidTags

func (_ SchedulerValidationResult) XdrValidTags() map[int32]bool

func (SchedulerValidationResult) XdrValue

func (v SchedulerValidationResult) XdrValue() interface{}

type Seconds

type Seconds = int64

type SecretKey

type SecretKey struct {
	// The union discriminant Scheme selects among the following arms:
	//   Ed25519:
	//      Ed25519() *Ed25519SecretKey
	//   MlDsa65:
	//      Mldsa65() *MlDsa65SecretKey
	Scheme CryptographicScheme
	// contains filtered or unexported fields
}

/ Union of a SecretKey type over the various cryptographic schemes.

func XDR_SecretKey

func XDR_SecretKey(v *SecretKey) *SecretKey

func (*SecretKey) Ed25519

func (u *SecretKey) Ed25519() *Ed25519SecretKey

func (*SecretKey) Mldsa65

func (u *SecretKey) Mldsa65() *MlDsa65SecretKey

#[rust(box_ptr)], #[cpp(box)]

func (*SecretKey) XdrMarshal

func (v *SecretKey) XdrMarshal(x XDR, name string)

func (*SecretKey) XdrPointer

func (v *SecretKey) XdrPointer() interface{}

func (*SecretKey) XdrRecurse

func (u *SecretKey) XdrRecurse(x XDR, name string)

func (SecretKey) XdrTypeName

func (SecretKey) XdrTypeName() string

func (*SecretKey) XdrUnionBody

func (u *SecretKey) XdrUnionBody() XdrType

func (*SecretKey) XdrUnionBodyName

func (u *SecretKey) XdrUnionBodyName() string

func (*SecretKey) XdrUnionTag

func (u *SecretKey) XdrUnionTag() XdrNum32

func (*SecretKey) XdrUnionTagName

func (u *SecretKey) XdrUnionTagName() string

func (SecretKey) XdrValid

func (u SecretKey) XdrValid() bool

func (SecretKey) XdrValidTags

func (_ SecretKey) XdrValidTags() map[int32]bool

func (SecretKey) XdrValue

func (v SecretKey) XdrValue() interface{}

type ServerAddress

type ServerAddress = string

/ ServerAddress is an IP (or hostname) and port address, separated by a / colon.

type ShardCard

type ShardCard struct {
	Protocol     ProtocolCommit
	Upid         UPID
	Block_height BlockHeight
	// This is the db address that the executor should connect to.
	Address_for_exec ServerAddress
	// This is the db address that the scheduler should connect to.
	Address_for_sched ServerAddress
	// This is the db address that the auth server should connect to.
	Address_for_auth ServerAddress
}

ShardCard uniquely describes a database shard instance and its initial state.

func XDR_ShardCard

func XDR_ShardCard(v *ShardCard) *ShardCard

func (*ShardCard) XdrMarshal

func (v *ShardCard) XdrMarshal(x XDR, name string)

func (*ShardCard) XdrPointer

func (v *ShardCard) XdrPointer() interface{}

func (*ShardCard) XdrRecurse

func (v *ShardCard) XdrRecurse(x XDR, name string)

func (ShardCard) XdrTypeName

func (ShardCard) XdrTypeName() string

func (ShardCard) XdrValue

func (v ShardCard) XdrValue() interface{}

type Signature

type Signature struct {
	// The union discriminant Scheme selects among the following arms:
	//   Ed25519:
	//      Ed25519() *Ed25519Signature
	//   MlDsa65:
	//      Mldsa65() *MlDsa65Signature
	Scheme CryptographicScheme
	// contains filtered or unexported fields
}

/ Union of a Signature type over the various cryptographic schemes. / / The ML-DSA arms of Signature, PublicKey and SecretKey are boxed (heap / allocated) in both C++ and Rust, so that Ed25519 signatures and keys, which / are most of them, do not each take the size of the largest ML-DSA value in / memory.

func XDR_Signature

func XDR_Signature(v *Signature) *Signature

func (*Signature) Ed25519

func (u *Signature) Ed25519() *Ed25519Signature

func (*Signature) Mldsa65

func (u *Signature) Mldsa65() *MlDsa65Signature

#[rust(box_ptr)], #[cpp(box)]

func (*Signature) XdrMarshal

func (v *Signature) XdrMarshal(x XDR, name string)

func (*Signature) XdrPointer

func (v *Signature) XdrPointer() interface{}

func (*Signature) XdrRecurse

func (u *Signature) XdrRecurse(x XDR, name string)

func (Signature) XdrTypeName

func (Signature) XdrTypeName() string

func (*Signature) XdrUnionBody

func (u *Signature) XdrUnionBody() XdrType

func (*Signature) XdrUnionBodyName

func (u *Signature) XdrUnionBodyName() string

func (*Signature) XdrUnionTag

func (u *Signature) XdrUnionTag() XdrNum32

func (*Signature) XdrUnionTagName

func (u *Signature) XdrUnionTagName() string

func (Signature) XdrValid

func (u Signature) XdrValid() bool

func (Signature) XdrValidTags

func (_ Signature) XdrValidTags() map[int32]bool

func (Signature) XdrValue

func (v Signature) XdrValue() interface{}

type SignedCatchupBlocksRequest

type SignedCatchupBlocksRequest struct {
	Signer    ValidatorPublicInfo
	Signature Signature
	Request   CatchupBlocksRequest
}

func (*SignedCatchupBlocksRequest) XdrMarshal

func (v *SignedCatchupBlocksRequest) XdrMarshal(x XDR, name string)

func (*SignedCatchupBlocksRequest) XdrPointer

func (v *SignedCatchupBlocksRequest) XdrPointer() interface{}

func (*SignedCatchupBlocksRequest) XdrRecurse

func (v *SignedCatchupBlocksRequest) XdrRecurse(x XDR, name string)

func (SignedCatchupBlocksRequest) XdrTypeName

func (SignedCatchupBlocksRequest) XdrTypeName() string

func (SignedCatchupBlocksRequest) XdrValue

func (v SignedCatchupBlocksRequest) XdrValue() interface{}

type SignedCatchupBlocksResult

type SignedCatchupBlocksResult struct {
	Signer    ValidatorPublicInfo
	Signature Signature
	Result    CatchupBlocksResult
}

func (*SignedCatchupBlocksResult) XdrMarshal

func (v *SignedCatchupBlocksResult) XdrMarshal(x XDR, name string)

func (*SignedCatchupBlocksResult) XdrPointer

func (v *SignedCatchupBlocksResult) XdrPointer() interface{}

func (*SignedCatchupBlocksResult) XdrRecurse

func (v *SignedCatchupBlocksResult) XdrRecurse(x XDR, name string)

func (SignedCatchupBlocksResult) XdrTypeName

func (SignedCatchupBlocksResult) XdrTypeName() string

func (SignedCatchupBlocksResult) XdrValue

func (v SignedCatchupBlocksResult) XdrValue() interface{}

type SignedQuorumSetSnapshot

type SignedQuorumSetSnapshot struct {
	Signer              ValidatorPublicInfo
	Signature           Signature
	Quorum_set_snapshot QuorumSetSnapshot
}

func (*SignedQuorumSetSnapshot) XdrMarshal

func (v *SignedQuorumSetSnapshot) XdrMarshal(x XDR, name string)

func (*SignedQuorumSetSnapshot) XdrPointer

func (v *SignedQuorumSetSnapshot) XdrPointer() interface{}

func (*SignedQuorumSetSnapshot) XdrRecurse

func (v *SignedQuorumSetSnapshot) XdrRecurse(x XDR, name string)

func (SignedQuorumSetSnapshot) XdrTypeName

func (SignedQuorumSetSnapshot) XdrTypeName() string

func (SignedQuorumSetSnapshot) XdrValue

func (v SignedQuorumSetSnapshot) XdrValue() interface{}

type SignedTransaction

type SignedTransaction struct {
	/// The transaction to execute.
	Tx Transaction
	/// Signatures that authorize this transaction.
	///
	/// These signatures must satisfy the auth_claim in the transaction.
	/// See [`SignedTransaction`] for the message they sign.
	Signatures []DecoratedSignature
	/// The public key a `kPubkeySignature` auth claim names by hash.
	///
	/// Present exactly when the auth claim is `kPubkeySignature`, and then its
	/// [`PublicKeyHash`] must equal the claim's `pubkey_preimage.pubkey_hash`.
	/// It sits outside the signed [`Transaction`] because the claim already
	/// commits to it by hash; keeping it out of the claim keeps the claim that
	/// contracts read the same size for every scheme.
	Pubkey_claim_key *PublicKey
}

/ A transaction with cryptographic signatures. / / This is the form in which transactions are transmitted and stored. / Before execution, the signatures are verified against the auth claim. / / Each signature is over / `cxs(DomainSeparator("Transaction")) || network_hash || xdr(tx)`: the / domain separator keeps it from being reinterpreted as a signature over / another object, and the network hash binds it to one network.

func XDR_SignedTransaction

func XDR_SignedTransaction(v *SignedTransaction) *SignedTransaction

func (*SignedTransaction) XdrMarshal

func (v *SignedTransaction) XdrMarshal(x XDR, name string)

func (*SignedTransaction) XdrPointer

func (v *SignedTransaction) XdrPointer() interface{}

func (*SignedTransaction) XdrRecurse

func (v *SignedTransaction) XdrRecurse(x XDR, name string)

func (SignedTransaction) XdrTypeName

func (SignedTransaction) XdrTypeName() string

func (SignedTransaction) XdrValue

func (v SignedTransaction) XdrValue() interface{}

type SignedTransactionBatch

type SignedTransactionBatch = []SignedTransaction

/ A batch of signed transactions.

type SignedTransactionHash

type SignedTransactionHash = SHA256Hash

/ Hash of one exact signed encoding of a transaction. / / This is the SHA-256 hash of the canonical XDR of a [`SignedTransaction`]: / the [`Transaction`], its signatures and its `pubkey_claim_key`. Two / signings of one body share a [`TransactionHash`] but not a / [`SignedTransactionHash`]. / / Proposals name their transactions by this hash, so every validator / executes the encoding the proposer chose rather than whichever signing of / the body it happens to hold. A validator that holds a different signing / treats the transaction as missing and fetches the proposer's. It is not a / lookup key for users: re-signing a body changes it.

type SignedTransactionHashBatch

type SignedTransactionHashBatch = []SignedTransactionHash

/ A batch of signed transaction hashes.

type SignedValidatorInfoSnapshot

type SignedValidatorInfoSnapshot struct {
	Signer             ValidatorPublicInfo
	Signature          Signature
	Validator_snapshot ValidatorInfoSnapshot
}

func (*SignedValidatorInfoSnapshot) XdrMarshal

func (v *SignedValidatorInfoSnapshot) XdrMarshal(x XDR, name string)

func (*SignedValidatorInfoSnapshot) XdrPointer

func (v *SignedValidatorInfoSnapshot) XdrPointer() interface{}

func (*SignedValidatorInfoSnapshot) XdrRecurse

func (v *SignedValidatorInfoSnapshot) XdrRecurse(x XDR, name string)

func (SignedValidatorInfoSnapshot) XdrTypeName

func (SignedValidatorInfoSnapshot) XdrTypeName() string

func (SignedValidatorInfoSnapshot) XdrValue

func (v SignedValidatorInfoSnapshot) XdrValue() interface{}

type StorageConfig

type StorageConfig struct {
	Reclaim_interval_msec Milliseconds
	Max_catchup_blocks    int32
	Max_scp_slots         int32
}

func XDR_StorageConfig

func XDR_StorageConfig(v *StorageConfig) *StorageConfig

func (*StorageConfig) XdrMarshal

func (v *StorageConfig) XdrMarshal(x XDR, name string)

func (*StorageConfig) XdrPointer

func (v *StorageConfig) XdrPointer() interface{}

func (*StorageConfig) XdrRecurse

func (v *StorageConfig) XdrRecurse(x XDR, name string)

func (StorageConfig) XdrTypeName

func (StorageConfig) XdrTypeName() string

func (StorageConfig) XdrValue

func (v StorageConfig) XdrValue() interface{}

type StorageCost

type StorageCost = Int128_xdr

type StorageCostModelXdr

type StorageCostModelXdr struct {
	Ext                               ExtensionPoint
	Base_data_item_cost               uint64
	Bytestring_cost_per_byte          uint32
	Base_contract_deployment_cost     uint64
	Contract_deployment_cost_per_byte uint64
	Auth_per_key_cost                 uint64
	Rcq_cost_per_entry                uint64
	Replay_cache_cost_per_entry       uint64
	Balance_cost                      uint64
}

func XDR_StorageCostModelXdr

func XDR_StorageCostModelXdr(v *StorageCostModelXdr) *StorageCostModelXdr

func (*StorageCostModelXdr) XdrMarshal

func (v *StorageCostModelXdr) XdrMarshal(x XDR, name string)

func (*StorageCostModelXdr) XdrPointer

func (v *StorageCostModelXdr) XdrPointer() interface{}

func (*StorageCostModelXdr) XdrRecurse

func (v *StorageCostModelXdr) XdrRecurse(x XDR, name string)

func (StorageCostModelXdr) XdrTypeName

func (StorageCostModelXdr) XdrTypeName() string

func (StorageCostModelXdr) XdrValue

func (v StorageCostModelXdr) XdrValue() interface{}

type StorageDelta

type StorageDelta struct {
	// The union discriminant Type selects among the following arms:
	//   KDeltaTypeBytestringSet:
	//      Bytestring() *Bytestring
	//   KDeltaTypeNonnegativeIntSetAdd:
	//      Nnint() *NonnegativeInt128SetAddArgs
	//   KDeltaTypeNonnegativeIntAdd:
	//      Nnint_add() *Int128_xdr
	//   KDeltaTypeDelete:
	//      void
	//   KDeltaTypeRetrocausalQueue:
	//      Retrocausal_queue() *RetrocausalQueueDelta
	//   KDeltaTypeAuthDataChange:
	//      Auth_data_change() *AuthDataChangeArgs
	//   KDeltaTypeDeployContract:
	//      Deployed_contract_hash() *DeployedContractHash
	//   KDeltaTypeConsumeUniquifier:
	//      Consume_uniquifier_args() *ConsumeUniquifierArgs
	Type StorageDeltaType
	// contains filtered or unexported fields
}

/ One change (of possibly many) accumulated by a transaction to be applied to the database / if the transaction commits. / / Each operation (other than `kDeltaTypeDelete`) will create an item of one specific type / at the storage key it is applied to. `kDeltaTypeDelete` will delete the item. / These writes overwrite an existing item at the storage key, if any. / Two deltas conflict with each other if they would create different types of items / at the same storage key (or if one would delete an item that the other would create). / / Beyond that, each subtype of storage delta has its own conflict resolution rules.

func XDR_StorageDelta

func XDR_StorageDelta(v *StorageDelta) *StorageDelta

func (*StorageDelta) Auth_data_change

func (u *StorageDelta) Auth_data_change() *AuthDataChangeArgs

/ Changes the authorization data for the current address. / / Item Type: `kItemTypeAuthData` / / Conflicts: / - Will conflict with any other auth change delta in the same block.

func (*StorageDelta) Bytestring

func (u *StorageDelta) Bytestring() *Bytestring

/ Creates a bytestring item, with the supplied value. / / Item Type: `kItemTypeBytestring` / / Conflicts: / - Will conflict with any other delta that creates a *different* item at the same storage key.

func (*StorageDelta) Consume_uniquifier_args

func (u *StorageDelta) Consume_uniquifier_args() *ConsumeUniquifierArgs

/ Add a [`Uniquifier`] to the replay cache. / / Item Type: kItemTypeReplayCacheData / / Conflicts: / - Will conflict with any other attempt to consume the same [`Uniquifier`].

func (*StorageDelta) Deployed_contract_hash

func (u *StorageDelta) Deployed_contract_hash() *DeployedContractHash

/ Deploys a new contract for the current address. / / Item Type: `kItemTypeDeployedContractHash` / / Conflicts: / - None. The semantics of how contract deployment addresses are calculated (see [`ContractDeploymentHashPreimage`]) / if two transactions deploy a contract to the same address, / then both transactions are deploying the exact same contract.

func (*StorageDelta) Nnint

/ Creates a nonnegative integer item. / The value of the int will be equal to the `set_value`, plus the sum of all the `add_value`s supplied / by this delta and all NonnegativeInt128SetAdd and NonnegativeInt128Add deltas in the same block. / / Item Type: `kItemTypeNonnegativeInt` / / Conflicts: / - Will conflict with any NonnegativeIntSetAdd delta with a different `set_value`. / - NonnegativeIntAdd deltas are equivalent to a NonnegativeIntSetAdd delta with a `set_value` equal / to the value of the item at the start of the block (if it is a nonnegative integer) or 0 otherwise. / If that implicit set_value is not the same as the supplied `set_value`, the deltas will conflict. / - At the end of a block, the value will be `set_value` plus the sum of all `add_values` supplied by this / delta and other deltas from the same block. Thruput maintains the property that this expression / does not overflow a 128-bit integer, and that that value is always at least `min(set_value, 0)`.

func (*StorageDelta) Nnint_add

func (u *StorageDelta) Nnint_add() *Int128_xdr

/ Adds the supplied value to the nonnegative integer item at the storage key. / This type is equivalent to a NonnegativeIntSetAdd delta with a `set_value` / equal to the value of the item at the start of the block (if it is a nonnegative integer) or 0 otherwise. / This delta type enables a more efficient implementation of common nonnegative integer use cases (like token balances). / / Item Type: `kItemTypeNonnegativeInt` / / Conflicts: / - Same as NonnegativeIntSetAdd deltas.

func (*StorageDelta) Retrocausal_queue

func (u *StorageDelta) Retrocausal_queue() *RetrocausalQueueDelta

/ Consumes or inserts entries into the retrocausal queue. / / Item Type: `kItemTypeRetrocausalQueue` / / Conflicts: / - Insertions do not conflict with each other. / TODO: we may impose limits on the number of entries that can be inserted in one block. / - Consuming entries conflicts with other consumption deltas in the same block.

func (*StorageDelta) XdrMarshal

func (v *StorageDelta) XdrMarshal(x XDR, name string)

func (*StorageDelta) XdrPointer

func (v *StorageDelta) XdrPointer() interface{}

func (*StorageDelta) XdrRecurse

func (u *StorageDelta) XdrRecurse(x XDR, name string)

func (StorageDelta) XdrTypeName

func (StorageDelta) XdrTypeName() string

func (*StorageDelta) XdrUnionBody

func (u *StorageDelta) XdrUnionBody() XdrType

func (*StorageDelta) XdrUnionBodyName

func (u *StorageDelta) XdrUnionBodyName() string

func (*StorageDelta) XdrUnionTag

func (u *StorageDelta) XdrUnionTag() XdrNum32

func (*StorageDelta) XdrUnionTagName

func (u *StorageDelta) XdrUnionTagName() string

func (StorageDelta) XdrValid

func (u StorageDelta) XdrValid() bool

func (StorageDelta) XdrValidTags

func (_ StorageDelta) XdrValidTags() map[int32]bool

func (StorageDelta) XdrValue

func (v StorageDelta) XdrValue() interface{}

type StorageDeltaFlagSet

type StorageDeltaFlagSet = uint32

/ A bitset of StorageDeltaFlags values. / / Unsigned because it holds bits, not a number, even though / StorageDeltaFlags, like every XDR enum, is a signed int.

type StorageDeltaFlags

type StorageDeltaFlags int32

/ Flags that can be set on a storage delta to modify its behavior. / Multiple flags can be combined using bitwise OR.

const (
	None StorageDeltaFlags = 0
	/// Forces the delta to acquire an exclusive lock on the item at the storage key,
	/// regardless of any other conflict resolution rules.
	ExclusiveLock StorageDeltaFlags = StorageDeltaFlags(0x00000001)
)

func XDR_StorageDeltaFlags

func XDR_StorageDeltaFlags(v *StorageDeltaFlags) *StorageDeltaFlags

func (StorageDeltaFlags) GetU32

func (v StorageDeltaFlags) GetU32() uint32

func (*StorageDeltaFlags) Scan

func (v *StorageDeltaFlags) Scan(ss fmt.ScanState, _ rune) error

func (*StorageDeltaFlags) SetU32

func (v *StorageDeltaFlags) SetU32(n uint32)

func (StorageDeltaFlags) String

func (v StorageDeltaFlags) String() string

func (StorageDeltaFlags) XdrEnumNames

func (StorageDeltaFlags) XdrEnumNames() map[int32]string

func (*StorageDeltaFlags) XdrMarshal

func (v *StorageDeltaFlags) XdrMarshal(x XDR, name string)

func (*StorageDeltaFlags) XdrPointer

func (v *StorageDeltaFlags) XdrPointer() interface{}

func (StorageDeltaFlags) XdrTypeName

func (StorageDeltaFlags) XdrTypeName() string

func (StorageDeltaFlags) XdrValue

func (v StorageDeltaFlags) XdrValue() interface{}

type StorageDeltaType

type StorageDeltaType int32

/ The types of changes accumulated by a transaction that will be applied to the database / if the transaction commits.

const (
	KDeltaTypeBytestringSet        StorageDeltaType = 0
	KDeltaTypeNonnegativeIntSetAdd StorageDeltaType = 1
	KDeltaTypeDelete               StorageDeltaType = 2
	KDeltaTypeRetrocausalQueue     StorageDeltaType = 3
	KDeltaTypeNonnegativeIntAdd    StorageDeltaType = 5
	KDeltaTypeAuthDataChange       StorageDeltaType = 6
	KDeltaTypeDeployContract       StorageDeltaType = 7
	KDeltaTypeConsumeUniquifier    StorageDeltaType = 8
)

func XDR_StorageDeltaType

func XDR_StorageDeltaType(v *StorageDeltaType) *StorageDeltaType

func (StorageDeltaType) GetU32

func (v StorageDeltaType) GetU32() uint32

func (*StorageDeltaType) Scan

func (v *StorageDeltaType) Scan(ss fmt.ScanState, _ rune) error

func (*StorageDeltaType) SetU32

func (v *StorageDeltaType) SetU32(n uint32)

func (StorageDeltaType) String

func (v StorageDeltaType) String() string

func (StorageDeltaType) XdrEnumNames

func (StorageDeltaType) XdrEnumNames() map[int32]string

func (*StorageDeltaType) XdrMarshal

func (v *StorageDeltaType) XdrMarshal(x XDR, name string)

func (*StorageDeltaType) XdrPointer

func (v *StorageDeltaType) XdrPointer() interface{}

func (StorageDeltaType) XdrTypeName

func (StorageDeltaType) XdrTypeName() string

func (StorageDeltaType) XdrValue

func (v StorageDeltaType) XdrValue() interface{}

type StorageItem

type StorageItem struct {
	// The union discriminant Type selects among the following arms:
	//   KItemTypeBytestring:
	//      Bytestring() *Bytestring
	//   KItemTypeNonnegativeInt:
	//      Nnint() *Int128_xdr
	//   KItemTypeRetrocausalQueue:
	//      Queue_entries() *[]QueueEntry
	//   KItemTypeReplayCacheData:
	//      Active_uniquifiers() *[]Uniquifier
	//   KItemTypeAuthData:
	//      Auth_data() *AddressAuthData
	//   KItemTypeDeployedContractHash:
	//      Deployed_contract_hash() *DeployedContractHash
	Type StorageItemType
	// contains filtered or unexported fields
}

/ The value at every storage key is one of the following data types. / / [`StorageDelta`]s are modifications that are applied to these StorageItem objects. / / Contracts do not generally directly load these values, but can access them via the typed / system call interface provided by the Thruput runtime. / For example, a contract can call `BytestringGet`, which will return either a Bytestring value or / an error if the storage key does not exist or contains a different type.

func XDR_StorageItem

func XDR_StorageItem(v *StorageItem) *StorageItem

func (*StorageItem) Active_uniquifiers

func (u *StorageItem) Active_uniquifiers() *[]Uniquifier

/ A set of [`Uniquifier`]s that have been used by the current address. / Transactions can only insert a Uniquifier, not read the whole set. / / This is the type stored at storage key type `ReplayCache`. / It cannot be stored at any other storage key.

func (*StorageItem) Auth_data

func (u *StorageItem) Auth_data() *AddressAuthData

/ The authorization data for the current address. / / This is the type stored at storage key type `AuthData`. / It cannot be stored at any other storage key.

func (*StorageItem) Bytestring

func (u *StorageItem) Bytestring() *Bytestring

/ An arbitrary value, stored as an opaque string of bytes.

func (*StorageItem) Deployed_contract_hash

func (u *StorageItem) Deployed_contract_hash() *DeployedContractHash

/ The hash of the deployed contract for the current address. / / This is the type stored at storage key type `Metadata`. / It cannot be stored at any other storage key.

func (*StorageItem) Nnint

func (u *StorageItem) Nnint() *Int128_xdr

/ A nonnegative integer, stored as a 128-bit value. / / This can be stored at any [`StorageKey`] of type `ContractData`. / This type is also used to store the free native token balance at / storage key type `FreeNativeTokenBalance`.

func (*StorageItem) Queue_entries

func (u *StorageItem) Queue_entries() *[]QueueEntry

/ A retrocausal multi-producer, single-consumer queue. / Transactions can only insert entries into the queue or consume entries one by one / from the queue, so the whole queue is generally not loaded all at once.

func (*StorageItem) XdrMarshal

func (v *StorageItem) XdrMarshal(x XDR, name string)

func (*StorageItem) XdrPointer

func (v *StorageItem) XdrPointer() interface{}

func (*StorageItem) XdrRecurse

func (u *StorageItem) XdrRecurse(x XDR, name string)

func (StorageItem) XdrTypeName

func (StorageItem) XdrTypeName() string

func (*StorageItem) XdrUnionBody

func (u *StorageItem) XdrUnionBody() XdrType

func (*StorageItem) XdrUnionBodyName

func (u *StorageItem) XdrUnionBodyName() string

func (*StorageItem) XdrUnionTag

func (u *StorageItem) XdrUnionTag() XdrNum32

func (*StorageItem) XdrUnionTagName

func (u *StorageItem) XdrUnionTagName() string

func (StorageItem) XdrValid

func (u StorageItem) XdrValid() bool

func (StorageItem) XdrValidTags

func (_ StorageItem) XdrValidTags() map[int32]bool

func (StorageItem) XdrValue

func (v StorageItem) XdrValue() interface{}

type StorageItemType

type StorageItemType int32

/ The type of a storage item.

const (
	KItemTypeBytestring           StorageItemType = 0
	KItemTypeNonnegativeInt       StorageItemType = 1
	KItemTypeRetrocausalQueue     StorageItemType = 2
	KItemTypeReplayCacheData      StorageItemType = 3
	KItemTypeAuthData             StorageItemType = 4
	KItemTypeDeployedContractHash StorageItemType = 5
	// #[doc(hidden)]
	// This will be removed when we get rid of the old db interface.
	KItemTypeDeleted StorageItemType = -1
)

func XDR_StorageItemType

func XDR_StorageItemType(v *StorageItemType) *StorageItemType

func (StorageItemType) GetU32

func (v StorageItemType) GetU32() uint32

func (*StorageItemType) Scan

func (v *StorageItemType) Scan(ss fmt.ScanState, _ rune) error

func (*StorageItemType) SetU32

func (v *StorageItemType) SetU32(n uint32)

func (StorageItemType) String

func (v StorageItemType) String() string

func (StorageItemType) XdrEnumNames

func (StorageItemType) XdrEnumNames() map[int32]string

func (*StorageItemType) XdrMarshal

func (v *StorageItemType) XdrMarshal(x XDR, name string)

func (*StorageItemType) XdrPointer

func (v *StorageItemType) XdrPointer() interface{}

func (StorageItemType) XdrTypeName

func (StorageItemType) XdrTypeName() string

func (StorageItemType) XdrValue

func (v StorageItemType) XdrValue() interface{}

type StorageKey

type StorageKey struct {
	// The union discriminant Key_type selects among the following arms:
	//   ContractData:
	//      Contract_data_key() *StorageKeyContractData
	//   FreeNativeTokenBalance:
	//      void
	//   AuthData:
	//      void
	//   Metadata:
	//      void
	//   ReplayCache:
	//      void
	Key_type StorageKeyType
	// contains filtered or unexported fields
}

/ Union of a StorageKey type over the various storage key types.

func XDR_StorageKey

func XDR_StorageKey(v *StorageKey) *StorageKey

func (*StorageKey) Contract_data_key

func (u *StorageKey) Contract_data_key() *StorageKeyContractData

func (*StorageKey) XdrMarshal

func (v *StorageKey) XdrMarshal(x XDR, name string)

func (*StorageKey) XdrPointer

func (v *StorageKey) XdrPointer() interface{}

func (*StorageKey) XdrRecurse

func (u *StorageKey) XdrRecurse(x XDR, name string)

func (StorageKey) XdrTypeName

func (StorageKey) XdrTypeName() string

func (*StorageKey) XdrUnionBody

func (u *StorageKey) XdrUnionBody() XdrType

func (*StorageKey) XdrUnionBodyName

func (u *StorageKey) XdrUnionBodyName() string

func (*StorageKey) XdrUnionTag

func (u *StorageKey) XdrUnionTag() XdrNum32

func (*StorageKey) XdrUnionTagName

func (u *StorageKey) XdrUnionTagName() string

func (StorageKey) XdrValid

func (u StorageKey) XdrValid() bool

func (StorageKey) XdrValidTags

func (_ StorageKey) XdrValidTags() map[int32]bool

func (StorageKey) XdrValue

func (v StorageKey) XdrValue() interface{}

type StorageKeyContractData

type StorageKeyContractData = [32]byte

/ Represents an arbitrary 32-byte key into contract storage. / This is the key type that contracts directly manipulate

type StorageKeyType

type StorageKeyType int32

/ Each ContractAddress owns a namespace of storage keys. / / Most of the keyspace is made up of ContractData keys, which are indexed / by 32-byte (arbitrary) identifiers (the `StorageKeyContractData` type). / The other variants here have special purposes, and cannot be freely accessed / by contracts. / / Contracts are free to set their own conventions for indexing data within / the StorageKeyContractData subspace.

const (
	/// Contract-controlled data.
	///
	/// Stores arbitrary data managed by the contract at this address.
	ContractData StorageKeyType = 0
	/// Native token balance.
	///
	/// Stores the free balance of the native token for this address.
	FreeNativeTokenBalance StorageKeyType = 1
	/// Address authorization data.
	///
	/// Stores [`AddressAuthData`] - the authorization configuration: public
	/// keys, their weights, and the required weight.
	AuthData StorageKeyType = 2
	/// Address metadata.
	///
	/// Stores [`DeployedContractHash`] - metadata about the contract deployed
	/// at this address (hash, size, type).
	Metadata StorageKeyType = 3
	/// Replay cache for nonce tracking.
	///
	/// Stores a set of active [`Uniquifier`] objects
	/// to prevent transaction replay attacks.
	ReplayCache StorageKeyType = 4
)

func XDR_StorageKeyType

func XDR_StorageKeyType(v *StorageKeyType) *StorageKeyType

func (StorageKeyType) GetU32

func (v StorageKeyType) GetU32() uint32

func (*StorageKeyType) Scan

func (v *StorageKeyType) Scan(ss fmt.ScanState, _ rune) error

func (*StorageKeyType) SetU32

func (v *StorageKeyType) SetU32(n uint32)

func (StorageKeyType) String

func (v StorageKeyType) String() string

func (StorageKeyType) XdrEnumNames

func (StorageKeyType) XdrEnumNames() map[int32]string

func (*StorageKeyType) XdrMarshal

func (v *StorageKeyType) XdrMarshal(x XDR, name string)

func (*StorageKeyType) XdrPointer

func (v *StorageKeyType) XdrPointer() interface{}

func (StorageKeyType) XdrTypeName

func (StorageKeyType) XdrTypeName() string

func (StorageKeyType) XdrValue

func (v StorageKeyType) XdrValue() interface{}

type StorageLongHash

type StorageLongHash = [2048]byte

/ Hash of the Thruput database contents. / Format is a 2048-byte LtHash16 hash.

type StorageShortHash

type StorageShortHash = SHA256Hash

#[rust(newtype)]

type SubmittedTransactions

type SubmittedTransactions struct {
	Transactions ParallelSignedTransactionBatch
}

func XDR_SubmittedTransactions

func XDR_SubmittedTransactions(v *SubmittedTransactions) *SubmittedTransactions

func (*SubmittedTransactions) XdrMarshal

func (v *SubmittedTransactions) XdrMarshal(x XDR, name string)

func (*SubmittedTransactions) XdrPointer

func (v *SubmittedTransactions) XdrPointer() interface{}

func (*SubmittedTransactions) XdrRecurse

func (v *SubmittedTransactions) XdrRecurse(x XDR, name string)

func (SubmittedTransactions) XdrTypeName

func (SubmittedTransactions) XdrTypeName() string

func (SubmittedTransactions) XdrValue

func (v SubmittedTransactions) XdrValue() interface{}

type SyscallErrorCode

type SyscallErrorCode int32

/ Error codes returned by system calls. / Each syscall can return a specific subset of these error codes. / Check the syscalls.yaml documentation for which errors each syscall can return.

const (
	/// No error
	KSyscallErrorCodeNone SyscallErrorCode = 0
	/// Out of bounds pointer to contract memory passed to syscall
	KSyscallErrorCodeFault SyscallErrorCode = 1
	/// System call for supplied number is not supported
	KSyscallErrorCodeNoSyscall SyscallErrorCode = 2
	/// Cannot call get_msg_sender on root invocation
	KSyscallErrorCodeIsRootTransaction SyscallErrorCode = 3
	/// Reentrance guard violation
	KSyscallErrorCodeReentrance SyscallErrorCode = 4
	/// Attempt made to deploy a contract twice (same nonce and contract hash, from
	/// same address)
	KSyscallErrorCodeContractAlreadyDeployed SyscallErrorCode = 5
	/// No return buffer is available.  Either the most recent subcall faulted, or
	/// there have been no subcalls within this call frame.
	KSyscallErrorCodeNoReturnBufferAvailable SyscallErrorCode = 6
	/// Invalid input to a syscall, such as subtracting below 0 on an nnint
	/// or a bytestring that is too long
	KSyscallErrorCodeInvalidSyscallInput SyscallErrorCode = 7
	/// Accessing a storage key that does not exist in the current view
	KSyscallErrorCodeStorageKeyNotExist SyscallErrorCode = 8
	/// No entry in the retrocausal queue to consume
	KSyscallErrorCodeNoRetrocausalQueueEntry SyscallErrorCode = 9
	/// The transaction has reached its per-transaction limit on concurrent
	/// retrocausal-queue reads (kMaxConcurrentRcqReadsPerTx). This is a resource
	/// limit, not a malformed call, and does not by itself fail the transaction;
	/// a contract may use it as a stop condition (e.g. drain a queue until it
	/// returns this).
	KSyscallErrorCodeRetrocausalQueueReadLimitReached SyscallErrorCode = 10
	/// The invocation would exceed the network's cross-invoke depth bound
	/// (kConfigParamMaxCrossInvokeDepth), which limits how many invocation
	/// frames one transaction may hold open at once. Like the retrocausal-queue
	/// read limit this is a resource limit, not a malformed call: the same
	/// invocation succeeds from a shallower frame. It is reported before any
	/// child frame runs, so the syscall is a complete no-op and the caller's
	/// invoke outputs are left untouched.
	KSyscallErrorCodeInvokeDepthExceeded SyscallErrorCode = 11
)

func XDR_SyscallErrorCode

func XDR_SyscallErrorCode(v *SyscallErrorCode) *SyscallErrorCode

func (SyscallErrorCode) GetU32

func (v SyscallErrorCode) GetU32() uint32

func (*SyscallErrorCode) Scan

func (v *SyscallErrorCode) Scan(ss fmt.ScanState, _ rune) error

func (*SyscallErrorCode) SetU32

func (v *SyscallErrorCode) SetU32(n uint32)

func (SyscallErrorCode) String

func (v SyscallErrorCode) String() string

func (SyscallErrorCode) XdrEnumNames

func (SyscallErrorCode) XdrEnumNames() map[int32]string

func (*SyscallErrorCode) XdrMarshal

func (v *SyscallErrorCode) XdrMarshal(x XDR, name string)

func (*SyscallErrorCode) XdrPointer

func (v *SyscallErrorCode) XdrPointer() interface{}

func (SyscallErrorCode) XdrTypeName

func (SyscallErrorCode) XdrTypeName() string

func (SyscallErrorCode) XdrValue

func (v SyscallErrorCode) XdrValue() interface{}

type TimePoint

type TimePoint = uint64

/ uint64_t, Unix time as nanoseconds elapsed since / January 1, 1970 UTC

type Topic

type Topic = [32]byte

/ A 32-byte topic used for event indexing. / Topics are prepended to the serialized event data. The num_topics field / indicates how many of the leading 32-byte chunks are topics (up to kMaxTopics). / Downstream indexers use topics to efficiently filter events without deserializing.

type Transaction

type Transaction struct {
	/// The root contract invocation for this transaction.
	Invocation Invocation
	/// Uniqueness and replay protection data.
	Uniquifier Uniquifier
	/// Contracts made available for deployment during this transaction.
	///
	/// Attaching a contract does not deploy it: nothing reaches the chain
	/// unless a frame deploys it with the DeployContract syscall, which can then
	/// be invoked for the rest of the transaction. Contracts whose code is
	/// already on-chain do not need to be included here.
	Contracts_to_deploy []Contract
	/// Authorization claim specifying required signatures.
	///
	/// See [`AuthClaim`] in auth_claim.x for details.
	Auth_claim AuthClaim
}

/ A complete transaction that can be executed on the Thruput blockchain. / / Transactions are the fundamental unit of state modification. Each transaction: / - Invokes a single contract method (which may make subinvocations) / - Includes claims about attached signatures, which must be verified before execution / can begin. A transaction is invalid if any attached signatures are invalid / or if the attached signatures do not match the auth claims. / - Can deploy new contracts that will be available during execution / - Must have a [`Uniquifier`] that has never before been used for this address

func XDR_Transaction

func XDR_Transaction(v *Transaction) *Transaction

func (*Transaction) XdrMarshal

func (v *Transaction) XdrMarshal(x XDR, name string)

func (*Transaction) XdrPointer

func (v *Transaction) XdrPointer() interface{}

func (*Transaction) XdrRecurse

func (v *Transaction) XdrRecurse(x XDR, name string)

func (Transaction) XdrTypeName

func (Transaction) XdrTypeName() string

func (Transaction) XdrValue

func (v Transaction) XdrValue() interface{}

type TransactionBatch

type TransactionBatch = []Transaction

/ A batch of transactions (without signatures).

type TransactionHash

type TransactionHash = SHA256Hash

/ Hash of a transaction body, the identifier users, events and indexers / know a transaction by. / / This is the SHA-256 hash of the XDR-encoded [`Transaction`] -- the same / encoding the signatures cover (see [`SignedTransaction`]). It deliberately covers neither the / signatures wrapped around it by [`SignedTransaction`] nor the / nondeterministic data attached to it by [`ProposedTransaction`]: / / - Excluding the signatures keeps the identifier fixed however the body / is signed, so a submitter can look up its transaction without knowing / which signing a block carried. / - Excluding the proposal data keeps the identifier computable by the / submitter at signing time. Nondeterministic proposal data does not / exist until a proposer has executed the transaction, so an identifier / covering it could not be used to look up one's own transaction. / / Proposals do not name transactions by this hash: they commit to each / transaction's exact signed encoding by [`SignedTransactionHash`]. / / Uniqueness across blocks rests on replay protection -- the / [`Uniquifier`] every [`Transaction`] carries -- rather than on anything / in the preimage: two distinct commits can never share a hash, because / the same [`Transaction`] cannot commit twice.

type TransactionHashBatch

type TransactionHashBatch = []TransactionHash

/ A batch of transaction hashes.

type TransactionID

type TransactionID = uint64

Internal unique ID describing a transaction. Can be reused across blocks but cannot be reused within one block.

type TransactionPage

type TransactionPage struct {
	/// Matched transactions in the requested order.  May be empty even
	/// when `cursor` is non-empty: the current scan window produced no
	/// matches, so the client should keep paginating.  Empty
	/// transactions + empty cursor = stream exhausted.
	Transactions TxInfoBatch
	/// Empty when the stream has been exhausted in the requested
	/// direction.  Non-empty: pass back in the next call's `cursor`
	/// argument.
	Cursor PaginationCursor
	/// Highest block height the indexer has processed at response time.
	/// Clients compare to the heights on their last-seen transactions to
	/// decide whether they're caught up.
	Latest_block BlockHeight
	/// Oldest block height the indexer still retains data for at
	/// response time.  Today always 0; once retention/pruning lands
	/// this is the lower bound below which queries return empty
	/// regardless of anchor.
	Oldest_block BlockHeight
}

/ `get_transactions` response.

func XDR_TransactionPage

func XDR_TransactionPage(v *TransactionPage) *TransactionPage

func (*TransactionPage) XdrMarshal

func (v *TransactionPage) XdrMarshal(x XDR, name string)

func (*TransactionPage) XdrPointer

func (v *TransactionPage) XdrPointer() interface{}

func (*TransactionPage) XdrRecurse

func (v *TransactionPage) XdrRecurse(x XDR, name string)

func (TransactionPage) XdrTypeName

func (TransactionPage) XdrTypeName() string

func (TransactionPage) XdrValue

func (v TransactionPage) XdrValue() interface{}

type TransactionPageResult

type TransactionPageResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   IndexerQueryOk:
	//      Page() *TransactionPage
	//   default:
	//      void
	Outcome IndexerQueryOutcome
	// contains filtered or unexported fields
}

func XDR_TransactionPageResult

func XDR_TransactionPageResult(v *TransactionPageResult) *TransactionPageResult

func (*TransactionPageResult) Page

func (*TransactionPageResult) XdrMarshal

func (v *TransactionPageResult) XdrMarshal(x XDR, name string)

func (*TransactionPageResult) XdrPointer

func (v *TransactionPageResult) XdrPointer() interface{}

func (*TransactionPageResult) XdrRecurse

func (u *TransactionPageResult) XdrRecurse(x XDR, name string)

func (TransactionPageResult) XdrTypeName

func (TransactionPageResult) XdrTypeName() string

func (*TransactionPageResult) XdrUnionBody

func (u *TransactionPageResult) XdrUnionBody() XdrType

func (*TransactionPageResult) XdrUnionBodyName

func (u *TransactionPageResult) XdrUnionBodyName() string

func (*TransactionPageResult) XdrUnionTag

func (u *TransactionPageResult) XdrUnionTag() XdrNum32

func (*TransactionPageResult) XdrUnionTagName

func (u *TransactionPageResult) XdrUnionTagName() string

func (TransactionPageResult) XdrValid

func (u TransactionPageResult) XdrValid() bool

func (TransactionPageResult) XdrValidTags

func (_ TransactionPageResult) XdrValidTags() map[int32]bool

func (TransactionPageResult) XdrValue

func (v TransactionPageResult) XdrValue() interface{}

type TransactionQuery

type TransactionQuery struct {
	Order  IterationOrder
	Anchor BlockAnchor
	/// Empty on the initial call.  Non-empty to continue where a previous
	/// response left off; `order` and `anchor` in the request are ignored
	/// when a cursor is supplied — the cursor carries them.
	Cursor PaginationCursor
	/// Clamped server-side to [1, 200]; 0 means server default (50).
	Limit uint32
}

/ `get_transactions` request. Whole-chain walk in `order` from `anchor`. / There is no address filter here — use `get_transactions_by_address` for / per-account (root invoked address) transaction history.

func XDR_TransactionQuery

func XDR_TransactionQuery(v *TransactionQuery) *TransactionQuery

func (*TransactionQuery) XdrMarshal

func (v *TransactionQuery) XdrMarshal(x XDR, name string)

func (*TransactionQuery) XdrPointer

func (v *TransactionQuery) XdrPointer() interface{}

func (*TransactionQuery) XdrRecurse

func (v *TransactionQuery) XdrRecurse(x XDR, name string)

func (TransactionQuery) XdrTypeName

func (TransactionQuery) XdrTypeName() string

func (TransactionQuery) XdrValue

func (v TransactionQuery) XdrValue() interface{}

type TransactionRef

type TransactionRef struct {
	Tx_hash TransactionHash
	Height  BlockHeight
}

/ Lightweight reference to a transaction: its hash plus the block it / executed in. Returned by transaction-ref queries; hydrate the full body / via `get_transaction_info`.

func XDR_TransactionRef

func XDR_TransactionRef(v *TransactionRef) *TransactionRef

func (*TransactionRef) XdrMarshal

func (v *TransactionRef) XdrMarshal(x XDR, name string)

func (*TransactionRef) XdrPointer

func (v *TransactionRef) XdrPointer() interface{}

func (*TransactionRef) XdrRecurse

func (v *TransactionRef) XdrRecurse(x XDR, name string)

func (TransactionRef) XdrTypeName

func (TransactionRef) XdrTypeName() string

func (TransactionRef) XdrValue

func (v TransactionRef) XdrValue() interface{}

type TransactionRefBatch

type TransactionRefBatch = []TransactionRef

type TransactionRefPage

type TransactionRefPage struct {
	Refs   TransactionRefBatch
	Cursor PaginationCursor
	/// Highest block the indexer serves.
	Latest_block BlockHeight
	/// Lowest block the query covers: 1 (the first indexed block) for
	/// get_transactions_by_block, and the indexer's oldest retained block
	/// (today always 0) for get_transactions_by_address.
	Oldest_block BlockHeight
}

/ Transaction refs in the query's order. Every successful response reports / the indexer's current bounds, including empty responses.

func XDR_TransactionRefPage

func XDR_TransactionRefPage(v *TransactionRefPage) *TransactionRefPage

func (*TransactionRefPage) XdrMarshal

func (v *TransactionRefPage) XdrMarshal(x XDR, name string)

func (*TransactionRefPage) XdrPointer

func (v *TransactionRefPage) XdrPointer() interface{}

func (*TransactionRefPage) XdrRecurse

func (v *TransactionRefPage) XdrRecurse(x XDR, name string)

func (TransactionRefPage) XdrTypeName

func (TransactionRefPage) XdrTypeName() string

func (TransactionRefPage) XdrValue

func (v TransactionRefPage) XdrValue() interface{}

type TransactionRefPageResult

type TransactionRefPageResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   IndexerQueryOk:
	//      Page() *TransactionRefPage
	//   default:
	//      void
	Outcome IndexerQueryOutcome
	// contains filtered or unexported fields
}

func (*TransactionRefPageResult) Page

func (*TransactionRefPageResult) XdrMarshal

func (v *TransactionRefPageResult) XdrMarshal(x XDR, name string)

func (*TransactionRefPageResult) XdrPointer

func (v *TransactionRefPageResult) XdrPointer() interface{}

func (*TransactionRefPageResult) XdrRecurse

func (u *TransactionRefPageResult) XdrRecurse(x XDR, name string)

func (TransactionRefPageResult) XdrTypeName

func (TransactionRefPageResult) XdrTypeName() string

func (*TransactionRefPageResult) XdrUnionBody

func (u *TransactionRefPageResult) XdrUnionBody() XdrType

func (*TransactionRefPageResult) XdrUnionBodyName

func (u *TransactionRefPageResult) XdrUnionBodyName() string

func (*TransactionRefPageResult) XdrUnionTag

func (u *TransactionRefPageResult) XdrUnionTag() XdrNum32

func (*TransactionRefPageResult) XdrUnionTagName

func (u *TransactionRefPageResult) XdrUnionTagName() string

func (TransactionRefPageResult) XdrValid

func (u TransactionRefPageResult) XdrValid() bool

func (TransactionRefPageResult) XdrValidTags

func (_ TransactionRefPageResult) XdrValidTags() map[int32]bool

func (TransactionRefPageResult) XdrValue

func (v TransactionRefPageResult) XdrValue() interface{}

type TransactionStatistic

type TransactionStatistic int32

/ Transaction execution statistics available via the GetTransactionStatistics syscall. / / These statistics provide runtime information about transaction execution, / primarily for debugging and monitoring. Some statistics may be disabled / in production builds.

const (
	/// The amount of gas remaining in the current call frame.
	///
	/// This can be queried to monitor gas consumption during execution.
	/// Note that this statistic may be disabled or return nondeterministic
	/// values in test configurations (see syscalls.yaml for details).
	GasRemaining TransactionStatistic = 0
)

func XDR_TransactionStatistic

func XDR_TransactionStatistic(v *TransactionStatistic) *TransactionStatistic

func (TransactionStatistic) GetU32

func (v TransactionStatistic) GetU32() uint32

func (*TransactionStatistic) Scan

func (v *TransactionStatistic) Scan(ss fmt.ScanState, _ rune) error

func (*TransactionStatistic) SetU32

func (v *TransactionStatistic) SetU32(n uint32)

func (TransactionStatistic) String

func (v TransactionStatistic) String() string

func (TransactionStatistic) XdrEnumNames

func (TransactionStatistic) XdrEnumNames() map[int32]string

func (*TransactionStatistic) XdrMarshal

func (v *TransactionStatistic) XdrMarshal(x XDR, name string)

func (*TransactionStatistic) XdrPointer

func (v *TransactionStatistic) XdrPointer() interface{}

func (TransactionStatistic) XdrTypeName

func (TransactionStatistic) XdrTypeName() string

func (TransactionStatistic) XdrValue

func (v TransactionStatistic) XdrValue() interface{}

type TransferEvent

type TransferEvent struct {
	From_address ContractAddress
	To_address   ContractAddress
	Amount       Int128_xdr
}

number of topics is 3: 1. event signature 2. from_address 3. to_address

func XDR_TransferEvent

func XDR_TransferEvent(v *TransferEvent) *TransferEvent

func (*TransferEvent) XdrMarshal

func (v *TransferEvent) XdrMarshal(x XDR, name string)

func (*TransferEvent) XdrPointer

func (v *TransferEvent) XdrPointer() interface{}

func (*TransferEvent) XdrRecurse

func (v *TransferEvent) XdrRecurse(x XDR, name string)

func (TransferEvent) XdrTypeName

func (TransferEvent) XdrTypeName() string

func (TransferEvent) XdrValue

func (v TransferEvent) XdrValue() interface{}

type TxEmittedEvent

type TxEmittedEvent struct {
	Contract_address ContractAddress
	// <= kMaxTopics
	Num_topics       uint32
	Serialized_event []byte // bound KMaxEventLength
}

/ An event emitted by a contract during transaction execution. / Events are logged via the LogEvent syscall and stored in the transaction's event log. / / The serialized_event field contains topic0 || topic1 || topic2 || data, where / the number of topic fields depends on num_topics. / This structure is the minimum unit forwarded to downstream indexing systems.

func XDR_TxEmittedEvent

func XDR_TxEmittedEvent(v *TxEmittedEvent) *TxEmittedEvent

func (*TxEmittedEvent) XdrMarshal

func (v *TxEmittedEvent) XdrMarshal(x XDR, name string)

func (*TxEmittedEvent) XdrPointer

func (v *TxEmittedEvent) XdrPointer() interface{}

func (*TxEmittedEvent) XdrRecurse

func (v *TxEmittedEvent) XdrRecurse(x XDR, name string)

func (TxEmittedEvent) XdrTypeName

func (TxEmittedEvent) XdrTypeName() string

func (TxEmittedEvent) XdrValue

func (v TxEmittedEvent) XdrValue() interface{}

type TxEventLog

type TxEventLog struct {
	// sha256(Transaction)
	Tx_hash      TransactionHash
	Exec_result  ExecResult
	Root_output  InvocationFrameOutput
	Gas_consumed GasAmount
	Events       []TxEmittedEvent // bound KMaxEventsPerTransaction
}

/ Event log for a single transaction, stored in the merkle-patricia trie. / The trie leaf is encoded canonically as follows: / / - key: the leading TransactionHash from XDR(TxEventLog); / - value: the remainder of XDR(TxEventLog), followed by / XDR(NondeterministicProposalData). / / The appended proposal data binds the nondeterministic inputs used during / execution to the events root. Signature-wrapper bytes are deliberately not / included: TransactionHash identifies the inner Transaction independently / of its signatures, so validators with different valid wrappers compute the / same root. / / That key is the identity of the transaction the submitter signed, not of / the [`ProposedTransaction`] the proposer assembled from it, so a / submitter can compute it before submission and use it to find its own / events. See [`TransactionHash`]. / / `root_output` carries the InvocationFrameOutput of the transaction's / root frame: the Return buffer on success, the Abort buffer on a / deterministic revert, or the Fault variant when no root output was / produced (e.g., non-deterministic failure). Downstream indexers and / the receipt-read paths surface this as `return_data`/`abort_data`. / / `gas_consumed` is the gas the whole transaction consumed: the root frame, / every frame it invoked, and the pre-execution validation of attached / contracts. On an out-of-gas fault it is the transaction's gas limit. It / is part of the leaf, so the events root commits to it and every / validator's re-execution must reproduce it.

func XDR_TxEventLog

func XDR_TxEventLog(v *TxEventLog) *TxEventLog

func (*TxEventLog) XdrMarshal

func (v *TxEventLog) XdrMarshal(x XDR, name string)

func (*TxEventLog) XdrPointer

func (v *TxEventLog) XdrPointer() interface{}

func (*TxEventLog) XdrRecurse

func (v *TxEventLog) XdrRecurse(x XDR, name string)

func (TxEventLog) XdrTypeName

func (TxEventLog) XdrTypeName() string

func (TxEventLog) XdrValue

func (v TxEventLog) XdrValue() interface{}

type TxEventLogBatch

type TxEventLogBatch = []TxEventLog

type TxFailureCause

type TxFailureCause struct {
	// The union discriminant Kind selects among the following arms:
	//   TxFailureDbConflict:
	//      Conflict() *DbConflictDiagnostic
	//   TxFailureContractRejected:
	//      Contract() *ContractRejectDiagnostic
	Kind TxFailureKind
	// contains filtered or unexported fields
}

func XDR_TxFailureCause

func XDR_TxFailureCause(v *TxFailureCause) *TxFailureCause

func (*TxFailureCause) Conflict

func (u *TxFailureCause) Conflict() *DbConflictDiagnostic

func (*TxFailureCause) Contract

func (*TxFailureCause) XdrMarshal

func (v *TxFailureCause) XdrMarshal(x XDR, name string)

func (*TxFailureCause) XdrPointer

func (v *TxFailureCause) XdrPointer() interface{}

func (*TxFailureCause) XdrRecurse

func (u *TxFailureCause) XdrRecurse(x XDR, name string)

func (TxFailureCause) XdrTypeName

func (TxFailureCause) XdrTypeName() string

func (*TxFailureCause) XdrUnionBody

func (u *TxFailureCause) XdrUnionBody() XdrType

func (*TxFailureCause) XdrUnionBodyName

func (u *TxFailureCause) XdrUnionBodyName() string

func (*TxFailureCause) XdrUnionTag

func (u *TxFailureCause) XdrUnionTag() XdrNum32

func (*TxFailureCause) XdrUnionTagName

func (u *TxFailureCause) XdrUnionTagName() string

func (TxFailureCause) XdrValid

func (u TxFailureCause) XdrValid() bool

func (TxFailureCause) XdrValidTags

func (_ TxFailureCause) XdrValidTags() map[int32]bool

func (TxFailureCause) XdrValue

func (v TxFailureCause) XdrValue() interface{}

type TxFailureDiagnostic

type TxFailureDiagnostic struct {
	Attempt_height BlockHeight
	Cause          TxFailureCause
}

/ Best-effort diagnostic for a transaction the proposer excluded from a / proposal: the executing block height of the failed attempt plus why it / failed -- the first conflicting storage op the database reported during / two-phase commit, or the first contract attachment the executor refused. / Fixed-size by construction; the wire and caches carry exactly one / diagnostic per failure to bound memory end to end.

func XDR_TxFailureDiagnostic

func XDR_TxFailureDiagnostic(v *TxFailureDiagnostic) *TxFailureDiagnostic

func (*TxFailureDiagnostic) XdrMarshal

func (v *TxFailureDiagnostic) XdrMarshal(x XDR, name string)

func (*TxFailureDiagnostic) XdrPointer

func (v *TxFailureDiagnostic) XdrPointer() interface{}

func (*TxFailureDiagnostic) XdrRecurse

func (v *TxFailureDiagnostic) XdrRecurse(x XDR, name string)

func (TxFailureDiagnostic) XdrTypeName

func (TxFailureDiagnostic) XdrTypeName() string

func (TxFailureDiagnostic) XdrValue

func (v TxFailureDiagnostic) XdrValue() interface{}

type TxFailureKind

type TxFailureKind int32
const (
	/// Two-phase commit could not apply the transaction's storage deltas.
	TxFailureDbConflict TxFailureKind = 0
	/// The executor refused a contract attachment before execution.
	TxFailureContractRejected TxFailureKind = 1
)

func XDR_TxFailureKind

func XDR_TxFailureKind(v *TxFailureKind) *TxFailureKind

func (TxFailureKind) GetU32

func (v TxFailureKind) GetU32() uint32

func (*TxFailureKind) Scan

func (v *TxFailureKind) Scan(ss fmt.ScanState, _ rune) error

func (*TxFailureKind) SetU32

func (v *TxFailureKind) SetU32(n uint32)

func (TxFailureKind) String

func (v TxFailureKind) String() string

func (TxFailureKind) XdrEnumNames

func (TxFailureKind) XdrEnumNames() map[int32]string

func (*TxFailureKind) XdrMarshal

func (v *TxFailureKind) XdrMarshal(x XDR, name string)

func (*TxFailureKind) XdrPointer

func (v *TxFailureKind) XdrPointer() interface{}

func (TxFailureKind) XdrTypeName

func (TxFailureKind) XdrTypeName() string

func (TxFailureKind) XdrValue

func (v TxFailureKind) XdrValue() interface{}

type TxInfo

type TxInfo struct {
	// The height of the block the tx was executed in.
	Height BlockHeight
	// The full transaction body (signed tx + nondeterministic data), as
	// forwarded by the event server and stored in the indexer.
	Tx     ProposedTransaction
	Events TxEventLog
}

func XDR_TxInfo

func XDR_TxInfo(v *TxInfo) *TxInfo

func (*TxInfo) XdrMarshal

func (v *TxInfo) XdrMarshal(x XDR, name string)

func (*TxInfo) XdrPointer

func (v *TxInfo) XdrPointer() interface{}

func (*TxInfo) XdrRecurse

func (v *TxInfo) XdrRecurse(x XDR, name string)

func (TxInfo) XdrTypeName

func (TxInfo) XdrTypeName() string

func (TxInfo) XdrValue

func (v TxInfo) XdrValue() interface{}

type TxInfoBatch

type TxInfoBatch = []TxInfo

type TxInfoOutcome

type TxInfoOutcome int32
const (
	TxInfoFound    TxInfoOutcome = 0
	TxInfoNotFound TxInfoOutcome = 1
	/// No committed record, but a proposer excluded the transaction within the
	/// last few blocks (a two-phase-commit conflict or a refused contract
	/// attachment) and the indexer still holds the diagnostic.
	/// Best-effort and advisory: reports are dropped freely under load, only
	/// the proposing node's indexers hear them, and a later retry of the same
	/// tx may still commit (at which point TxInfoFound wins). Absence of this
	/// outcome proves nothing.
	TxInfoRecentFailure TxInfoOutcome = 2
)

func XDR_TxInfoOutcome

func XDR_TxInfoOutcome(v *TxInfoOutcome) *TxInfoOutcome

func (TxInfoOutcome) GetU32

func (v TxInfoOutcome) GetU32() uint32

func (*TxInfoOutcome) Scan

func (v *TxInfoOutcome) Scan(ss fmt.ScanState, _ rune) error

func (*TxInfoOutcome) SetU32

func (v *TxInfoOutcome) SetU32(n uint32)

func (TxInfoOutcome) String

func (v TxInfoOutcome) String() string

func (TxInfoOutcome) XdrEnumNames

func (TxInfoOutcome) XdrEnumNames() map[int32]string

func (*TxInfoOutcome) XdrMarshal

func (v *TxInfoOutcome) XdrMarshal(x XDR, name string)

func (*TxInfoOutcome) XdrPointer

func (v *TxInfoOutcome) XdrPointer() interface{}

func (TxInfoOutcome) XdrTypeName

func (TxInfoOutcome) XdrTypeName() string

func (TxInfoOutcome) XdrValue

func (v TxInfoOutcome) XdrValue() interface{}

type TxInfoResult

type TxInfoResult struct {
	// The union discriminant Outcome selects among the following arms:
	//   TxInfoFound:
	//      Info() *TxInfo
	//   TxInfoRecentFailure:
	//      Recent_failure() *TxFailureDiagnostic
	//   default:
	//      void
	Outcome TxInfoOutcome
	// contains filtered or unexported fields
}

func XDR_TxInfoResult

func XDR_TxInfoResult(v *TxInfoResult) *TxInfoResult

func (*TxInfoResult) Info

func (u *TxInfoResult) Info() *TxInfo

func (*TxInfoResult) Recent_failure

func (u *TxInfoResult) Recent_failure() *TxFailureDiagnostic

func (*TxInfoResult) XdrMarshal

func (v *TxInfoResult) XdrMarshal(x XDR, name string)

func (*TxInfoResult) XdrPointer

func (v *TxInfoResult) XdrPointer() interface{}

func (*TxInfoResult) XdrRecurse

func (u *TxInfoResult) XdrRecurse(x XDR, name string)

func (TxInfoResult) XdrTypeName

func (TxInfoResult) XdrTypeName() string

func (*TxInfoResult) XdrUnionBody

func (u *TxInfoResult) XdrUnionBody() XdrType

func (*TxInfoResult) XdrUnionBodyName

func (u *TxInfoResult) XdrUnionBodyName() string

func (*TxInfoResult) XdrUnionTag

func (u *TxInfoResult) XdrUnionTag() XdrNum32

func (*TxInfoResult) XdrUnionTagName

func (u *TxInfoResult) XdrUnionTagName() string

func (TxInfoResult) XdrValid

func (u TxInfoResult) XdrValid() bool

func (TxInfoResult) XdrValidTags

func (_ TxInfoResult) XdrValidTags() map[int32]bool

func (TxInfoResult) XdrValue

func (v TxInfoResult) XdrValue() interface{}

type TxsHash

type TxsHash = SHA256Hash

#[rust(newtype)]

type U256Le

type U256Le = [32]byte

/ An unsigned 256-bit integer as a syscall passes it: 32 bytes, least / significant byte first.

type UInt128Parts

type UInt128Parts struct {
	Hi Uint64
	Lo Uint64
}

func XDR_UInt128Parts

func XDR_UInt128Parts(v *UInt128Parts) *UInt128Parts

func (*UInt128Parts) XdrMarshal

func (v *UInt128Parts) XdrMarshal(x XDR, name string)

func (*UInt128Parts) XdrPointer

func (v *UInt128Parts) XdrPointer() interface{}

func (*UInt128Parts) XdrRecurse

func (v *UInt128Parts) XdrRecurse(x XDR, name string)

func (UInt128Parts) XdrTypeName

func (UInt128Parts) XdrTypeName() string

func (UInt128Parts) XdrValue

func (v UInt128Parts) XdrValue() interface{}

type UInt256Parts

type UInt256Parts struct {
	Hi_hi Uint64
	Hi_lo Uint64
	Lo_hi Uint64
	Lo_lo Uint64
}

func XDR_UInt256Parts

func XDR_UInt256Parts(v *UInt256Parts) *UInt256Parts

func (*UInt256Parts) XdrMarshal

func (v *UInt256Parts) XdrMarshal(x XDR, name string)

func (*UInt256Parts) XdrPointer

func (v *UInt256Parts) XdrPointer() interface{}

func (*UInt256Parts) XdrRecurse

func (v *UInt256Parts) XdrRecurse(x XDR, name string)

func (UInt256Parts) XdrTypeName

func (UInt256Parts) XdrTypeName() string

func (UInt256Parts) XdrValue

func (v UInt256Parts) XdrValue() interface{}

type UPID

type UPID = [8]byte

/ UPID is a globally unique process identifier (function of start time, place / and randomness)

type Uint32

type Uint32 = uint32

type Uint64

type Uint64 = uint64

type Uint128_xdr

type Uint128_xdr struct {
	Highbits uint64
	Lowbits  uint64
}

/ Encodes a 128-bit unsigned integer as two 64-bit unsigned integers. / Under the standard XDR encoding, this type serializes as a big-endian u128.

func XDR_Uint128_xdr

func XDR_Uint128_xdr(v *Uint128_xdr) *Uint128_xdr

func (*Uint128_xdr) XdrMarshal

func (v *Uint128_xdr) XdrMarshal(x XDR, name string)

func (*Uint128_xdr) XdrPointer

func (v *Uint128_xdr) XdrPointer() interface{}

func (*Uint128_xdr) XdrRecurse

func (v *Uint128_xdr) XdrRecurse(x XDR, name string)

func (Uint128_xdr) XdrTypeName

func (Uint128_xdr) XdrTypeName() string

func (Uint128_xdr) XdrValue

func (v Uint128_xdr) XdrValue() interface{}

type Uniquifier

type Uniquifier struct {
	/// The block height after which this transaction becomes invalid.
	///
	/// Transactions submitted after this height will be rejected. This prevents
	/// old transactions from being replayed indefinitely.
	///
	/// Note: This is part of the uniqueness check - the pair (nonce, block_expiry_height)
	/// must be unique, not just the nonce alone.
	Block_expiry_height BlockHeight
	/// A 64-bit value chosen by the transaction creator.
	///
	/// Combined with block_expiry_height and the invoked address, this ensures each
	/// transaction is globally unique. The nonce can be chosen arbitrarily (random,
	/// sequential, timestamp-based, etc.) as long as the (nonce, block_expiry_height)
	/// pair hasn't been used before for this address.
	Nonce uint64
}

/ Ensures transaction uniqueness and prevents replay attacks. / / Each transaction must include a uniquifier with two components: / 1. An expiry height - the transaction becomes invalid after this block / 2. A nonce - ensures uniqueness even if the same operation is repeated / / The uniquifier is stored in the replay cache (see [`StorageKeyType::ReplayCache`] / in types.x) at the invoked contract's address to prevent replays. / / Important: The replay cache considers the (nonce, block_expiry_height) pair as the / unique identifier. Two transactions with the same nonce but different expiry heights / do NOT conflict with each other. For example, (nonce=1, expiry=100) and (nonce=1, expiry=200) / can both be valid transactions.

func XDR_Uniquifier

func XDR_Uniquifier(v *Uniquifier) *Uniquifier

func (*Uniquifier) XdrMarshal

func (v *Uniquifier) XdrMarshal(x XDR, name string)

func (*Uniquifier) XdrPointer

func (v *Uniquifier) XdrPointer() interface{}

func (*Uniquifier) XdrRecurse

func (v *Uniquifier) XdrRecurse(x XDR, name string)

func (Uniquifier) XdrTypeName

func (Uniquifier) XdrTypeName() string

func (Uniquifier) XdrValue

func (v Uniquifier) XdrValue() interface{}

type Upgrade

type Upgrade = []byte // bound 128

/ A serialized protocol upgrade, carried opaquely in `ConsensusValue`.

type ValidatorConfig

type ValidatorConfig struct {
	Private_info     ValidatorPrivateInfo
	Known_validators []ValidatorPublicInfo
}

ValidatorConfig holds the network configuration of a validator.

func XDR_ValidatorConfig

func XDR_ValidatorConfig(v *ValidatorConfig) *ValidatorConfig

func (*ValidatorConfig) XdrMarshal

func (v *ValidatorConfig) XdrMarshal(x XDR, name string)

func (*ValidatorConfig) XdrPointer

func (v *ValidatorConfig) XdrPointer() interface{}

func (*ValidatorConfig) XdrRecurse

func (v *ValidatorConfig) XdrRecurse(x XDR, name string)

func (ValidatorConfig) XdrTypeName

func (ValidatorConfig) XdrTypeName() string

func (ValidatorConfig) XdrValue

func (v ValidatorConfig) XdrValue() interface{}

type ValidatorID

type ValidatorID = [32]byte

#[rust(newtype)]

type ValidatorInfoSnapshot

type ValidatorInfoSnapshot struct {
	Timestamp TimePoint
	Validator ValidatorPublicInfo
}

func XDR_ValidatorInfoSnapshot

func XDR_ValidatorInfoSnapshot(v *ValidatorInfoSnapshot) *ValidatorInfoSnapshot

func (*ValidatorInfoSnapshot) XdrMarshal

func (v *ValidatorInfoSnapshot) XdrMarshal(x XDR, name string)

func (*ValidatorInfoSnapshot) XdrPointer

func (v *ValidatorInfoSnapshot) XdrPointer() interface{}

func (*ValidatorInfoSnapshot) XdrRecurse

func (v *ValidatorInfoSnapshot) XdrRecurse(x XDR, name string)

func (ValidatorInfoSnapshot) XdrTypeName

func (ValidatorInfoSnapshot) XdrTypeName() string

func (ValidatorInfoSnapshot) XdrValue

func (v ValidatorInfoSnapshot) XdrValue() interface{}

type ValidatorPrivateInfo

type ValidatorPrivateInfo struct {
	Public_info ValidatorPublicInfo
	Secret_key  ValidatorSecretKey
}

func XDR_ValidatorPrivateInfo

func XDR_ValidatorPrivateInfo(v *ValidatorPrivateInfo) *ValidatorPrivateInfo

func (*ValidatorPrivateInfo) XdrMarshal

func (v *ValidatorPrivateInfo) XdrMarshal(x XDR, name string)

func (*ValidatorPrivateInfo) XdrPointer

func (v *ValidatorPrivateInfo) XdrPointer() interface{}

func (*ValidatorPrivateInfo) XdrRecurse

func (v *ValidatorPrivateInfo) XdrRecurse(x XDR, name string)

func (ValidatorPrivateInfo) XdrTypeName

func (ValidatorPrivateInfo) XdrTypeName() string

func (ValidatorPrivateInfo) XdrValue

func (v ValidatorPrivateInfo) XdrValue() interface{}

type ValidatorPublicInfo

type ValidatorPublicInfo struct {
	Public_key ValidatorPublicKey
	Address    ServerAddress
}

func XDR_ValidatorPublicInfo

func XDR_ValidatorPublicInfo(v *ValidatorPublicInfo) *ValidatorPublicInfo

func (*ValidatorPublicInfo) XdrMarshal

func (v *ValidatorPublicInfo) XdrMarshal(x XDR, name string)

func (*ValidatorPublicInfo) XdrPointer

func (v *ValidatorPublicInfo) XdrPointer() interface{}

func (*ValidatorPublicInfo) XdrRecurse

func (v *ValidatorPublicInfo) XdrRecurse(x XDR, name string)

func (ValidatorPublicInfo) XdrTypeName

func (ValidatorPublicInfo) XdrTypeName() string

func (ValidatorPublicInfo) XdrValue

func (v ValidatorPublicInfo) XdrValue() interface{}

type ValidatorPublicKey

type ValidatorPublicKey = PublicKey

type ValidatorSecretKey

type ValidatorSecretKey = SecretKey

type ViewingSnapshot

type ViewingSnapshot struct {
	Viewing_block_id BlockID
	Tip              DbTip
}

func XDR_ViewingSnapshot

func XDR_ViewingSnapshot(v *ViewingSnapshot) *ViewingSnapshot

func (*ViewingSnapshot) XdrMarshal

func (v *ViewingSnapshot) XdrMarshal(x XDR, name string)

func (*ViewingSnapshot) XdrPointer

func (v *ViewingSnapshot) XdrPointer() interface{}

func (*ViewingSnapshot) XdrRecurse

func (v *ViewingSnapshot) XdrRecurse(x XDR, name string)

func (ViewingSnapshot) XdrTypeName

func (ViewingSnapshot) XdrTypeName() string

func (ViewingSnapshot) XdrValue

func (v ViewingSnapshot) XdrValue() interface{}

type Wallet1

type Wallet1 interface {
	Wallet_null(context.Context) error
	Wallet_submit(context.Context, WalletSubmit) (WalletAck, error)
}

type Wallet1_Client

type Wallet1_Client struct {
	Send XdrSendCall
	Ctx  context.Context
}

func (Wallet1_Client) Wallet_null

func (c Wallet1_Client) Wallet_null(ctx context.Context) error

func (Wallet1_Client) Wallet_submit

func (c Wallet1_Client) Wallet_submit(ctx context.Context, a1 WalletSubmit) (r WalletAck, _ error)

func (Wallet1_Client) WithContext

func (c Wallet1_Client) WithContext(ctx context.Context) Wallet1

type Wallet1_Server

type Wallet1_Server struct {
	Srv Wallet1
}

func (Wallet1_Server) GetProc

func (s Wallet1_Server) GetProc(p uint32) XdrSrvProc

func (Wallet1_Server) Prog

func (Wallet1_Server) Prog() uint32

func (Wallet1_Server) ProgName

func (Wallet1_Server) ProgName() string

func (Wallet1_Server) Vers

func (Wallet1_Server) Vers() uint32

func (Wallet1_Server) VersName

func (Wallet1_Server) VersName() string

type WalletAck

type WalletAck struct {
	Transaction_acks []WalletTransactionAck
}

func XDR_WalletAck

func XDR_WalletAck(v *WalletAck) *WalletAck

func (*WalletAck) XdrMarshal

func (v *WalletAck) XdrMarshal(x XDR, name string)

func (*WalletAck) XdrPointer

func (v *WalletAck) XdrPointer() interface{}

func (*WalletAck) XdrRecurse

func (v *WalletAck) XdrRecurse(x XDR, name string)

func (WalletAck) XdrTypeName

func (WalletAck) XdrTypeName() string

func (WalletAck) XdrValue

func (v WalletAck) XdrValue() interface{}

type WalletSubmit

type WalletSubmit struct {
	Signed_transactions []SignedTransaction
}

func XDR_WalletSubmit

func XDR_WalletSubmit(v *WalletSubmit) *WalletSubmit

func (*WalletSubmit) XdrMarshal

func (v *WalletSubmit) XdrMarshal(x XDR, name string)

func (*WalletSubmit) XdrPointer

func (v *WalletSubmit) XdrPointer() interface{}

func (*WalletSubmit) XdrRecurse

func (v *WalletSubmit) XdrRecurse(x XDR, name string)

func (WalletSubmit) XdrTypeName

func (WalletSubmit) XdrTypeName() string

func (WalletSubmit) XdrValue

func (v WalletSubmit) XdrValue() interface{}

type WalletSubmittedTransactionID

type WalletSubmittedTransactionID = [32]byte

type WalletTransactionAck

type WalletTransactionAck struct {
	// The union discriminant Ack_type selects among the following arms:
	//   WalletTransactionNotSubmitted:
	//      void
	//   WalletTransactionSubmitted:
	//      Submitted_transaction_id() *WalletSubmittedTransactionID
	//   default:
	//      void
	Ack_type WalletTransactionAckType
	// contains filtered or unexported fields
}

func XDR_WalletTransactionAck

func XDR_WalletTransactionAck(v *WalletTransactionAck) *WalletTransactionAck

func (*WalletTransactionAck) Submitted_transaction_id

func (u *WalletTransactionAck) Submitted_transaction_id() *WalletSubmittedTransactionID

func (*WalletTransactionAck) XdrMarshal

func (v *WalletTransactionAck) XdrMarshal(x XDR, name string)

func (*WalletTransactionAck) XdrPointer

func (v *WalletTransactionAck) XdrPointer() interface{}

func (*WalletTransactionAck) XdrRecurse

func (u *WalletTransactionAck) XdrRecurse(x XDR, name string)

func (WalletTransactionAck) XdrTypeName

func (WalletTransactionAck) XdrTypeName() string

func (*WalletTransactionAck) XdrUnionBody

func (u *WalletTransactionAck) XdrUnionBody() XdrType

func (*WalletTransactionAck) XdrUnionBodyName

func (u *WalletTransactionAck) XdrUnionBodyName() string

func (*WalletTransactionAck) XdrUnionTag

func (u *WalletTransactionAck) XdrUnionTag() XdrNum32

func (*WalletTransactionAck) XdrUnionTagName

func (u *WalletTransactionAck) XdrUnionTagName() string

func (WalletTransactionAck) XdrValid

func (u WalletTransactionAck) XdrValid() bool

func (WalletTransactionAck) XdrValidTags

func (_ WalletTransactionAck) XdrValidTags() map[int32]bool

func (WalletTransactionAck) XdrValue

func (v WalletTransactionAck) XdrValue() interface{}

type WalletTransactionAckType

type WalletTransactionAckType int32
const (
	WalletTransactionNotSubmitted WalletTransactionAckType = 0
	WalletTransactionSubmitted    WalletTransactionAckType = 1
)

func (WalletTransactionAckType) GetU32

func (v WalletTransactionAckType) GetU32() uint32

func (*WalletTransactionAckType) Scan

func (*WalletTransactionAckType) SetU32

func (v *WalletTransactionAckType) SetU32(n uint32)

func (WalletTransactionAckType) String

func (v WalletTransactionAckType) String() string

func (WalletTransactionAckType) XdrEnumNames

func (WalletTransactionAckType) XdrEnumNames() map[int32]string

func (*WalletTransactionAckType) XdrMarshal

func (v *WalletTransactionAckType) XdrMarshal(x XDR, name string)

func (*WalletTransactionAckType) XdrPointer

func (v *WalletTransactionAckType) XdrPointer() interface{}

func (WalletTransactionAckType) XdrTypeName

func (WalletTransactionAckType) XdrTypeName() string

func (WalletTransactionAckType) XdrValue

func (v WalletTransactionAckType) XdrValue() interface{}

type Weight

type Weight = uint32

/ Represents the weight of a signature key in multi-signature schemes. / / Weights are accumulated from signing keys and compared against a required / threshold to determine if an auth claim is satisfied.

type WireStorageItem

type WireStorageItem struct {
	// The union discriminant Type selects among the following arms:
	//   KItemTypeBytestring:
	//      Bytestring() *Bytestring
	//   KItemTypeNonnegativeInt:
	//      Nnint() *Int128_xdr
	//   KItemTypeAuthData:
	//      Auth_data() *AddressAuthData
	//   KItemTypeRetrocausalQueue:
	//      Metadata() *RetrocausalQueueMetadata
	//   KItemTypeReplayCacheData:
	//      void
	//   KItemTypeDeployedContractHash:
	//      Deployed_contract_hash() *DeployedContractHash
	Type StorageItemType
	// contains filtered or unexported fields
}

#[doc(hidden)] This is the type that is actually sent over the network from the database to the executor. This type strips out complex types (the replay cache and retrocausal queue) that the executor does not need to load. The types are filled in, as the executor does need to know the type of an item even without knowing the contents.

func XDR_WireStorageItem

func XDR_WireStorageItem(v *WireStorageItem) *WireStorageItem

func (*WireStorageItem) Auth_data

func (u *WireStorageItem) Auth_data() *AddressAuthData

func (*WireStorageItem) Bytestring

func (u *WireStorageItem) Bytestring() *Bytestring

func (*WireStorageItem) Deployed_contract_hash

func (u *WireStorageItem) Deployed_contract_hash() *DeployedContractHash

func (*WireStorageItem) Metadata

func (*WireStorageItem) Nnint

func (u *WireStorageItem) Nnint() *Int128_xdr

func (*WireStorageItem) XdrMarshal

func (v *WireStorageItem) XdrMarshal(x XDR, name string)

func (*WireStorageItem) XdrPointer

func (v *WireStorageItem) XdrPointer() interface{}

func (*WireStorageItem) XdrRecurse

func (u *WireStorageItem) XdrRecurse(x XDR, name string)

func (WireStorageItem) XdrTypeName

func (WireStorageItem) XdrTypeName() string

func (*WireStorageItem) XdrUnionBody

func (u *WireStorageItem) XdrUnionBody() XdrType

func (*WireStorageItem) XdrUnionBodyName

func (u *WireStorageItem) XdrUnionBodyName() string

func (*WireStorageItem) XdrUnionTag

func (u *WireStorageItem) XdrUnionTag() XdrNum32

func (*WireStorageItem) XdrUnionTagName

func (u *WireStorageItem) XdrUnionTagName() string

func (WireStorageItem) XdrValid

func (u WireStorageItem) XdrValid() bool

func (WireStorageItem) XdrValidTags

func (_ WireStorageItem) XdrValidTags() map[int32]bool

func (WireStorageItem) XdrValue

func (v WireStorageItem) XdrValue() interface{}

type XdrAnon_AuthClaim_Source_address_claim

type XdrAnon_AuthClaim_Source_address_claim struct {
	Allowed_keys    BitMap
	Required_weight Weight
}

/ The transaction is signed by the keys in the source address's auth data. / The bitmap specifies which are allowed to be used to sign the transaction, / and the signatures must be listed in strictly increasing `public_key_id` / order. `required_weight` can only raise the auth data's threshold: the / signing weight must reach the larger of the two.

func (*XdrAnon_AuthClaim_Source_address_claim) XdrMarshal

func (v *XdrAnon_AuthClaim_Source_address_claim) XdrMarshal(x XDR, name string)

func (*XdrAnon_AuthClaim_Source_address_claim) XdrPointer

func (v *XdrAnon_AuthClaim_Source_address_claim) XdrPointer() interface{}

func (*XdrAnon_AuthClaim_Source_address_claim) XdrRecurse

func (v *XdrAnon_AuthClaim_Source_address_claim) XdrRecurse(x XDR, name string)

func (XdrAnon_AuthClaim_Source_address_claim) XdrTypeName

func (XdrAnon_AuthClaim_Source_address_claim) XdrValue

func (v XdrAnon_AuthClaim_Source_address_claim) XdrValue() interface{}

type XdrAnon_ContractEvent_Body

type XdrAnon_ContractEvent_Body struct {
	// The union discriminant V selects among the following arms:
	//   0:
	//      V0() *XdrAnon_ContractEvent_Body_V0
	V int32
	// contains filtered or unexported fields
}

func (*XdrAnon_ContractEvent_Body) V0

func (*XdrAnon_ContractEvent_Body) XdrMarshal

func (v *XdrAnon_ContractEvent_Body) XdrMarshal(x XDR, name string)

func (*XdrAnon_ContractEvent_Body) XdrPointer

func (v *XdrAnon_ContractEvent_Body) XdrPointer() interface{}

func (*XdrAnon_ContractEvent_Body) XdrRecurse

func (u *XdrAnon_ContractEvent_Body) XdrRecurse(x XDR, name string)

func (XdrAnon_ContractEvent_Body) XdrTypeName

func (XdrAnon_ContractEvent_Body) XdrTypeName() string

func (*XdrAnon_ContractEvent_Body) XdrUnionBody

func (u *XdrAnon_ContractEvent_Body) XdrUnionBody() XdrType

func (*XdrAnon_ContractEvent_Body) XdrUnionBodyName

func (u *XdrAnon_ContractEvent_Body) XdrUnionBodyName() string

func (*XdrAnon_ContractEvent_Body) XdrUnionTag

func (u *XdrAnon_ContractEvent_Body) XdrUnionTag() XdrNum32

func (*XdrAnon_ContractEvent_Body) XdrUnionTagName

func (u *XdrAnon_ContractEvent_Body) XdrUnionTagName() string

func (XdrAnon_ContractEvent_Body) XdrValid

func (u XdrAnon_ContractEvent_Body) XdrValid() bool

func (XdrAnon_ContractEvent_Body) XdrValidTags

func (_ XdrAnon_ContractEvent_Body) XdrValidTags() map[int32]bool

func (XdrAnon_ContractEvent_Body) XdrValue

func (v XdrAnon_ContractEvent_Body) XdrValue() interface{}

type XdrAnon_ContractEvent_Body_V0

type XdrAnon_ContractEvent_Body_V0 struct {
	Topics []SCVal
	Data   SCVal
}

func (*XdrAnon_ContractEvent_Body_V0) XdrMarshal

func (v *XdrAnon_ContractEvent_Body_V0) XdrMarshal(x XDR, name string)

func (*XdrAnon_ContractEvent_Body_V0) XdrPointer

func (v *XdrAnon_ContractEvent_Body_V0) XdrPointer() interface{}

func (*XdrAnon_ContractEvent_Body_V0) XdrRecurse

func (v *XdrAnon_ContractEvent_Body_V0) XdrRecurse(x XDR, name string)

func (XdrAnon_ContractEvent_Body_V0) XdrTypeName

func (XdrAnon_ContractEvent_Body_V0) XdrTypeName() string

func (XdrAnon_ContractEvent_Body_V0) XdrValue

func (v XdrAnon_ContractEvent_Body_V0) XdrValue() interface{}

type XdrAnon_SCPStatement_Pledges

type XdrAnon_SCPStatement_Pledges struct {
	// The union discriminant Stmt_type selects among the following arms:
	//   SCP_ST_PREPARE:
	//      Prepare() *SCPStatementPrepare
	//   SCP_ST_CONFIRM:
	//      Confirm() *SCPStatementConfirm
	//   SCP_ST_EXTERNALIZE:
	//      Externalize() *SCPStatementExternalize
	//   SCP_ST_NOMINATE:
	//      Nominate() *SCPStatementNominate
	Stmt_type SCPStatementType
	// contains filtered or unexported fields
}

func (*XdrAnon_SCPStatement_Pledges) Confirm

func (*XdrAnon_SCPStatement_Pledges) Externalize

func (*XdrAnon_SCPStatement_Pledges) Nominate

func (*XdrAnon_SCPStatement_Pledges) Prepare

func (*XdrAnon_SCPStatement_Pledges) XdrMarshal

func (v *XdrAnon_SCPStatement_Pledges) XdrMarshal(x XDR, name string)

func (*XdrAnon_SCPStatement_Pledges) XdrPointer

func (v *XdrAnon_SCPStatement_Pledges) XdrPointer() interface{}

func (*XdrAnon_SCPStatement_Pledges) XdrRecurse

func (u *XdrAnon_SCPStatement_Pledges) XdrRecurse(x XDR, name string)

func (XdrAnon_SCPStatement_Pledges) XdrTypeName

func (XdrAnon_SCPStatement_Pledges) XdrTypeName() string

func (*XdrAnon_SCPStatement_Pledges) XdrUnionBody

func (u *XdrAnon_SCPStatement_Pledges) XdrUnionBody() XdrType

func (*XdrAnon_SCPStatement_Pledges) XdrUnionBodyName

func (u *XdrAnon_SCPStatement_Pledges) XdrUnionBodyName() string

func (*XdrAnon_SCPStatement_Pledges) XdrUnionTag

func (u *XdrAnon_SCPStatement_Pledges) XdrUnionTag() XdrNum32

func (*XdrAnon_SCPStatement_Pledges) XdrUnionTagName

func (u *XdrAnon_SCPStatement_Pledges) XdrUnionTagName() string

func (XdrAnon_SCPStatement_Pledges) XdrValid

func (u XdrAnon_SCPStatement_Pledges) XdrValid() bool

func (XdrAnon_SCPStatement_Pledges) XdrValidTags

func (_ XdrAnon_SCPStatement_Pledges) XdrValidTags() map[int32]bool

func (XdrAnon_SCPStatement_Pledges) XdrValue

func (v XdrAnon_SCPStatement_Pledges) XdrValue() interface{}

type XdrType_AddressAndKey

type XdrType_AddressAndKey = *AddressAndKey

type XdrType_AddressAndKeyBatch

type XdrType_AddressAndKeyBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_AddressAndKeyBatch) GetVecLen

func (v XdrType_AddressAndKeyBatch) GetVecLen() uint32

func (XdrType_AddressAndKeyBatch) SetVecLen

func (v XdrType_AddressAndKeyBatch) SetVecLen(length uint32)

func (XdrType_AddressAndKeyBatch) XdrBound

func (XdrType_AddressAndKeyBatch) XdrBound() uint32

func (XdrType_AddressAndKeyBatch) XdrCheckLen

func (XdrType_AddressAndKeyBatch) XdrCheckLen(length uint32)

func (XdrType_AddressAndKeyBatch) XdrMarshal

func (v XdrType_AddressAndKeyBatch) XdrMarshal(x XDR, name string)

func (XdrType_AddressAndKeyBatch) XdrMarshalN

func (v XdrType_AddressAndKeyBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_AddressAndKeyBatch) XdrPointer

func (v XdrType_AddressAndKeyBatch) XdrPointer() interface{}

func (XdrType_AddressAndKeyBatch) XdrRecurse

func (v XdrType_AddressAndKeyBatch) XdrRecurse(x XDR, name string)

func (XdrType_AddressAndKeyBatch) XdrTypeName

func (XdrType_AddressAndKeyBatch) XdrTypeName() string

func (XdrType_AddressAndKeyBatch) XdrUnwrap

func (v XdrType_AddressAndKeyBatch) XdrUnwrap() XdrType

func (XdrType_AddressAndKeyBatch) XdrValue

func (v XdrType_AddressAndKeyBatch) XdrValue() interface{}

type XdrType_AddressAuthData

type XdrType_AddressAuthData = *AddressAuthData

type XdrType_AddressTransactionQuery

type XdrType_AddressTransactionQuery = *AddressTransactionQuery

type XdrType_ApprovalEvent

type XdrType_ApprovalEvent = *ApprovalEvent

type XdrType_AuthCard

type XdrType_AuthCard = *AuthCard

type XdrType_AuthClaim

type XdrType_AuthClaim = *AuthClaim

type XdrType_AuthClaimType

type XdrType_AuthClaimType = *AuthClaimType

type XdrType_AuthDataChangeArgs

type XdrType_AuthDataChangeArgs = *AuthDataChangeArgs

type XdrType_AuthDataChangeSigner

type XdrType_AuthDataChangeSigner = *AuthDataChangeSigner

type XdrType_AuthErrorCode

type XdrType_AuthErrorCode = *AuthErrorCode

type XdrType_AuthErrorCodeBatch

type XdrType_AuthErrorCodeBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_AuthErrorCodeBatch) GetVecLen

func (v XdrType_AuthErrorCodeBatch) GetVecLen() uint32

func (XdrType_AuthErrorCodeBatch) SetVecLen

func (v XdrType_AuthErrorCodeBatch) SetVecLen(length uint32)

func (XdrType_AuthErrorCodeBatch) XdrBound

func (XdrType_AuthErrorCodeBatch) XdrBound() uint32

func (XdrType_AuthErrorCodeBatch) XdrCheckLen

func (XdrType_AuthErrorCodeBatch) XdrCheckLen(length uint32)

func (XdrType_AuthErrorCodeBatch) XdrMarshal

func (v XdrType_AuthErrorCodeBatch) XdrMarshal(x XDR, name string)

func (XdrType_AuthErrorCodeBatch) XdrMarshalN

func (v XdrType_AuthErrorCodeBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_AuthErrorCodeBatch) XdrPointer

func (v XdrType_AuthErrorCodeBatch) XdrPointer() interface{}

func (XdrType_AuthErrorCodeBatch) XdrRecurse

func (v XdrType_AuthErrorCodeBatch) XdrRecurse(x XDR, name string)

func (XdrType_AuthErrorCodeBatch) XdrTypeName

func (XdrType_AuthErrorCodeBatch) XdrTypeName() string

func (XdrType_AuthErrorCodeBatch) XdrUnwrap

func (v XdrType_AuthErrorCodeBatch) XdrUnwrap() XdrType

func (XdrType_AuthErrorCodeBatch) XdrValue

func (v XdrType_AuthErrorCodeBatch) XdrValue() interface{}

type XdrType_AuthToken

type XdrType_AuthToken = *AuthToken

type XdrType_AuthTokenNode

type XdrType_AuthTokenNode = *AuthTokenNode

type XdrType_AuthTokenPayload

type XdrType_AuthTokenPayload struct {
	XdrVecOpaque
}

func (XdrType_AuthTokenPayload) XdrTypeName

func (XdrType_AuthTokenPayload) XdrTypeName() string

func (XdrType_AuthTokenPayload) XdrUnwrap

func (v XdrType_AuthTokenPayload) XdrUnwrap() XdrType

type XdrType_AuthVerifyErrorCode

type XdrType_AuthVerifyErrorCode = *AuthVerifyErrorCode

type XdrType_BatonConfig

type XdrType_BatonConfig = *BatonConfig

type XdrType_BitMap

type XdrType_BitMap struct {
	XdrType_uint32
}

func XDR_BitMap

func XDR_BitMap(v *BitMap) XdrType_BitMap

func (XdrType_BitMap) XdrTypeName

func (XdrType_BitMap) XdrTypeName() string

func (XdrType_BitMap) XdrUnwrap

func (v XdrType_BitMap) XdrUnwrap() XdrType

type XdrType_BlockAnchor

type XdrType_BlockAnchor = *BlockAnchor

type XdrType_BlockAnchorKind

type XdrType_BlockAnchorKind = *BlockAnchorKind

type XdrType_BlockExecutionContext

type XdrType_BlockExecutionContext = *BlockExecutionContext

type XdrType_BlockExecutionMode

type XdrType_BlockExecutionMode = *BlockExecutionMode

type XdrType_BlockHeight

type XdrType_BlockHeight struct {
	XdrType_int64
}

func XDR_BlockHeight

func XDR_BlockHeight(v *BlockHeight) XdrType_BlockHeight

func (XdrType_BlockHeight) XdrTypeName

func (XdrType_BlockHeight) XdrTypeName() string

func (XdrType_BlockHeight) XdrUnwrap

func (v XdrType_BlockHeight) XdrUnwrap() XdrType

type XdrType_BlockID

type XdrType_BlockID struct {
	XdrType_uint64
}

func XDR_BlockID

func XDR_BlockID(v *BlockID) XdrType_BlockID

func (XdrType_BlockID) XdrTypeName

func (XdrType_BlockID) XdrTypeName() string

func (XdrType_BlockID) XdrUnwrap

func (v XdrType_BlockID) XdrUnwrap() XdrType

type XdrType_BlockLookupOutcome

type XdrType_BlockLookupOutcome = *BlockLookupOutcome

type XdrType_BlockLookupResult

type XdrType_BlockLookupResult = *BlockLookupResult

type XdrType_BlockTransactionQuery

type XdrType_BlockTransactionQuery = *BlockTransactionQuery

type XdrType_BristleconeContent

type XdrType_BristleconeContent = *BristleconeContent

type XdrType_BristleconeContentType

type XdrType_BristleconeContentType = *BristleconeContentType

type XdrType_BristleconeCount

type XdrType_BristleconeCount struct {
	XdrType_uint32
}

func (XdrType_BristleconeCount) XdrTypeName

func (XdrType_BristleconeCount) XdrTypeName() string

func (XdrType_BristleconeCount) XdrUnwrap

func (v XdrType_BristleconeCount) XdrUnwrap() XdrType

type XdrType_BristleconeEnvelope

type XdrType_BristleconeEnvelope = *BristleconeEnvelope

type XdrType_BristleconeEnvelopes

type XdrType_BristleconeEnvelopes struct {
	// contains filtered or unexported fields
}

func (XdrType_BristleconeEnvelopes) GetVecLen

func (v XdrType_BristleconeEnvelopes) GetVecLen() uint32

func (XdrType_BristleconeEnvelopes) SetVecLen

func (v XdrType_BristleconeEnvelopes) SetVecLen(length uint32)

func (XdrType_BristleconeEnvelopes) XdrBound

func (XdrType_BristleconeEnvelopes) XdrBound() uint32

func (XdrType_BristleconeEnvelopes) XdrCheckLen

func (XdrType_BristleconeEnvelopes) XdrCheckLen(length uint32)

func (XdrType_BristleconeEnvelopes) XdrMarshal

func (v XdrType_BristleconeEnvelopes) XdrMarshal(x XDR, name string)

func (XdrType_BristleconeEnvelopes) XdrMarshalN

func (v XdrType_BristleconeEnvelopes) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_BristleconeEnvelopes) XdrPointer

func (v XdrType_BristleconeEnvelopes) XdrPointer() interface{}

func (XdrType_BristleconeEnvelopes) XdrRecurse

func (v XdrType_BristleconeEnvelopes) XdrRecurse(x XDR, name string)

func (XdrType_BristleconeEnvelopes) XdrTypeName

func (XdrType_BristleconeEnvelopes) XdrTypeName() string

func (XdrType_BristleconeEnvelopes) XdrUnwrap

func (v XdrType_BristleconeEnvelopes) XdrUnwrap() XdrType

func (XdrType_BristleconeEnvelopes) XdrValue

func (v XdrType_BristleconeEnvelopes) XdrValue() interface{}

type XdrType_BristleconeNote

type XdrType_BristleconeNote = *BristleconeNote

type XdrType_BristleconeOptQuorumSet

type XdrType_BristleconeOptQuorumSet struct {
	// contains filtered or unexported fields
}

func (XdrType_BristleconeOptQuorumSet) GetPresent

func (v XdrType_BristleconeOptQuorumSet) GetPresent() bool

func (XdrType_BristleconeOptQuorumSet) SetPresent

func (v XdrType_BristleconeOptQuorumSet) SetPresent(present bool)

func (XdrType_BristleconeOptQuorumSet) XdrMarshal

func (v XdrType_BristleconeOptQuorumSet) XdrMarshal(x XDR, name string)

func (XdrType_BristleconeOptQuorumSet) XdrMarshalValue

func (v XdrType_BristleconeOptQuorumSet) XdrMarshalValue(x XDR, name string)

func (XdrType_BristleconeOptQuorumSet) XdrPointer

func (v XdrType_BristleconeOptQuorumSet) XdrPointer() interface{}

func (XdrType_BristleconeOptQuorumSet) XdrRecurse

func (v XdrType_BristleconeOptQuorumSet) XdrRecurse(x XDR, name string)

func (XdrType_BristleconeOptQuorumSet) XdrTypeName

func (XdrType_BristleconeOptQuorumSet) XdrUnwrap

func (v XdrType_BristleconeOptQuorumSet) XdrUnwrap() XdrType

func (XdrType_BristleconeOptQuorumSet) XdrValue

func (v XdrType_BristleconeOptQuorumSet) XdrValue() interface{}

type XdrType_BristleconeOptValue

type XdrType_BristleconeOptValue struct {
	// contains filtered or unexported fields
}

func (XdrType_BristleconeOptValue) GetPresent

func (v XdrType_BristleconeOptValue) GetPresent() bool

func (XdrType_BristleconeOptValue) SetPresent

func (v XdrType_BristleconeOptValue) SetPresent(present bool)

func (XdrType_BristleconeOptValue) XdrMarshal

func (v XdrType_BristleconeOptValue) XdrMarshal(x XDR, name string)

func (XdrType_BristleconeOptValue) XdrMarshalValue

func (v XdrType_BristleconeOptValue) XdrMarshalValue(x XDR, name string)

func (XdrType_BristleconeOptValue) XdrPointer

func (v XdrType_BristleconeOptValue) XdrPointer() interface{}

func (XdrType_BristleconeOptValue) XdrRecurse

func (v XdrType_BristleconeOptValue) XdrRecurse(x XDR, name string)

func (XdrType_BristleconeOptValue) XdrTypeName

func (XdrType_BristleconeOptValue) XdrTypeName() string

func (XdrType_BristleconeOptValue) XdrUnwrap

func (v XdrType_BristleconeOptValue) XdrUnwrap() XdrType

func (XdrType_BristleconeOptValue) XdrValue

func (v XdrType_BristleconeOptValue) XdrValue() interface{}

type XdrType_BristleconeProposal

type XdrType_BristleconeProposal = *BristleconeProposal

type XdrType_BristleconeQuorumSet

type XdrType_BristleconeQuorumSet = *BristleconeQuorumSet

type XdrType_BristleconeQuorumSetHash

type XdrType_BristleconeQuorumSetHash struct {
	// contains filtered or unexported fields
}

func (XdrType_BristleconeQuorumSetHash) GetByteSlice

func (v XdrType_BristleconeQuorumSetHash) GetByteSlice() []byte

func (XdrType_BristleconeQuorumSetHash) Scan

func (v XdrType_BristleconeQuorumSetHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_BristleconeQuorumSetHash) String

func (v XdrType_BristleconeQuorumSetHash) String() string

func (XdrType_BristleconeQuorumSetHash) XdrArraySize

func (XdrType_BristleconeQuorumSetHash) XdrArraySize() uint32

func (XdrType_BristleconeQuorumSetHash) XdrMarshal

func (v XdrType_BristleconeQuorumSetHash) XdrMarshal(x XDR, name string)

func (XdrType_BristleconeQuorumSetHash) XdrPointer

func (v XdrType_BristleconeQuorumSetHash) XdrPointer() interface{}

func (XdrType_BristleconeQuorumSetHash) XdrTypeName

func (XdrType_BristleconeQuorumSetHash) XdrUnwrap

func (v XdrType_BristleconeQuorumSetHash) XdrUnwrap() XdrType

func (XdrType_BristleconeQuorumSetHash) XdrValue

func (v XdrType_BristleconeQuorumSetHash) XdrValue() interface{}

type XdrType_BristleconeSafeStatement

type XdrType_BristleconeSafeStatement = *BristleconeSafeStatement

type XdrType_BristleconeSafeVote

type XdrType_BristleconeSafeVote = *BristleconeSafeVote

type XdrType_BristleconeSlot

type XdrType_BristleconeSlot struct {
	XdrType_int64
}

func (XdrType_BristleconeSlot) XdrTypeName

func (XdrType_BristleconeSlot) XdrTypeName() string

func (XdrType_BristleconeSlot) XdrUnwrap

func (v XdrType_BristleconeSlot) XdrUnwrap() XdrType

type XdrType_BristleconeTimelyStatement

type XdrType_BristleconeTimelyStatement = *BristleconeTimelyStatement

type XdrType_BristleconeTimelyVote

type XdrType_BristleconeTimelyVote = *BristleconeTimelyVote

type XdrType_BristleconeValue

type XdrType_BristleconeValue struct {
	XdrVecOpaque
}

func (XdrType_BristleconeValue) XdrTypeName

func (XdrType_BristleconeValue) XdrTypeName() string

func (XdrType_BristleconeValue) XdrUnwrap

func (v XdrType_BristleconeValue) XdrUnwrap() XdrType

type XdrType_BristleconeValues

type XdrType_BristleconeValues struct {
	// contains filtered or unexported fields
}

func (XdrType_BristleconeValues) GetVecLen

func (v XdrType_BristleconeValues) GetVecLen() uint32

func (XdrType_BristleconeValues) SetVecLen

func (v XdrType_BristleconeValues) SetVecLen(length uint32)

func (XdrType_BristleconeValues) XdrBound

func (XdrType_BristleconeValues) XdrBound() uint32

func (XdrType_BristleconeValues) XdrCheckLen

func (XdrType_BristleconeValues) XdrCheckLen(length uint32)

func (XdrType_BristleconeValues) XdrMarshal

func (v XdrType_BristleconeValues) XdrMarshal(x XDR, name string)

func (XdrType_BristleconeValues) XdrMarshalN

func (v XdrType_BristleconeValues) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_BristleconeValues) XdrPointer

func (v XdrType_BristleconeValues) XdrPointer() interface{}

func (XdrType_BristleconeValues) XdrRecurse

func (v XdrType_BristleconeValues) XdrRecurse(x XDR, name string)

func (XdrType_BristleconeValues) XdrTypeName

func (XdrType_BristleconeValues) XdrTypeName() string

func (XdrType_BristleconeValues) XdrUnwrap

func (v XdrType_BristleconeValues) XdrUnwrap() XdrType

func (XdrType_BristleconeValues) XdrValue

func (v XdrType_BristleconeValues) XdrValue() interface{}

type XdrType_BristleconeVoteType

type XdrType_BristleconeVoteType = *BristleconeVoteType

type XdrType_Bytes

type XdrType_Bytes struct {
	XdrVecOpaque
}

func XDR_Bytes

func XDR_Bytes(v *Bytes) XdrType_Bytes

func (XdrType_Bytes) XdrTypeName

func (XdrType_Bytes) XdrTypeName() string

func (XdrType_Bytes) XdrUnwrap

func (v XdrType_Bytes) XdrUnwrap() XdrType

type XdrType_Bytestring

type XdrType_Bytestring struct {
	XdrVecOpaque
}

func XDR_Bytestring

func XDR_Bytestring(v *Bytestring) XdrType_Bytestring

func (XdrType_Bytestring) XdrTypeName

func (XdrType_Bytestring) XdrTypeName() string

func (XdrType_Bytestring) XdrUnwrap

func (v XdrType_Bytestring) XdrUnwrap() XdrType

type XdrType_Calldata

type XdrType_Calldata struct {
	XdrVecOpaque
}

func XDR_Calldata

func XDR_Calldata(v *Calldata) XdrType_Calldata

func (XdrType_Calldata) XdrTypeName

func (XdrType_Calldata) XdrTypeName() string

func (XdrType_Calldata) XdrUnwrap

func (v XdrType_Calldata) XdrUnwrap() XdrType

type XdrType_CatchupBlock

type XdrType_CatchupBlock = *CatchupBlock

type XdrType_CatchupBlocksRequest

type XdrType_CatchupBlocksRequest = *CatchupBlocksRequest

type XdrType_CatchupBlocksResult

type XdrType_CatchupBlocksResult = *CatchupBlocksResult

type XdrType_CatchupConfig

type XdrType_CatchupConfig = *CatchupConfig

type XdrType_CatchupSpan

type XdrType_CatchupSpan = *CatchupSpan

type XdrType_Config

type XdrType_Config = *Config

type XdrType_ConfigHash

type XdrType_ConfigHash struct {
	XdrType_SHA256Hash
}

func XDR_ConfigHash

func XDR_ConfigHash(v *ConfigHash) XdrType_ConfigHash

func (XdrType_ConfigHash) GetByteSlice

func (v XdrType_ConfigHash) GetByteSlice() []byte

func (XdrType_ConfigHash) Scan

func (v XdrType_ConfigHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_ConfigHash) String

func (v XdrType_ConfigHash) String() string

func (XdrType_ConfigHash) XdrArraySize

func (XdrType_ConfigHash) XdrArraySize() uint32

func (XdrType_ConfigHash) XdrMarshal

func (v XdrType_ConfigHash) XdrMarshal(x XDR, name string)

func (XdrType_ConfigHash) XdrPointer

func (v XdrType_ConfigHash) XdrPointer() interface{}

func (XdrType_ConfigHash) XdrTypeName

func (XdrType_ConfigHash) XdrTypeName() string

func (XdrType_ConfigHash) XdrUnwrap

func (v XdrType_ConfigHash) XdrUnwrap() XdrType

func (XdrType_ConfigHash) XdrValue

func (v XdrType_ConfigHash) XdrValue() interface{}

type XdrType_ConfigHashPreimage

type XdrType_ConfigHashPreimage = *ConfigHashPreimage

type XdrType_ConfigParam

type XdrType_ConfigParam = *ConfigParam

type XdrType_ConfigParamID

type XdrType_ConfigParamID = *ConfigParamID

type XdrType_ConsensusBasis

type XdrType_ConsensusBasis = *ConsensusBasis

type XdrType_ConsensusValue

type XdrType_ConsensusValue = *ConsensusValue

type XdrType_ConsensusValueHash

type XdrType_ConsensusValueHash struct {
	XdrType_SHA256Hash
}

func (XdrType_ConsensusValueHash) GetByteSlice

func (v XdrType_ConsensusValueHash) GetByteSlice() []byte

func (XdrType_ConsensusValueHash) Scan

func (v XdrType_ConsensusValueHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_ConsensusValueHash) String

func (v XdrType_ConsensusValueHash) String() string

func (XdrType_ConsensusValueHash) XdrArraySize

func (XdrType_ConsensusValueHash) XdrArraySize() uint32

func (XdrType_ConsensusValueHash) XdrMarshal

func (v XdrType_ConsensusValueHash) XdrMarshal(x XDR, name string)

func (XdrType_ConsensusValueHash) XdrPointer

func (v XdrType_ConsensusValueHash) XdrPointer() interface{}

func (XdrType_ConsensusValueHash) XdrTypeName

func (XdrType_ConsensusValueHash) XdrTypeName() string

func (XdrType_ConsensusValueHash) XdrUnwrap

func (v XdrType_ConsensusValueHash) XdrUnwrap() XdrType

func (XdrType_ConsensusValueHash) XdrValue

func (v XdrType_ConsensusValueHash) XdrValue() interface{}

type XdrType_ConsumeUniquifierArgs

type XdrType_ConsumeUniquifierArgs = *ConsumeUniquifierArgs

type XdrType_Contract

type XdrType_Contract = *Contract

type XdrType_ContractAddress

type XdrType_ContractAddress struct {
	// contains filtered or unexported fields
}

func (XdrType_ContractAddress) GetByteSlice

func (v XdrType_ContractAddress) GetByteSlice() []byte

func (XdrType_ContractAddress) Scan

func (v XdrType_ContractAddress) Scan(ss fmt.ScanState, c rune) error

func (XdrType_ContractAddress) String

func (v XdrType_ContractAddress) String() string

func (XdrType_ContractAddress) XdrArraySize

func (XdrType_ContractAddress) XdrArraySize() uint32

func (XdrType_ContractAddress) XdrMarshal

func (v XdrType_ContractAddress) XdrMarshal(x XDR, name string)

func (XdrType_ContractAddress) XdrPointer

func (v XdrType_ContractAddress) XdrPointer() interface{}

func (XdrType_ContractAddress) XdrTypeName

func (XdrType_ContractAddress) XdrTypeName() string

func (XdrType_ContractAddress) XdrUnwrap

func (v XdrType_ContractAddress) XdrUnwrap() XdrType

func (XdrType_ContractAddress) XdrValue

func (v XdrType_ContractAddress) XdrValue() interface{}

type XdrType_ContractAddressBatch

type XdrType_ContractAddressBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_ContractAddressBatch) GetVecLen

func (v XdrType_ContractAddressBatch) GetVecLen() uint32

func (XdrType_ContractAddressBatch) SetVecLen

func (v XdrType_ContractAddressBatch) SetVecLen(length uint32)

func (XdrType_ContractAddressBatch) XdrBound

func (XdrType_ContractAddressBatch) XdrBound() uint32

func (XdrType_ContractAddressBatch) XdrCheckLen

func (XdrType_ContractAddressBatch) XdrCheckLen(length uint32)

func (XdrType_ContractAddressBatch) XdrMarshal

func (v XdrType_ContractAddressBatch) XdrMarshal(x XDR, name string)

func (XdrType_ContractAddressBatch) XdrMarshalN

func (v XdrType_ContractAddressBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_ContractAddressBatch) XdrPointer

func (v XdrType_ContractAddressBatch) XdrPointer() interface{}

func (XdrType_ContractAddressBatch) XdrRecurse

func (v XdrType_ContractAddressBatch) XdrRecurse(x XDR, name string)

func (XdrType_ContractAddressBatch) XdrTypeName

func (XdrType_ContractAddressBatch) XdrTypeName() string

func (XdrType_ContractAddressBatch) XdrUnwrap

func (v XdrType_ContractAddressBatch) XdrUnwrap() XdrType

func (XdrType_ContractAddressBatch) XdrValue

func (v XdrType_ContractAddressBatch) XdrValue() interface{}

type XdrType_ContractAddressList

type XdrType_ContractAddressList struct {
	// contains filtered or unexported fields
}

func (XdrType_ContractAddressList) GetVecLen

func (v XdrType_ContractAddressList) GetVecLen() uint32

func (XdrType_ContractAddressList) SetVecLen

func (v XdrType_ContractAddressList) SetVecLen(length uint32)

func (XdrType_ContractAddressList) XdrBound

func (XdrType_ContractAddressList) XdrBound() uint32

func (XdrType_ContractAddressList) XdrCheckLen

func (XdrType_ContractAddressList) XdrCheckLen(length uint32)

func (XdrType_ContractAddressList) XdrMarshal

func (v XdrType_ContractAddressList) XdrMarshal(x XDR, name string)

func (XdrType_ContractAddressList) XdrMarshalN

func (v XdrType_ContractAddressList) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_ContractAddressList) XdrPointer

func (v XdrType_ContractAddressList) XdrPointer() interface{}

func (XdrType_ContractAddressList) XdrRecurse

func (v XdrType_ContractAddressList) XdrRecurse(x XDR, name string)

func (XdrType_ContractAddressList) XdrTypeName

func (XdrType_ContractAddressList) XdrTypeName() string

func (XdrType_ContractAddressList) XdrUnwrap

func (v XdrType_ContractAddressList) XdrUnwrap() XdrType

func (XdrType_ContractAddressList) XdrValue

func (v XdrType_ContractAddressList) XdrValue() interface{}

type XdrType_ContractBlob

type XdrType_ContractBlob = *ContractBlob

type XdrType_ContractDeploymentHashPreimage

type XdrType_ContractDeploymentHashPreimage = *ContractDeploymentHashPreimage

type XdrType_ContractEntrypointID

type XdrType_ContractEntrypointID struct {
	// contains filtered or unexported fields
}

func (XdrType_ContractEntrypointID) GetByteSlice

func (v XdrType_ContractEntrypointID) GetByteSlice() []byte

func (XdrType_ContractEntrypointID) Scan

func (v XdrType_ContractEntrypointID) Scan(ss fmt.ScanState, c rune) error

func (XdrType_ContractEntrypointID) String

func (v XdrType_ContractEntrypointID) String() string

func (XdrType_ContractEntrypointID) XdrArraySize

func (XdrType_ContractEntrypointID) XdrArraySize() uint32

func (XdrType_ContractEntrypointID) XdrMarshal

func (v XdrType_ContractEntrypointID) XdrMarshal(x XDR, name string)

func (XdrType_ContractEntrypointID) XdrPointer

func (v XdrType_ContractEntrypointID) XdrPointer() interface{}

func (XdrType_ContractEntrypointID) XdrTypeName

func (XdrType_ContractEntrypointID) XdrTypeName() string

func (XdrType_ContractEntrypointID) XdrUnwrap

func (v XdrType_ContractEntrypointID) XdrUnwrap() XdrType

func (XdrType_ContractEntrypointID) XdrValue

func (v XdrType_ContractEntrypointID) XdrValue() interface{}

type XdrType_ContractEvent

type XdrType_ContractEvent = *ContractEvent

type XdrType_ContractEventType

type XdrType_ContractEventType = *ContractEventType

type XdrType_ContractID

type XdrType_ContractID struct {
	XdrType_SHA256Hash
}

func XDR_ContractID

func XDR_ContractID(v *ContractID) XdrType_ContractID

func (XdrType_ContractID) GetByteSlice

func (v XdrType_ContractID) GetByteSlice() []byte

func (XdrType_ContractID) Scan

func (v XdrType_ContractID) Scan(ss fmt.ScanState, c rune) error

func (XdrType_ContractID) String

func (v XdrType_ContractID) String() string

func (XdrType_ContractID) XdrArraySize

func (XdrType_ContractID) XdrArraySize() uint32

func (XdrType_ContractID) XdrMarshal

func (v XdrType_ContractID) XdrMarshal(x XDR, name string)

func (XdrType_ContractID) XdrPointer

func (v XdrType_ContractID) XdrPointer() interface{}

func (XdrType_ContractID) XdrTypeName

func (XdrType_ContractID) XdrTypeName() string

func (XdrType_ContractID) XdrUnwrap

func (v XdrType_ContractID) XdrUnwrap() XdrType

func (XdrType_ContractID) XdrValue

func (v XdrType_ContractID) XdrValue() interface{}

type XdrType_ContractRejectCode

type XdrType_ContractRejectCode = *ContractRejectCode

type XdrType_ContractRejectDiagnostic

type XdrType_ContractRejectDiagnostic = *ContractRejectDiagnostic

type XdrType_ContractType

type XdrType_ContractType = *ContractType

type XdrType_CoordCard

type XdrType_CoordCard = *CoordCard

type XdrType_CoordinatorBatonConfig

type XdrType_CoordinatorBatonConfig = *CoordinatorBatonConfig

type XdrType_CoordinatorConfig

type XdrType_CoordinatorConfig = *CoordinatorConfig

type XdrType_CoordinatorConsensusConfig

type XdrType_CoordinatorConsensusConfig = *CoordinatorConsensusConfig

type XdrType_CoordinatorPoolConfig

type XdrType_CoordinatorPoolConfig = *CoordinatorPoolConfig

type XdrType_CoordinatorRegistrationOutcome

type XdrType_CoordinatorRegistrationOutcome = *CoordinatorRegistrationOutcome

type XdrType_CoordinatorRouterConfig

type XdrType_CoordinatorRouterConfig = *CoordinatorRouterConfig

type XdrType_CryptographicScheme

type XdrType_CryptographicScheme = *CryptographicScheme

type XdrType_DBAuthError

type XdrType_DBAuthError = *DBAuthError

type XdrType_DBAuthIntroOutcome

type XdrType_DBAuthIntroOutcome = *DBAuthIntroOutcome

type XdrType_DBAuthIntroResult

type XdrType_DBAuthIntroResult = *DBAuthIntroResult

type XdrType_DBAuthResult

type XdrType_DBAuthResult = *DBAuthResult

type XdrType_DBAuthResultBatch

type XdrType_DBAuthResultBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_DBAuthResultBatch) GetVecLen

func (v XdrType_DBAuthResultBatch) GetVecLen() uint32

func (XdrType_DBAuthResultBatch) SetVecLen

func (v XdrType_DBAuthResultBatch) SetVecLen(length uint32)

func (XdrType_DBAuthResultBatch) XdrBound

func (XdrType_DBAuthResultBatch) XdrBound() uint32

func (XdrType_DBAuthResultBatch) XdrCheckLen

func (XdrType_DBAuthResultBatch) XdrCheckLen(length uint32)

func (XdrType_DBAuthResultBatch) XdrMarshal

func (v XdrType_DBAuthResultBatch) XdrMarshal(x XDR, name string)

func (XdrType_DBAuthResultBatch) XdrMarshalN

func (v XdrType_DBAuthResultBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_DBAuthResultBatch) XdrPointer

func (v XdrType_DBAuthResultBatch) XdrPointer() interface{}

func (XdrType_DBAuthResultBatch) XdrRecurse

func (v XdrType_DBAuthResultBatch) XdrRecurse(x XDR, name string)

func (XdrType_DBAuthResultBatch) XdrTypeName

func (XdrType_DBAuthResultBatch) XdrTypeName() string

func (XdrType_DBAuthResultBatch) XdrUnwrap

func (v XdrType_DBAuthResultBatch) XdrUnwrap() XdrType

func (XdrType_DBAuthResultBatch) XdrValue

func (v XdrType_DBAuthResultBatch) XdrValue() interface{}

type XdrType_Data

type XdrType_Data struct {
	XdrVecOpaque
}

func XDR_Data

func XDR_Data(v *Data) XdrType_Data

func (XdrType_Data) XdrTypeName

func (XdrType_Data) XdrTypeName() string

func (XdrType_Data) XdrUnwrap

func (v XdrType_Data) XdrUnwrap() XdrType

type XdrType_DbAddressAuthDataBatchResult

type XdrType_DbAddressAuthDataBatchResult = *DbAddressAuthDataBatchResult

type XdrType_DbBlockOk

type XdrType_DbBlockOk = *DbBlockOk

type XdrType_DbBlockResult

type XdrType_DbBlockResult = *DbBlockResult

type XdrType_DbConflictCode

type XdrType_DbConflictCode = *DbConflictCode

type XdrType_DbConflictDiagnostic

type XdrType_DbConflictDiagnostic = *DbConflictDiagnostic

type XdrType_DbConflictResult

type XdrType_DbConflictResult = *DbConflictResult

type XdrType_DbDiagnosticLevel

type XdrType_DbDiagnosticLevel = *DbDiagnosticLevel

type XdrType_DbGatewayConfig

type XdrType_DbGatewayConfig = *DbGatewayConfig

type XdrType_DbGatewayConfigResult

type XdrType_DbGatewayConfigResult = *DbGatewayConfigResult

type XdrType_DbGatewayContractResult

type XdrType_DbGatewayContractResult = *DbGatewayContractResult

type XdrType_DbGatewayIntroOutcome

type XdrType_DbGatewayIntroOutcome = *DbGatewayIntroOutcome

type XdrType_DbGatewayItemBatch

type XdrType_DbGatewayItemBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_DbGatewayItemBatch) GetVecLen

func (v XdrType_DbGatewayItemBatch) GetVecLen() uint32

func (XdrType_DbGatewayItemBatch) SetVecLen

func (v XdrType_DbGatewayItemBatch) SetVecLen(length uint32)

func (XdrType_DbGatewayItemBatch) XdrBound

func (XdrType_DbGatewayItemBatch) XdrBound() uint32

func (XdrType_DbGatewayItemBatch) XdrCheckLen

func (XdrType_DbGatewayItemBatch) XdrCheckLen(length uint32)

func (XdrType_DbGatewayItemBatch) XdrMarshal

func (v XdrType_DbGatewayItemBatch) XdrMarshal(x XDR, name string)

func (XdrType_DbGatewayItemBatch) XdrMarshalN

func (v XdrType_DbGatewayItemBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_DbGatewayItemBatch) XdrPointer

func (v XdrType_DbGatewayItemBatch) XdrPointer() interface{}

func (XdrType_DbGatewayItemBatch) XdrRecurse

func (v XdrType_DbGatewayItemBatch) XdrRecurse(x XDR, name string)

func (XdrType_DbGatewayItemBatch) XdrTypeName

func (XdrType_DbGatewayItemBatch) XdrTypeName() string

func (XdrType_DbGatewayItemBatch) XdrUnwrap

func (v XdrType_DbGatewayItemBatch) XdrUnwrap() XdrType

func (XdrType_DbGatewayItemBatch) XdrValue

func (v XdrType_DbGatewayItemBatch) XdrValue() interface{}

type XdrType_DbGatewayItemResult

type XdrType_DbGatewayItemResult = *DbGatewayItemResult

type XdrType_DbGatewayPayload

type XdrType_DbGatewayPayload = *DbGatewayPayload

type XdrType_DbGatewayResult

type XdrType_DbGatewayResult = *DbGatewayResult

type XdrType_DbSchedResult

type XdrType_DbSchedResult = *DbSchedResult

type XdrType_DbShardResult

type XdrType_DbShardResult = *DbShardResult

type XdrType_DbTip

type XdrType_DbTip = *DbTip

type XdrType_DbTipResult

type XdrType_DbTipResult = *DbTipResult

type XdrType_DecoratedSignature

type XdrType_DecoratedSignature = *DecoratedSignature

type XdrType_Delta

type XdrType_Delta = *Delta

type XdrType_DeployedContractHash

type XdrType_DeployedContractHash = *DeployedContractHash

type XdrType_DiscoveryConfig

type XdrType_DiscoveryConfig = *DiscoveryConfig

type XdrType_DogwoodChunk

type XdrType_DogwoodChunk = *DogwoodChunk

type XdrType_DogwoodConfig

type XdrType_DogwoodConfig = *DogwoodConfig

type XdrType_DogwoodDelivery

type XdrType_DogwoodDelivery = *DogwoodDelivery

type XdrType_DogwoodDeliveryEnvelope

type XdrType_DogwoodDeliveryEnvelope = *DogwoodDeliveryEnvelope

type XdrType_DogwoodInt32

type XdrType_DogwoodInt32 struct {
	XdrType_uint32
}

func XDR_DogwoodInt32

func XDR_DogwoodInt32(v *DogwoodInt32) XdrType_DogwoodInt32

func (XdrType_DogwoodInt32) XdrTypeName

func (XdrType_DogwoodInt32) XdrTypeName() string

func (XdrType_DogwoodInt32) XdrUnwrap

func (v XdrType_DogwoodInt32) XdrUnwrap() XdrType

type XdrType_DogwoodInt64

type XdrType_DogwoodInt64 struct {
	XdrType_uint64
}

func XDR_DogwoodInt64

func XDR_DogwoodInt64(v *DogwoodInt64) XdrType_DogwoodInt64

func (XdrType_DogwoodInt64) XdrTypeName

func (XdrType_DogwoodInt64) XdrTypeName() string

func (XdrType_DogwoodInt64) XdrUnwrap

func (v XdrType_DogwoodInt64) XdrUnwrap() XdrType

type XdrType_DogwoodPackage

type XdrType_DogwoodPackage = *DogwoodPackage

type XdrType_DogwoodReceived

type XdrType_DogwoodReceived = *DogwoodReceived

type XdrType_DogwoodRoute

type XdrType_DogwoodRoute = *DogwoodRoute

type XdrType_DogwoodRouting

type XdrType_DogwoodRouting = *DogwoodRouting

type XdrType_DogwoodStandaloneConfig

type XdrType_DogwoodStandaloneConfig = *DogwoodStandaloneConfig

type XdrType_DogwoodStream

type XdrType_DogwoodStream = *DogwoodStream

type XdrType_DogwoodStreamID

type XdrType_DogwoodStreamID struct {
	XdrType_DogwoodInt64
}

func (XdrType_DogwoodStreamID) XdrTypeName

func (XdrType_DogwoodStreamID) XdrTypeName() string

func (XdrType_DogwoodStreamID) XdrUnwrap

func (v XdrType_DogwoodStreamID) XdrUnwrap() XdrType

type XdrType_DogwoodTransmission

type XdrType_DogwoodTransmission = *DogwoodTransmission

type XdrType_DogwoodTransmissionID

type XdrType_DogwoodTransmissionID struct {
	XdrType_DogwoodInt64
}

func (XdrType_DogwoodTransmissionID) XdrTypeName

func (XdrType_DogwoodTransmissionID) XdrTypeName() string

func (XdrType_DogwoodTransmissionID) XdrUnwrap

func (v XdrType_DogwoodTransmissionID) XdrUnwrap() XdrType

type XdrType_DogwoodTransmissionType

type XdrType_DogwoodTransmissionType = *DogwoodTransmissionType

type XdrType_DogwoodTreeHash

type XdrType_DogwoodTreeHash struct {
	XdrType_SHA256Hash
}

func (XdrType_DogwoodTreeHash) GetByteSlice

func (v XdrType_DogwoodTreeHash) GetByteSlice() []byte

func (XdrType_DogwoodTreeHash) Scan

func (v XdrType_DogwoodTreeHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_DogwoodTreeHash) String

func (v XdrType_DogwoodTreeHash) String() string

func (XdrType_DogwoodTreeHash) XdrArraySize

func (XdrType_DogwoodTreeHash) XdrArraySize() uint32

func (XdrType_DogwoodTreeHash) XdrMarshal

func (v XdrType_DogwoodTreeHash) XdrMarshal(x XDR, name string)

func (XdrType_DogwoodTreeHash) XdrPointer

func (v XdrType_DogwoodTreeHash) XdrPointer() interface{}

func (XdrType_DogwoodTreeHash) XdrTypeName

func (XdrType_DogwoodTreeHash) XdrTypeName() string

func (XdrType_DogwoodTreeHash) XdrUnwrap

func (v XdrType_DogwoodTreeHash) XdrUnwrap() XdrType

func (XdrType_DogwoodTreeHash) XdrValue

func (v XdrType_DogwoodTreeHash) XdrValue() interface{}

type XdrType_DogwoodTreeNode

type XdrType_DogwoodTreeNode = *DogwoodTreeNode

type XdrType_DogwoodTreeNodes

type XdrType_DogwoodTreeNodes struct {
	// contains filtered or unexported fields
}

func (XdrType_DogwoodTreeNodes) GetVecLen

func (v XdrType_DogwoodTreeNodes) GetVecLen() uint32

func (XdrType_DogwoodTreeNodes) SetVecLen

func (v XdrType_DogwoodTreeNodes) SetVecLen(length uint32)

func (XdrType_DogwoodTreeNodes) XdrBound

func (XdrType_DogwoodTreeNodes) XdrBound() uint32

func (XdrType_DogwoodTreeNodes) XdrCheckLen

func (XdrType_DogwoodTreeNodes) XdrCheckLen(length uint32)

func (XdrType_DogwoodTreeNodes) XdrMarshal

func (v XdrType_DogwoodTreeNodes) XdrMarshal(x XDR, name string)

func (XdrType_DogwoodTreeNodes) XdrMarshalN

func (v XdrType_DogwoodTreeNodes) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_DogwoodTreeNodes) XdrPointer

func (v XdrType_DogwoodTreeNodes) XdrPointer() interface{}

func (XdrType_DogwoodTreeNodes) XdrRecurse

func (v XdrType_DogwoodTreeNodes) XdrRecurse(x XDR, name string)

func (XdrType_DogwoodTreeNodes) XdrTypeName

func (XdrType_DogwoodTreeNodes) XdrTypeName() string

func (XdrType_DogwoodTreeNodes) XdrUnwrap

func (v XdrType_DogwoodTreeNodes) XdrUnwrap() XdrType

func (XdrType_DogwoodTreeNodes) XdrValue

func (v XdrType_DogwoodTreeNodes) XdrValue() interface{}

type XdrType_DomainSeparator

type XdrType_DomainSeparator = *DomainSeparator

type XdrType_Duration

type XdrType_Duration struct {
	XdrType_Uint64
}

func XDR_Duration

func XDR_Duration(v *Duration) XdrType_Duration

func (XdrType_Duration) XdrTypeName

func (XdrType_Duration) XdrTypeName() string

func (XdrType_Duration) XdrUnwrap

func (v XdrType_Duration) XdrUnwrap() XdrType

type XdrType_ERC20PaymentsConfig

type XdrType_ERC20PaymentsConfig = *ERC20PaymentsConfig

type XdrType_Ed25519PublicKey

type XdrType_Ed25519PublicKey struct {
	// contains filtered or unexported fields
}

func (XdrType_Ed25519PublicKey) GetByteSlice

func (v XdrType_Ed25519PublicKey) GetByteSlice() []byte

func (XdrType_Ed25519PublicKey) Scan

func (v XdrType_Ed25519PublicKey) Scan(ss fmt.ScanState, c rune) error

func (XdrType_Ed25519PublicKey) String

func (v XdrType_Ed25519PublicKey) String() string

func (XdrType_Ed25519PublicKey) XdrArraySize

func (XdrType_Ed25519PublicKey) XdrArraySize() uint32

func (XdrType_Ed25519PublicKey) XdrMarshal

func (v XdrType_Ed25519PublicKey) XdrMarshal(x XDR, name string)

func (XdrType_Ed25519PublicKey) XdrPointer

func (v XdrType_Ed25519PublicKey) XdrPointer() interface{}

func (XdrType_Ed25519PublicKey) XdrTypeName

func (XdrType_Ed25519PublicKey) XdrTypeName() string

func (XdrType_Ed25519PublicKey) XdrUnwrap

func (v XdrType_Ed25519PublicKey) XdrUnwrap() XdrType

func (XdrType_Ed25519PublicKey) XdrValue

func (v XdrType_Ed25519PublicKey) XdrValue() interface{}

type XdrType_Ed25519SecretKey

type XdrType_Ed25519SecretKey struct {
	// contains filtered or unexported fields
}

func (XdrType_Ed25519SecretKey) GetByteSlice

func (v XdrType_Ed25519SecretKey) GetByteSlice() []byte

func (XdrType_Ed25519SecretKey) Scan

func (v XdrType_Ed25519SecretKey) Scan(ss fmt.ScanState, c rune) error

func (XdrType_Ed25519SecretKey) String

func (v XdrType_Ed25519SecretKey) String() string

func (XdrType_Ed25519SecretKey) XdrArraySize

func (XdrType_Ed25519SecretKey) XdrArraySize() uint32

func (XdrType_Ed25519SecretKey) XdrMarshal

func (v XdrType_Ed25519SecretKey) XdrMarshal(x XDR, name string)

func (XdrType_Ed25519SecretKey) XdrPointer

func (v XdrType_Ed25519SecretKey) XdrPointer() interface{}

func (XdrType_Ed25519SecretKey) XdrTypeName

func (XdrType_Ed25519SecretKey) XdrTypeName() string

func (XdrType_Ed25519SecretKey) XdrUnwrap

func (v XdrType_Ed25519SecretKey) XdrUnwrap() XdrType

func (XdrType_Ed25519SecretKey) XdrValue

func (v XdrType_Ed25519SecretKey) XdrValue() interface{}

type XdrType_Ed25519Signature

type XdrType_Ed25519Signature struct {
	// contains filtered or unexported fields
}

func (XdrType_Ed25519Signature) GetByteSlice

func (v XdrType_Ed25519Signature) GetByteSlice() []byte

func (XdrType_Ed25519Signature) Scan

func (v XdrType_Ed25519Signature) Scan(ss fmt.ScanState, c rune) error

func (XdrType_Ed25519Signature) String

func (v XdrType_Ed25519Signature) String() string

func (XdrType_Ed25519Signature) XdrArraySize

func (XdrType_Ed25519Signature) XdrArraySize() uint32

func (XdrType_Ed25519Signature) XdrMarshal

func (v XdrType_Ed25519Signature) XdrMarshal(x XDR, name string)

func (XdrType_Ed25519Signature) XdrPointer

func (v XdrType_Ed25519Signature) XdrPointer() interface{}

func (XdrType_Ed25519Signature) XdrTypeName

func (XdrType_Ed25519Signature) XdrTypeName() string

func (XdrType_Ed25519Signature) XdrUnwrap

func (v XdrType_Ed25519Signature) XdrUnwrap() XdrType

func (XdrType_Ed25519Signature) XdrValue

func (v XdrType_Ed25519Signature) XdrValue() interface{}

type XdrType_EventActivationOutcome

type XdrType_EventActivationOutcome = *EventActivationOutcome

type XdrType_EventActivationResult

type XdrType_EventActivationResult = *EventActivationResult

type XdrType_EventBlockResult

type XdrType_EventBlockResult = *EventBlockResult

type XdrType_EventCanonicalTip

type XdrType_EventCanonicalTip = *EventCanonicalTip

type XdrType_EventCard

type XdrType_EventCard = *EventCard

type XdrType_EventFilter

type XdrType_EventFilter = *EventFilter

type XdrType_EventFilterList

type XdrType_EventFilterList struct {
	// contains filtered or unexported fields
}

func (XdrType_EventFilterList) GetVecLen

func (v XdrType_EventFilterList) GetVecLen() uint32

func (XdrType_EventFilterList) SetVecLen

func (v XdrType_EventFilterList) SetVecLen(length uint32)

func (XdrType_EventFilterList) XdrBound

func (XdrType_EventFilterList) XdrBound() uint32

func (XdrType_EventFilterList) XdrCheckLen

func (XdrType_EventFilterList) XdrCheckLen(length uint32)

func (XdrType_EventFilterList) XdrMarshal

func (v XdrType_EventFilterList) XdrMarshal(x XDR, name string)

func (XdrType_EventFilterList) XdrMarshalN

func (v XdrType_EventFilterList) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_EventFilterList) XdrPointer

func (v XdrType_EventFilterList) XdrPointer() interface{}

func (XdrType_EventFilterList) XdrRecurse

func (v XdrType_EventFilterList) XdrRecurse(x XDR, name string)

func (XdrType_EventFilterList) XdrTypeName

func (XdrType_EventFilterList) XdrTypeName() string

func (XdrType_EventFilterList) XdrUnwrap

func (v XdrType_EventFilterList) XdrUnwrap() XdrType

func (XdrType_EventFilterList) XdrValue

func (v XdrType_EventFilterList) XdrValue() interface{}

type XdrType_EventIndexerPullOutcome

type XdrType_EventIndexerPullOutcome = *EventIndexerPullOutcome

type XdrType_EventIndexerPullRequest

type XdrType_EventIndexerPullRequest = *EventIndexerPullRequest

type XdrType_EventIndexerPullResult

type XdrType_EventIndexerPullResult = *EventIndexerPullResult

type XdrType_EventIndexerPulledBlock

type XdrType_EventIndexerPulledBlock = *EventIndexerPulledBlock

type XdrType_EventPage

type XdrType_EventPage = *EventPage

type XdrType_EventPageResult

type XdrType_EventPageResult = *EventPageResult

type XdrType_EventPrepareOutcome

type XdrType_EventPrepareOutcome = *EventPrepareOutcome

type XdrType_EventPrepareResult

type XdrType_EventPrepareResult = *EventPrepareResult

type XdrType_EventQuery

type XdrType_EventQuery = *EventQuery

type XdrType_EventRegistrationSnapshot

type XdrType_EventRegistrationSnapshot = *EventRegistrationSnapshot

type XdrType_EventTopicFilter

type XdrType_EventTopicFilter = *EventTopicFilter

type XdrType_EventsHash

type XdrType_EventsHash struct {
	XdrType_SHA256Hash
}

func XDR_EventsHash

func XDR_EventsHash(v *EventsHash) XdrType_EventsHash

func (XdrType_EventsHash) GetByteSlice

func (v XdrType_EventsHash) GetByteSlice() []byte

func (XdrType_EventsHash) Scan

func (v XdrType_EventsHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_EventsHash) String

func (v XdrType_EventsHash) String() string

func (XdrType_EventsHash) XdrArraySize

func (XdrType_EventsHash) XdrArraySize() uint32

func (XdrType_EventsHash) XdrMarshal

func (v XdrType_EventsHash) XdrMarshal(x XDR, name string)

func (XdrType_EventsHash) XdrPointer

func (v XdrType_EventsHash) XdrPointer() interface{}

func (XdrType_EventsHash) XdrTypeName

func (XdrType_EventsHash) XdrTypeName() string

func (XdrType_EventsHash) XdrUnwrap

func (v XdrType_EventsHash) XdrUnwrap() XdrType

func (XdrType_EventsHash) XdrValue

func (v XdrType_EventsHash) XdrValue() interface{}

type XdrType_ExecCard

type XdrType_ExecCard = *ExecCard

type XdrType_ExecProposeBatchResult

type XdrType_ExecProposeBatchResult struct {
	// contains filtered or unexported fields
}

func (XdrType_ExecProposeBatchResult) GetVecLen

func (v XdrType_ExecProposeBatchResult) GetVecLen() uint32

func (XdrType_ExecProposeBatchResult) SetVecLen

func (v XdrType_ExecProposeBatchResult) SetVecLen(length uint32)

func (XdrType_ExecProposeBatchResult) XdrBound

func (XdrType_ExecProposeBatchResult) XdrBound() uint32

func (XdrType_ExecProposeBatchResult) XdrCheckLen

func (XdrType_ExecProposeBatchResult) XdrCheckLen(length uint32)

func (XdrType_ExecProposeBatchResult) XdrMarshal

func (v XdrType_ExecProposeBatchResult) XdrMarshal(x XDR, name string)

func (XdrType_ExecProposeBatchResult) XdrMarshalN

func (v XdrType_ExecProposeBatchResult) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_ExecProposeBatchResult) XdrPointer

func (v XdrType_ExecProposeBatchResult) XdrPointer() interface{}

func (XdrType_ExecProposeBatchResult) XdrRecurse

func (v XdrType_ExecProposeBatchResult) XdrRecurse(x XDR, name string)

func (XdrType_ExecProposeBatchResult) XdrTypeName

func (XdrType_ExecProposeBatchResult) XdrTypeName() string

func (XdrType_ExecProposeBatchResult) XdrUnwrap

func (v XdrType_ExecProposeBatchResult) XdrUnwrap() XdrType

func (XdrType_ExecProposeBatchResult) XdrValue

func (v XdrType_ExecProposeBatchResult) XdrValue() interface{}

type XdrType_ExecProposeResult

type XdrType_ExecProposeResult = *ExecProposeResult

type XdrType_ExecResult

type XdrType_ExecResult = *ExecResult

type XdrType_ExecValidateBatchResult

type XdrType_ExecValidateBatchResult struct {
	// contains filtered or unexported fields
}

func (XdrType_ExecValidateBatchResult) GetVecLen

func (v XdrType_ExecValidateBatchResult) GetVecLen() uint32

func (XdrType_ExecValidateBatchResult) SetVecLen

func (v XdrType_ExecValidateBatchResult) SetVecLen(length uint32)

func (XdrType_ExecValidateBatchResult) XdrBound

func (XdrType_ExecValidateBatchResult) XdrBound() uint32

func (XdrType_ExecValidateBatchResult) XdrCheckLen

func (XdrType_ExecValidateBatchResult) XdrCheckLen(length uint32)

func (XdrType_ExecValidateBatchResult) XdrMarshal

func (v XdrType_ExecValidateBatchResult) XdrMarshal(x XDR, name string)

func (XdrType_ExecValidateBatchResult) XdrMarshalN

func (v XdrType_ExecValidateBatchResult) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_ExecValidateBatchResult) XdrPointer

func (v XdrType_ExecValidateBatchResult) XdrPointer() interface{}

func (XdrType_ExecValidateBatchResult) XdrRecurse

func (v XdrType_ExecValidateBatchResult) XdrRecurse(x XDR, name string)

func (XdrType_ExecValidateBatchResult) XdrTypeName

func (XdrType_ExecValidateBatchResult) XdrUnwrap

func (v XdrType_ExecValidateBatchResult) XdrUnwrap() XdrType

func (XdrType_ExecValidateBatchResult) XdrValue

func (v XdrType_ExecValidateBatchResult) XdrValue() interface{}

type XdrType_ExpectedContract

type XdrType_ExpectedContract = *ExpectedContract

type XdrType_ExpectedDBTip

type XdrType_ExpectedDBTip = *ExpectedDBTip

type XdrType_ExpectedDeployment

type XdrType_ExpectedDeployment = *ExpectedDeployment

type XdrType_ExpectedProposalData

type XdrType_ExpectedProposalData = *ExpectedProposalData

type XdrType_ExpectedQueueEntry

type XdrType_ExpectedQueueEntry = *ExpectedQueueEntry

type XdrType_ExpectedRetrocausalQueueBlock

type XdrType_ExpectedRetrocausalQueueBlock = *ExpectedRetrocausalQueueBlock

type XdrType_ExpectedStorageCost

type XdrType_ExpectedStorageCost = *ExpectedStorageCost

type XdrType_ExpectedViewingSnapshot

type XdrType_ExpectedViewingSnapshot = *ExpectedViewingSnapshot

type XdrType_ExperimentConfig

type XdrType_ExperimentConfig = *ExperimentConfig

type XdrType_ExperimentType

type XdrType_ExperimentType = *ExperimentType

type XdrType_ExtensionPoint

type XdrType_ExtensionPoint = *ExtensionPoint

type XdrType_FlaggedStorageDelta

type XdrType_FlaggedStorageDelta = *FlaggedStorageDelta

type XdrType_GasAmount

type XdrType_GasAmount struct {
	XdrType_uint64
}

func XDR_GasAmount

func XDR_GasAmount(v *GasAmount) XdrType_GasAmount

func (XdrType_GasAmount) XdrTypeName

func (XdrType_GasAmount) XdrTypeName() string

func (XdrType_GasAmount) XdrUnwrap

func (v XdrType_GasAmount) XdrUnwrap() XdrType

type XdrType_GenesisCeremonyCommit

type XdrType_GenesisCeremonyCommit = *GenesisCeremonyCommit

type XdrType_GenesisCeremonyOutcome

type XdrType_GenesisCeremonyOutcome = *GenesisCeremonyOutcome

type XdrType_GenesisCeremonyRequest

type XdrType_GenesisCeremonyRequest = *GenesisCeremonyRequest

type XdrType_GenesisCeremonyResult

type XdrType_GenesisCeremonyResult = *GenesisCeremonyResult

type XdrType_GenesisConfiguration

type XdrType_GenesisConfiguration = *GenesisConfiguration

type XdrType_GenesisContractAddresses

type XdrType_GenesisContractAddresses = *GenesisContractAddresses

type XdrType_GenesisPrior

type XdrType_GenesisPrior = *GenesisPrior

type XdrType_HogexecPrecompiledNativeContracts

type XdrType_HogexecPrecompiledNativeContracts = *HogexecPrecompiledNativeContracts

type XdrType_IdentifiedEvent

type XdrType_IdentifiedEvent = *IdentifiedEvent

type XdrType_IdentifiedEventBatch

type XdrType_IdentifiedEventBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_IdentifiedEventBatch) GetVecLen

func (v XdrType_IdentifiedEventBatch) GetVecLen() uint32

func (XdrType_IdentifiedEventBatch) SetVecLen

func (v XdrType_IdentifiedEventBatch) SetVecLen(length uint32)

func (XdrType_IdentifiedEventBatch) XdrBound

func (XdrType_IdentifiedEventBatch) XdrBound() uint32

func (XdrType_IdentifiedEventBatch) XdrCheckLen

func (XdrType_IdentifiedEventBatch) XdrCheckLen(length uint32)

func (XdrType_IdentifiedEventBatch) XdrMarshal

func (v XdrType_IdentifiedEventBatch) XdrMarshal(x XDR, name string)

func (XdrType_IdentifiedEventBatch) XdrMarshalN

func (v XdrType_IdentifiedEventBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_IdentifiedEventBatch) XdrPointer

func (v XdrType_IdentifiedEventBatch) XdrPointer() interface{}

func (XdrType_IdentifiedEventBatch) XdrRecurse

func (v XdrType_IdentifiedEventBatch) XdrRecurse(x XDR, name string)

func (XdrType_IdentifiedEventBatch) XdrTypeName

func (XdrType_IdentifiedEventBatch) XdrTypeName() string

func (XdrType_IdentifiedEventBatch) XdrUnwrap

func (v XdrType_IdentifiedEventBatch) XdrUnwrap() XdrType

func (XdrType_IdentifiedEventBatch) XdrValue

func (v XdrType_IdentifiedEventBatch) XdrValue() interface{}

type XdrType_IndexerBlockApplyOutcome

type XdrType_IndexerBlockApplyOutcome = *IndexerBlockApplyOutcome

type XdrType_IndexerBlockApplyResult

type XdrType_IndexerBlockApplyResult = *IndexerBlockApplyResult

type XdrType_IndexerBlockExplorerIntroOutcome

type XdrType_IndexerBlockExplorerIntroOutcome = *IndexerBlockExplorerIntroOutcome

type XdrType_IndexerCommittedBlock

type XdrType_IndexerCommittedBlock = *IndexerCommittedBlock

type XdrType_IndexerCommittedBlockIdentity

type XdrType_IndexerCommittedBlockIdentity = *IndexerCommittedBlockIdentity

type XdrType_IndexerCommittedBlockPayload

type XdrType_IndexerCommittedBlockPayload = *IndexerCommittedBlockPayload

type XdrType_IndexerEpochOutcome

type XdrType_IndexerEpochOutcome = *IndexerEpochOutcome

type XdrType_IndexerEpochResult

type XdrType_IndexerEpochResult = *IndexerEpochResult

type XdrType_IndexerFailureMessage

type XdrType_IndexerFailureMessage struct {
	XdrString
}

func (XdrType_IndexerFailureMessage) XdrTypeName

func (XdrType_IndexerFailureMessage) XdrTypeName() string

func (XdrType_IndexerFailureMessage) XdrUnwrap

func (v XdrType_IndexerFailureMessage) XdrUnwrap() XdrType

type XdrType_IndexerHeightGap

type XdrType_IndexerHeightGap = *IndexerHeightGap

type XdrType_IndexerInitializedProgress

type XdrType_IndexerInitializedProgress = *IndexerInitializedProgress

type XdrType_IndexerOutboxOrigin

type XdrType_IndexerOutboxOrigin = *IndexerOutboxOrigin

type XdrType_IndexerProgress

type XdrType_IndexerProgress = *IndexerProgress

type XdrType_IndexerProgressState

type XdrType_IndexerProgressState = *IndexerProgressState

type XdrType_IndexerQueryOutcome

type XdrType_IndexerQueryOutcome = *IndexerQueryOutcome

type XdrType_IndexerTxFailureNotice

type XdrType_IndexerTxFailureNotice = *IndexerTxFailureNotice

type XdrType_IndexerTxFailureNoticeBatch

type XdrType_IndexerTxFailureNoticeBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_IndexerTxFailureNoticeBatch) GetVecLen

func (v XdrType_IndexerTxFailureNoticeBatch) GetVecLen() uint32

func (XdrType_IndexerTxFailureNoticeBatch) SetVecLen

func (v XdrType_IndexerTxFailureNoticeBatch) SetVecLen(length uint32)

func (XdrType_IndexerTxFailureNoticeBatch) XdrBound

func (XdrType_IndexerTxFailureNoticeBatch) XdrBound() uint32

func (XdrType_IndexerTxFailureNoticeBatch) XdrCheckLen

func (XdrType_IndexerTxFailureNoticeBatch) XdrCheckLen(length uint32)

func (XdrType_IndexerTxFailureNoticeBatch) XdrMarshal

func (v XdrType_IndexerTxFailureNoticeBatch) XdrMarshal(x XDR, name string)

func (XdrType_IndexerTxFailureNoticeBatch) XdrMarshalN

func (v XdrType_IndexerTxFailureNoticeBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_IndexerTxFailureNoticeBatch) XdrPointer

func (v XdrType_IndexerTxFailureNoticeBatch) XdrPointer() interface{}

func (XdrType_IndexerTxFailureNoticeBatch) XdrRecurse

func (v XdrType_IndexerTxFailureNoticeBatch) XdrRecurse(x XDR, name string)

func (XdrType_IndexerTxFailureNoticeBatch) XdrTypeName

func (XdrType_IndexerTxFailureNoticeBatch) XdrUnwrap

func (v XdrType_IndexerTxFailureNoticeBatch) XdrUnwrap() XdrType

func (XdrType_IndexerTxFailureNoticeBatch) XdrValue

func (v XdrType_IndexerTxFailureNoticeBatch) XdrValue() interface{}

type XdrType_InitializationBlock

type XdrType_InitializationBlock struct {
	// contains filtered or unexported fields
}

func (XdrType_InitializationBlock) GetVecLen

func (v XdrType_InitializationBlock) GetVecLen() uint32

func (XdrType_InitializationBlock) SetVecLen

func (v XdrType_InitializationBlock) SetVecLen(length uint32)

func (XdrType_InitializationBlock) XdrBound

func (XdrType_InitializationBlock) XdrBound() uint32

func (XdrType_InitializationBlock) XdrCheckLen

func (XdrType_InitializationBlock) XdrCheckLen(length uint32)

func (XdrType_InitializationBlock) XdrMarshal

func (v XdrType_InitializationBlock) XdrMarshal(x XDR, name string)

func (XdrType_InitializationBlock) XdrMarshalN

func (v XdrType_InitializationBlock) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_InitializationBlock) XdrPointer

func (v XdrType_InitializationBlock) XdrPointer() interface{}

func (XdrType_InitializationBlock) XdrRecurse

func (v XdrType_InitializationBlock) XdrRecurse(x XDR, name string)

func (XdrType_InitializationBlock) XdrTypeName

func (XdrType_InitializationBlock) XdrTypeName() string

func (XdrType_InitializationBlock) XdrUnwrap

func (v XdrType_InitializationBlock) XdrUnwrap() XdrType

func (XdrType_InitializationBlock) XdrValue

func (v XdrType_InitializationBlock) XdrValue() interface{}

type XdrType_Int32

type XdrType_Int32 struct {
	XdrType_int32
}

func XDR_Int32

func XDR_Int32(v *Int32) XdrType_Int32

func (XdrType_Int32) XdrTypeName

func (XdrType_Int32) XdrTypeName() string

func (XdrType_Int32) XdrUnwrap

func (v XdrType_Int32) XdrUnwrap() XdrType

type XdrType_Int64

type XdrType_Int64 struct {
	XdrType_int64
}

func XDR_Int64

func XDR_Int64(v *Int64) XdrType_Int64

func (XdrType_Int64) XdrTypeName

func (XdrType_Int64) XdrTypeName() string

func (XdrType_Int64) XdrUnwrap

func (v XdrType_Int64) XdrUnwrap() XdrType

type XdrType_Int128Parts

type XdrType_Int128Parts = *Int128Parts

type XdrType_Int128_xdr

type XdrType_Int128_xdr = *Int128_xdr

type XdrType_Int256Parts

type XdrType_Int256Parts = *Int256Parts

type XdrType_IntroAuthOutcome

type XdrType_IntroAuthOutcome = *IntroAuthOutcome

type XdrType_IntroAuthResult

type XdrType_IntroAuthResult = *IntroAuthResult

type XdrType_IntroExecResult

type XdrType_IntroExecResult = *IntroExecResult

type XdrType_Invocation

type XdrType_Invocation = *Invocation

type XdrType_InvocationFrameOutput

type XdrType_InvocationFrameOutput = *InvocationFrameOutput

type XdrType_InvocationFrameStatusCode

type XdrType_InvocationFrameStatusCode = *InvocationFrameStatusCode

type XdrType_IterationOrder

type XdrType_IterationOrder = *IterationOrder

type XdrType_KeyChange

type XdrType_KeyChange = *KeyChange

type XdrType_KeyChangeBatch

type XdrType_KeyChangeBatch struct {
	// contains filtered or unexported fields
}

func XDR_KeyChangeBatch

func XDR_KeyChangeBatch(v *KeyChangeBatch) XdrType_KeyChangeBatch

func (XdrType_KeyChangeBatch) GetVecLen

func (v XdrType_KeyChangeBatch) GetVecLen() uint32

func (XdrType_KeyChangeBatch) SetVecLen

func (v XdrType_KeyChangeBatch) SetVecLen(length uint32)

func (XdrType_KeyChangeBatch) XdrBound

func (XdrType_KeyChangeBatch) XdrBound() uint32

func (XdrType_KeyChangeBatch) XdrCheckLen

func (XdrType_KeyChangeBatch) XdrCheckLen(length uint32)

func (XdrType_KeyChangeBatch) XdrMarshal

func (v XdrType_KeyChangeBatch) XdrMarshal(x XDR, name string)

func (XdrType_KeyChangeBatch) XdrMarshalN

func (v XdrType_KeyChangeBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_KeyChangeBatch) XdrPointer

func (v XdrType_KeyChangeBatch) XdrPointer() interface{}

func (XdrType_KeyChangeBatch) XdrRecurse

func (v XdrType_KeyChangeBatch) XdrRecurse(x XDR, name string)

func (XdrType_KeyChangeBatch) XdrTypeName

func (XdrType_KeyChangeBatch) XdrTypeName() string

func (XdrType_KeyChangeBatch) XdrUnwrap

func (v XdrType_KeyChangeBatch) XdrUnwrap() XdrType

func (XdrType_KeyChangeBatch) XdrValue

func (v XdrType_KeyChangeBatch) XdrValue() interface{}

type XdrType_KeyChangeChunk

type XdrType_KeyChangeChunk = *KeyChangeChunk

type XdrType_KeyID

type XdrType_KeyID struct {
	XdrType_uint32
}

func XDR_KeyID

func XDR_KeyID(v *KeyID) XdrType_KeyID

func (XdrType_KeyID) XdrTypeName

func (XdrType_KeyID) XdrTypeName() string

func (XdrType_KeyID) XdrUnwrap

func (v XdrType_KeyID) XdrUnwrap() XdrType

type XdrType_KnownQuorumSets

type XdrType_KnownQuorumSets = *KnownQuorumSets

type XdrType_LoadgenContextID

type XdrType_LoadgenContextID struct {
	XdrType_uint64
}

func (XdrType_LoadgenContextID) XdrTypeName

func (XdrType_LoadgenContextID) XdrTypeName() string

func (XdrType_LoadgenContextID) XdrUnwrap

func (v XdrType_LoadgenContextID) XdrUnwrap() XdrType

type XdrType_LoadgenExtension

type XdrType_LoadgenExtension = *LoadgenExtension

type XdrType_LoadgenExtensionResult

type XdrType_LoadgenExtensionResult = *LoadgenExtensionResult

type XdrType_LoadgenRPCError

type XdrType_LoadgenRPCError = *LoadgenRPCError

type XdrType_LoadgenResult

type XdrType_LoadgenResult = *LoadgenResult

type XdrType_LoadgenSuccessResult

type XdrType_LoadgenSuccessResult = *LoadgenSuccessResult

type XdrType_MempoolAuthIntroSuccess

type XdrType_MempoolAuthIntroSuccess = *MempoolAuthIntroSuccess

type XdrType_MempoolConfig

type XdrType_MempoolConfig = *MempoolConfig

type XdrType_Milliseconds

type XdrType_Milliseconds struct {
	XdrType_int64
}

func XDR_Milliseconds

func XDR_Milliseconds(v *Milliseconds) XdrType_Milliseconds

func (XdrType_Milliseconds) XdrTypeName

func (XdrType_Milliseconds) XdrTypeName() string

func (XdrType_Milliseconds) XdrUnwrap

func (v XdrType_Milliseconds) XdrUnwrap() XdrType

type XdrType_MissingTransactions

type XdrType_MissingTransactions = *MissingTransactions

type XdrType_MissingTransactionsEnvelope

type XdrType_MissingTransactionsEnvelope = *MissingTransactionsEnvelope

type XdrType_MlDsa65PublicKey

type XdrType_MlDsa65PublicKey struct {
	// contains filtered or unexported fields
}

func (XdrType_MlDsa65PublicKey) GetByteSlice

func (v XdrType_MlDsa65PublicKey) GetByteSlice() []byte

func (XdrType_MlDsa65PublicKey) Scan

func (v XdrType_MlDsa65PublicKey) Scan(ss fmt.ScanState, c rune) error

func (XdrType_MlDsa65PublicKey) String

func (v XdrType_MlDsa65PublicKey) String() string

func (XdrType_MlDsa65PublicKey) XdrArraySize

func (XdrType_MlDsa65PublicKey) XdrArraySize() uint32

func (XdrType_MlDsa65PublicKey) XdrMarshal

func (v XdrType_MlDsa65PublicKey) XdrMarshal(x XDR, name string)

func (XdrType_MlDsa65PublicKey) XdrPointer

func (v XdrType_MlDsa65PublicKey) XdrPointer() interface{}

func (XdrType_MlDsa65PublicKey) XdrTypeName

func (XdrType_MlDsa65PublicKey) XdrTypeName() string

func (XdrType_MlDsa65PublicKey) XdrUnwrap

func (v XdrType_MlDsa65PublicKey) XdrUnwrap() XdrType

func (XdrType_MlDsa65PublicKey) XdrValue

func (v XdrType_MlDsa65PublicKey) XdrValue() interface{}

type XdrType_MlDsa65SecretKey

type XdrType_MlDsa65SecretKey struct {
	// contains filtered or unexported fields
}

func (XdrType_MlDsa65SecretKey) GetByteSlice

func (v XdrType_MlDsa65SecretKey) GetByteSlice() []byte

func (XdrType_MlDsa65SecretKey) Scan

func (v XdrType_MlDsa65SecretKey) Scan(ss fmt.ScanState, c rune) error

func (XdrType_MlDsa65SecretKey) String

func (v XdrType_MlDsa65SecretKey) String() string

func (XdrType_MlDsa65SecretKey) XdrArraySize

func (XdrType_MlDsa65SecretKey) XdrArraySize() uint32

func (XdrType_MlDsa65SecretKey) XdrMarshal

func (v XdrType_MlDsa65SecretKey) XdrMarshal(x XDR, name string)

func (XdrType_MlDsa65SecretKey) XdrPointer

func (v XdrType_MlDsa65SecretKey) XdrPointer() interface{}

func (XdrType_MlDsa65SecretKey) XdrTypeName

func (XdrType_MlDsa65SecretKey) XdrTypeName() string

func (XdrType_MlDsa65SecretKey) XdrUnwrap

func (v XdrType_MlDsa65SecretKey) XdrUnwrap() XdrType

func (XdrType_MlDsa65SecretKey) XdrValue

func (v XdrType_MlDsa65SecretKey) XdrValue() interface{}

type XdrType_MlDsa65Signature

type XdrType_MlDsa65Signature struct {
	// contains filtered or unexported fields
}

func (XdrType_MlDsa65Signature) GetByteSlice

func (v XdrType_MlDsa65Signature) GetByteSlice() []byte

func (XdrType_MlDsa65Signature) Scan

func (v XdrType_MlDsa65Signature) Scan(ss fmt.ScanState, c rune) error

func (XdrType_MlDsa65Signature) String

func (v XdrType_MlDsa65Signature) String() string

func (XdrType_MlDsa65Signature) XdrArraySize

func (XdrType_MlDsa65Signature) XdrArraySize() uint32

func (XdrType_MlDsa65Signature) XdrMarshal

func (v XdrType_MlDsa65Signature) XdrMarshal(x XDR, name string)

func (XdrType_MlDsa65Signature) XdrPointer

func (v XdrType_MlDsa65Signature) XdrPointer() interface{}

func (XdrType_MlDsa65Signature) XdrTypeName

func (XdrType_MlDsa65Signature) XdrTypeName() string

func (XdrType_MlDsa65Signature) XdrUnwrap

func (v XdrType_MlDsa65Signature) XdrUnwrap() XdrType

func (XdrType_MlDsa65Signature) XdrValue

func (v XdrType_MlDsa65Signature) XdrValue() interface{}

type XdrType_MultiplexMessage

type XdrType_MultiplexMessage = *MultiplexMessage

type XdrType_MultiplexMessageType

type XdrType_MultiplexMessageType = *MultiplexMessageType

type XdrType_NativeTokenAge

type XdrType_NativeTokenAge = *NativeTokenAge

type XdrType_NativeTokenAgeBatch

type XdrType_NativeTokenAgeBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_NativeTokenAgeBatch) GetVecLen

func (v XdrType_NativeTokenAgeBatch) GetVecLen() uint32

func (XdrType_NativeTokenAgeBatch) SetVecLen

func (v XdrType_NativeTokenAgeBatch) SetVecLen(length uint32)

func (XdrType_NativeTokenAgeBatch) XdrBound

func (XdrType_NativeTokenAgeBatch) XdrBound() uint32

func (XdrType_NativeTokenAgeBatch) XdrCheckLen

func (XdrType_NativeTokenAgeBatch) XdrCheckLen(length uint32)

func (XdrType_NativeTokenAgeBatch) XdrMarshal

func (v XdrType_NativeTokenAgeBatch) XdrMarshal(x XDR, name string)

func (XdrType_NativeTokenAgeBatch) XdrMarshalN

func (v XdrType_NativeTokenAgeBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_NativeTokenAgeBatch) XdrPointer

func (v XdrType_NativeTokenAgeBatch) XdrPointer() interface{}

func (XdrType_NativeTokenAgeBatch) XdrRecurse

func (v XdrType_NativeTokenAgeBatch) XdrRecurse(x XDR, name string)

func (XdrType_NativeTokenAgeBatch) XdrTypeName

func (XdrType_NativeTokenAgeBatch) XdrTypeName() string

func (XdrType_NativeTokenAgeBatch) XdrUnwrap

func (v XdrType_NativeTokenAgeBatch) XdrUnwrap() XdrType

func (XdrType_NativeTokenAgeBatch) XdrValue

func (v XdrType_NativeTokenAgeBatch) XdrValue() interface{}

type XdrType_NativeTokenAgeResult

type XdrType_NativeTokenAgeResult = *NativeTokenAgeResult

type XdrType_NativeTokenAgeResults

type XdrType_NativeTokenAgeResults struct {
	// contains filtered or unexported fields
}

func (XdrType_NativeTokenAgeResults) GetVecLen

func (v XdrType_NativeTokenAgeResults) GetVecLen() uint32

func (XdrType_NativeTokenAgeResults) SetVecLen

func (v XdrType_NativeTokenAgeResults) SetVecLen(length uint32)

func (XdrType_NativeTokenAgeResults) XdrBound

func (XdrType_NativeTokenAgeResults) XdrBound() uint32

func (XdrType_NativeTokenAgeResults) XdrCheckLen

func (XdrType_NativeTokenAgeResults) XdrCheckLen(length uint32)

func (XdrType_NativeTokenAgeResults) XdrMarshal

func (v XdrType_NativeTokenAgeResults) XdrMarshal(x XDR, name string)

func (XdrType_NativeTokenAgeResults) XdrMarshalN

func (v XdrType_NativeTokenAgeResults) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_NativeTokenAgeResults) XdrPointer

func (v XdrType_NativeTokenAgeResults) XdrPointer() interface{}

func (XdrType_NativeTokenAgeResults) XdrRecurse

func (v XdrType_NativeTokenAgeResults) XdrRecurse(x XDR, name string)

func (XdrType_NativeTokenAgeResults) XdrTypeName

func (XdrType_NativeTokenAgeResults) XdrTypeName() string

func (XdrType_NativeTokenAgeResults) XdrUnwrap

func (v XdrType_NativeTokenAgeResults) XdrUnwrap() XdrType

func (XdrType_NativeTokenAgeResults) XdrValue

func (v XdrType_NativeTokenAgeResults) XdrValue() interface{}

type XdrType_NativeTokensTransferredChunk

type XdrType_NativeTokensTransferredChunk = *NativeTokensTransferredChunk

type XdrType_NetworkConfig

type XdrType_NetworkConfig = *NetworkConfig

type XdrType_NetworkConfigV0

type XdrType_NetworkConfigV0 = *NetworkConfigV0

type XdrType_NetworkHash

type XdrType_NetworkHash struct {
	XdrType_SHA256Hash
}

func XDR_NetworkHash

func XDR_NetworkHash(v *NetworkHash) XdrType_NetworkHash

func (XdrType_NetworkHash) GetByteSlice

func (v XdrType_NetworkHash) GetByteSlice() []byte

func (XdrType_NetworkHash) Scan

func (v XdrType_NetworkHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_NetworkHash) String

func (v XdrType_NetworkHash) String() string

func (XdrType_NetworkHash) XdrArraySize

func (XdrType_NetworkHash) XdrArraySize() uint32

func (XdrType_NetworkHash) XdrMarshal

func (v XdrType_NetworkHash) XdrMarshal(x XDR, name string)

func (XdrType_NetworkHash) XdrPointer

func (v XdrType_NetworkHash) XdrPointer() interface{}

func (XdrType_NetworkHash) XdrTypeName

func (XdrType_NetworkHash) XdrTypeName() string

func (XdrType_NetworkHash) XdrUnwrap

func (v XdrType_NetworkHash) XdrUnwrap() XdrType

func (XdrType_NetworkHash) XdrValue

func (v XdrType_NetworkHash) XdrValue() interface{}

type XdrType_NondeterministicProposalData

type XdrType_NondeterministicProposalData = *NondeterministicProposalData

type XdrType_NonnegativeInt128SetAddArgs

type XdrType_NonnegativeInt128SetAddArgs = *NonnegativeInt128SetAddArgs

type XdrType_OptProposal

type XdrType_OptProposal struct {
	// contains filtered or unexported fields
}

func XDR_OptProposal

func XDR_OptProposal(v *OptProposal) XdrType_OptProposal

func (XdrType_OptProposal) GetPresent

func (v XdrType_OptProposal) GetPresent() bool

func (XdrType_OptProposal) SetPresent

func (v XdrType_OptProposal) SetPresent(present bool)

func (XdrType_OptProposal) XdrMarshal

func (v XdrType_OptProposal) XdrMarshal(x XDR, name string)

func (XdrType_OptProposal) XdrMarshalValue

func (v XdrType_OptProposal) XdrMarshalValue(x XDR, name string)

func (XdrType_OptProposal) XdrPointer

func (v XdrType_OptProposal) XdrPointer() interface{}

func (XdrType_OptProposal) XdrRecurse

func (v XdrType_OptProposal) XdrRecurse(x XDR, name string)

func (XdrType_OptProposal) XdrTypeName

func (XdrType_OptProposal) XdrTypeName() string

func (XdrType_OptProposal) XdrUnwrap

func (v XdrType_OptProposal) XdrUnwrap() XdrType

func (XdrType_OptProposal) XdrValue

func (v XdrType_OptProposal) XdrValue() interface{}

type XdrType_OptSignedTransaction

type XdrType_OptSignedTransaction struct {
	// contains filtered or unexported fields
}

func (XdrType_OptSignedTransaction) GetPresent

func (v XdrType_OptSignedTransaction) GetPresent() bool

func (XdrType_OptSignedTransaction) SetPresent

func (v XdrType_OptSignedTransaction) SetPresent(present bool)

func (XdrType_OptSignedTransaction) XdrMarshal

func (v XdrType_OptSignedTransaction) XdrMarshal(x XDR, name string)

func (XdrType_OptSignedTransaction) XdrMarshalValue

func (v XdrType_OptSignedTransaction) XdrMarshalValue(x XDR, name string)

func (XdrType_OptSignedTransaction) XdrPointer

func (v XdrType_OptSignedTransaction) XdrPointer() interface{}

func (XdrType_OptSignedTransaction) XdrRecurse

func (v XdrType_OptSignedTransaction) XdrRecurse(x XDR, name string)

func (XdrType_OptSignedTransaction) XdrTypeName

func (XdrType_OptSignedTransaction) XdrTypeName() string

func (XdrType_OptSignedTransaction) XdrUnwrap

func (v XdrType_OptSignedTransaction) XdrUnwrap() XdrType

func (XdrType_OptSignedTransaction) XdrValue

func (v XdrType_OptSignedTransaction) XdrValue() interface{}

type XdrType_OptSignedTransactionBatch

type XdrType_OptSignedTransactionBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_OptSignedTransactionBatch) GetVecLen

func (v XdrType_OptSignedTransactionBatch) GetVecLen() uint32

func (XdrType_OptSignedTransactionBatch) SetVecLen

func (v XdrType_OptSignedTransactionBatch) SetVecLen(length uint32)

func (XdrType_OptSignedTransactionBatch) XdrBound

func (XdrType_OptSignedTransactionBatch) XdrBound() uint32

func (XdrType_OptSignedTransactionBatch) XdrCheckLen

func (XdrType_OptSignedTransactionBatch) XdrCheckLen(length uint32)

func (XdrType_OptSignedTransactionBatch) XdrMarshal

func (v XdrType_OptSignedTransactionBatch) XdrMarshal(x XDR, name string)

func (XdrType_OptSignedTransactionBatch) XdrMarshalN

func (v XdrType_OptSignedTransactionBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_OptSignedTransactionBatch) XdrPointer

func (v XdrType_OptSignedTransactionBatch) XdrPointer() interface{}

func (XdrType_OptSignedTransactionBatch) XdrRecurse

func (v XdrType_OptSignedTransactionBatch) XdrRecurse(x XDR, name string)

func (XdrType_OptSignedTransactionBatch) XdrTypeName

func (XdrType_OptSignedTransactionBatch) XdrUnwrap

func (v XdrType_OptSignedTransactionBatch) XdrUnwrap() XdrType

func (XdrType_OptSignedTransactionBatch) XdrValue

func (v XdrType_OptSignedTransactionBatch) XdrValue() interface{}

type XdrType_PaginationCursor

type XdrType_PaginationCursor struct {
	XdrVecOpaque
}

func (XdrType_PaginationCursor) XdrTypeName

func (XdrType_PaginationCursor) XdrTypeName() string

func (XdrType_PaginationCursor) XdrUnwrap

func (v XdrType_PaginationCursor) XdrUnwrap() XdrType

type XdrType_ParallelBatch

type XdrType_ParallelBatch = *ParallelBatch

type XdrType_ParallelNondeterministicProposalDataBatch

type XdrType_ParallelNondeterministicProposalDataBatch struct {
	XdrType_ParallelBatch
}

func (XdrType_ParallelNondeterministicProposalDataBatch) XdrTypeName

func (XdrType_ParallelNondeterministicProposalDataBatch) XdrUnwrap

type XdrType_ParallelSignedTransactionBatch

type XdrType_ParallelSignedTransactionBatch struct {
	XdrType_ParallelBatch
}

func (XdrType_ParallelSignedTransactionBatch) XdrTypeName

func (XdrType_ParallelSignedTransactionBatch) XdrUnwrap

func (v XdrType_ParallelSignedTransactionBatch) XdrUnwrap() XdrType

type XdrType_ParallelSignedTransactionHashBatch

type XdrType_ParallelSignedTransactionHashBatch struct {
	XdrType_ParallelBatch
}

func (XdrType_ParallelSignedTransactionHashBatch) XdrTypeName

func (XdrType_ParallelSignedTransactionHashBatch) XdrUnwrap

func (v XdrType_ParallelSignedTransactionHashBatch) XdrUnwrap() XdrType

type XdrType_PendingTxCount

type XdrType_PendingTxCount struct {
	XdrType_int64
}

func XDR_PendingTxCount

func XDR_PendingTxCount(v *PendingTxCount) XdrType_PendingTxCount

func (XdrType_PendingTxCount) XdrTypeName

func (XdrType_PendingTxCount) XdrTypeName() string

func (XdrType_PendingTxCount) XdrUnwrap

func (v XdrType_PendingTxCount) XdrUnwrap() XdrType

type XdrType_PrevProposalSummary

type XdrType_PrevProposalSummary = *PrevProposalSummary

type XdrType_Proposal

type XdrType_Proposal = *Proposal

type XdrType_ProposalContext

type XdrType_ProposalContext = *ProposalContext

type XdrType_ProposalHeader

type XdrType_ProposalHeader = *ProposalHeader

type XdrType_ProposalHeaderHash

type XdrType_ProposalHeaderHash struct {
	XdrType_SHA256Hash
}

func (XdrType_ProposalHeaderHash) GetByteSlice

func (v XdrType_ProposalHeaderHash) GetByteSlice() []byte

func (XdrType_ProposalHeaderHash) Scan

func (v XdrType_ProposalHeaderHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_ProposalHeaderHash) String

func (v XdrType_ProposalHeaderHash) String() string

func (XdrType_ProposalHeaderHash) XdrArraySize

func (XdrType_ProposalHeaderHash) XdrArraySize() uint32

func (XdrType_ProposalHeaderHash) XdrMarshal

func (v XdrType_ProposalHeaderHash) XdrMarshal(x XDR, name string)

func (XdrType_ProposalHeaderHash) XdrPointer

func (v XdrType_ProposalHeaderHash) XdrPointer() interface{}

func (XdrType_ProposalHeaderHash) XdrTypeName

func (XdrType_ProposalHeaderHash) XdrTypeName() string

func (XdrType_ProposalHeaderHash) XdrUnwrap

func (v XdrType_ProposalHeaderHash) XdrUnwrap() XdrType

func (XdrType_ProposalHeaderHash) XdrValue

func (v XdrType_ProposalHeaderHash) XdrValue() interface{}

type XdrType_ProposalTxs

type XdrType_ProposalTxs = *ProposalTxs

type XdrType_ProposalTxsHash

type XdrType_ProposalTxsHash struct {
	XdrType_SHA256Hash
}

func (XdrType_ProposalTxsHash) GetByteSlice

func (v XdrType_ProposalTxsHash) GetByteSlice() []byte

func (XdrType_ProposalTxsHash) Scan

func (v XdrType_ProposalTxsHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_ProposalTxsHash) String

func (v XdrType_ProposalTxsHash) String() string

func (XdrType_ProposalTxsHash) XdrArraySize

func (XdrType_ProposalTxsHash) XdrArraySize() uint32

func (XdrType_ProposalTxsHash) XdrMarshal

func (v XdrType_ProposalTxsHash) XdrMarshal(x XDR, name string)

func (XdrType_ProposalTxsHash) XdrPointer

func (v XdrType_ProposalTxsHash) XdrPointer() interface{}

func (XdrType_ProposalTxsHash) XdrTypeName

func (XdrType_ProposalTxsHash) XdrTypeName() string

func (XdrType_ProposalTxsHash) XdrUnwrap

func (v XdrType_ProposalTxsHash) XdrUnwrap() XdrType

func (XdrType_ProposalTxsHash) XdrValue

func (v XdrType_ProposalTxsHash) XdrValue() interface{}

type XdrType_ProposedTransaction

type XdrType_ProposedTransaction = *ProposedTransaction

type XdrType_ProposedTransactionBatch

type XdrType_ProposedTransactionBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_ProposedTransactionBatch) GetVecLen

func (v XdrType_ProposedTransactionBatch) GetVecLen() uint32

func (XdrType_ProposedTransactionBatch) SetVecLen

func (v XdrType_ProposedTransactionBatch) SetVecLen(length uint32)

func (XdrType_ProposedTransactionBatch) XdrBound

func (XdrType_ProposedTransactionBatch) XdrBound() uint32

func (XdrType_ProposedTransactionBatch) XdrCheckLen

func (XdrType_ProposedTransactionBatch) XdrCheckLen(length uint32)

func (XdrType_ProposedTransactionBatch) XdrMarshal

func (v XdrType_ProposedTransactionBatch) XdrMarshal(x XDR, name string)

func (XdrType_ProposedTransactionBatch) XdrMarshalN

func (v XdrType_ProposedTransactionBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_ProposedTransactionBatch) XdrPointer

func (v XdrType_ProposedTransactionBatch) XdrPointer() interface{}

func (XdrType_ProposedTransactionBatch) XdrRecurse

func (v XdrType_ProposedTransactionBatch) XdrRecurse(x XDR, name string)

func (XdrType_ProposedTransactionBatch) XdrTypeName

func (XdrType_ProposedTransactionBatch) XdrUnwrap

func (v XdrType_ProposedTransactionBatch) XdrUnwrap() XdrType

func (XdrType_ProposedTransactionBatch) XdrValue

func (v XdrType_ProposedTransactionBatch) XdrValue() interface{}

type XdrType_Protocol

type XdrType_Protocol struct {
	XdrType_uint32
}

func XDR_Protocol

func XDR_Protocol(v *Protocol) XdrType_Protocol

func (XdrType_Protocol) XdrTypeName

func (XdrType_Protocol) XdrTypeName() string

func (XdrType_Protocol) XdrUnwrap

func (v XdrType_Protocol) XdrUnwrap() XdrType

type XdrType_ProtocolCommit

type XdrType_ProtocolCommit struct {
	// contains filtered or unexported fields
}

func XDR_ProtocolCommit

func XDR_ProtocolCommit(v *ProtocolCommit) XdrType_ProtocolCommit

func (XdrType_ProtocolCommit) GetByteSlice

func (v XdrType_ProtocolCommit) GetByteSlice() []byte

func (XdrType_ProtocolCommit) Scan

func (v XdrType_ProtocolCommit) Scan(ss fmt.ScanState, c rune) error

func (XdrType_ProtocolCommit) String

func (v XdrType_ProtocolCommit) String() string

func (XdrType_ProtocolCommit) XdrArraySize

func (XdrType_ProtocolCommit) XdrArraySize() uint32

func (XdrType_ProtocolCommit) XdrMarshal

func (v XdrType_ProtocolCommit) XdrMarshal(x XDR, name string)

func (XdrType_ProtocolCommit) XdrPointer

func (v XdrType_ProtocolCommit) XdrPointer() interface{}

func (XdrType_ProtocolCommit) XdrTypeName

func (XdrType_ProtocolCommit) XdrTypeName() string

func (XdrType_ProtocolCommit) XdrUnwrap

func (v XdrType_ProtocolCommit) XdrUnwrap() XdrType

func (XdrType_ProtocolCommit) XdrValue

func (v XdrType_ProtocolCommit) XdrValue() interface{}

type XdrType_PubkeyAccountPreimage

type XdrType_PubkeyAccountPreimage = *PubkeyAccountPreimage

type XdrType_PublicKey

type XdrType_PublicKey = *PublicKey

type XdrType_PublicKeyConfig

type XdrType_PublicKeyConfig = *PublicKeyConfig

type XdrType_PublicKeyConfigOpt

type XdrType_PublicKeyConfigOpt struct {
	// contains filtered or unexported fields
}

func (XdrType_PublicKeyConfigOpt) GetPresent

func (v XdrType_PublicKeyConfigOpt) GetPresent() bool

func (XdrType_PublicKeyConfigOpt) SetPresent

func (v XdrType_PublicKeyConfigOpt) SetPresent(present bool)

func (XdrType_PublicKeyConfigOpt) XdrMarshal

func (v XdrType_PublicKeyConfigOpt) XdrMarshal(x XDR, name string)

func (XdrType_PublicKeyConfigOpt) XdrMarshalValue

func (v XdrType_PublicKeyConfigOpt) XdrMarshalValue(x XDR, name string)

func (XdrType_PublicKeyConfigOpt) XdrPointer

func (v XdrType_PublicKeyConfigOpt) XdrPointer() interface{}

func (XdrType_PublicKeyConfigOpt) XdrRecurse

func (v XdrType_PublicKeyConfigOpt) XdrRecurse(x XDR, name string)

func (XdrType_PublicKeyConfigOpt) XdrTypeName

func (XdrType_PublicKeyConfigOpt) XdrTypeName() string

func (XdrType_PublicKeyConfigOpt) XdrUnwrap

func (v XdrType_PublicKeyConfigOpt) XdrUnwrap() XdrType

func (XdrType_PublicKeyConfigOpt) XdrValue

func (v XdrType_PublicKeyConfigOpt) XdrValue() interface{}

type XdrType_PublicKeyHash

type XdrType_PublicKeyHash struct {
	// contains filtered or unexported fields
}

func XDR_PublicKeyHash

func XDR_PublicKeyHash(v *PublicKeyHash) XdrType_PublicKeyHash

func (XdrType_PublicKeyHash) GetByteSlice

func (v XdrType_PublicKeyHash) GetByteSlice() []byte

func (XdrType_PublicKeyHash) Scan

func (v XdrType_PublicKeyHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_PublicKeyHash) String

func (v XdrType_PublicKeyHash) String() string

func (XdrType_PublicKeyHash) XdrArraySize

func (XdrType_PublicKeyHash) XdrArraySize() uint32

func (XdrType_PublicKeyHash) XdrMarshal

func (v XdrType_PublicKeyHash) XdrMarshal(x XDR, name string)

func (XdrType_PublicKeyHash) XdrPointer

func (v XdrType_PublicKeyHash) XdrPointer() interface{}

func (XdrType_PublicKeyHash) XdrTypeName

func (XdrType_PublicKeyHash) XdrTypeName() string

func (XdrType_PublicKeyHash) XdrUnwrap

func (v XdrType_PublicKeyHash) XdrUnwrap() XdrType

func (XdrType_PublicKeyHash) XdrValue

func (v XdrType_PublicKeyHash) XdrValue() interface{}

type XdrType_QueueEntry

type XdrType_QueueEntry struct {
	XdrVecOpaque
}

func XDR_QueueEntry

func XDR_QueueEntry(v *QueueEntry) XdrType_QueueEntry

func (XdrType_QueueEntry) XdrTypeName

func (XdrType_QueueEntry) XdrTypeName() string

func (XdrType_QueueEntry) XdrUnwrap

func (v XdrType_QueueEntry) XdrUnwrap() XdrType

type XdrType_QuorumSetSnapshot

type XdrType_QuorumSetSnapshot = *QuorumSetSnapshot

type XdrType_RPCError

type XdrType_RPCError = *RPCError

type XdrType_RepairConfig

type XdrType_RepairConfig = *RepairConfig

type XdrType_RepairedTransactions

type XdrType_RepairedTransactions = *RepairedTransactions

type XdrType_ReplayCacheData

type XdrType_ReplayCacheData = *ReplayCacheData

type XdrType_ReplayCacheHeightCount

type XdrType_ReplayCacheHeightCount = *ReplayCacheHeightCount

type XdrType_ReplayCacheMetadata

type XdrType_ReplayCacheMetadata = *ReplayCacheMetadata

type XdrType_RetrocausalQueueBlock

type XdrType_RetrocausalQueueBlock = *RetrocausalQueueBlock

type XdrType_RetrocausalQueueConsumeDelta

type XdrType_RetrocausalQueueConsumeDelta = *RetrocausalQueueConsumeDelta

type XdrType_RetrocausalQueueDelta

type XdrType_RetrocausalQueueDelta = *RetrocausalQueueDelta

type XdrType_RetrocausalQueueInsertDelta

type XdrType_RetrocausalQueueInsertDelta = *RetrocausalQueueInsertDelta

type XdrType_RetrocausalQueueMetadata

type XdrType_RetrocausalQueueMetadata = *RetrocausalQueueMetadata

type XdrType_RetrocausalQueuePastBlockConsumeDelta

type XdrType_RetrocausalQueuePastBlockConsumeDelta = *RetrocausalQueuePastBlockConsumeDelta

type XdrType_ReturnBuffer

type XdrType_ReturnBuffer struct {
	XdrVecOpaque
}

func XDR_ReturnBuffer

func XDR_ReturnBuffer(v *ReturnBuffer) XdrType_ReturnBuffer

func (XdrType_ReturnBuffer) XdrTypeName

func (XdrType_ReturnBuffer) XdrTypeName() string

func (XdrType_ReturnBuffer) XdrUnwrap

func (v XdrType_ReturnBuffer) XdrUnwrap() XdrType

type XdrType_Ristretto255Point

type XdrType_Ristretto255Point struct {
	// contains filtered or unexported fields
}

func (XdrType_Ristretto255Point) GetByteSlice

func (v XdrType_Ristretto255Point) GetByteSlice() []byte

func (XdrType_Ristretto255Point) Scan

func (v XdrType_Ristretto255Point) Scan(ss fmt.ScanState, c rune) error

func (XdrType_Ristretto255Point) String

func (v XdrType_Ristretto255Point) String() string

func (XdrType_Ristretto255Point) XdrArraySize

func (XdrType_Ristretto255Point) XdrArraySize() uint32

func (XdrType_Ristretto255Point) XdrMarshal

func (v XdrType_Ristretto255Point) XdrMarshal(x XDR, name string)

func (XdrType_Ristretto255Point) XdrPointer

func (v XdrType_Ristretto255Point) XdrPointer() interface{}

func (XdrType_Ristretto255Point) XdrTypeName

func (XdrType_Ristretto255Point) XdrTypeName() string

func (XdrType_Ristretto255Point) XdrUnwrap

func (v XdrType_Ristretto255Point) XdrUnwrap() XdrType

func (XdrType_Ristretto255Point) XdrValue

func (v XdrType_Ristretto255Point) XdrValue() interface{}

type XdrType_RouterConfig

type XdrType_RouterConfig = *RouterConfig

type XdrType_RuntimeMemoryLength

type XdrType_RuntimeMemoryLength struct {
	XdrType_uint32
}

func (XdrType_RuntimeMemoryLength) XdrTypeName

func (XdrType_RuntimeMemoryLength) XdrTypeName() string

func (XdrType_RuntimeMemoryLength) XdrUnwrap

func (v XdrType_RuntimeMemoryLength) XdrUnwrap() XdrType

type XdrType_Rv32ArtifactExtension

type XdrType_Rv32ArtifactExtension = *Rv32ArtifactExtension

type XdrType_Rv32ArtifactExtensionKind

type XdrType_Rv32ArtifactExtensionKind = *Rv32ArtifactExtensionKind

type XdrType_Rv32ArtifactExtensions

type XdrType_Rv32ArtifactExtensions struct {
	// contains filtered or unexported fields
}

func (XdrType_Rv32ArtifactExtensions) GetVecLen

func (v XdrType_Rv32ArtifactExtensions) GetVecLen() uint32

func (XdrType_Rv32ArtifactExtensions) SetVecLen

func (v XdrType_Rv32ArtifactExtensions) SetVecLen(length uint32)

func (XdrType_Rv32ArtifactExtensions) XdrBound

func (XdrType_Rv32ArtifactExtensions) XdrBound() uint32

func (XdrType_Rv32ArtifactExtensions) XdrCheckLen

func (XdrType_Rv32ArtifactExtensions) XdrCheckLen(length uint32)

func (XdrType_Rv32ArtifactExtensions) XdrMarshal

func (v XdrType_Rv32ArtifactExtensions) XdrMarshal(x XDR, name string)

func (XdrType_Rv32ArtifactExtensions) XdrMarshalN

func (v XdrType_Rv32ArtifactExtensions) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_Rv32ArtifactExtensions) XdrPointer

func (v XdrType_Rv32ArtifactExtensions) XdrPointer() interface{}

func (XdrType_Rv32ArtifactExtensions) XdrRecurse

func (v XdrType_Rv32ArtifactExtensions) XdrRecurse(x XDR, name string)

func (XdrType_Rv32ArtifactExtensions) XdrTypeName

func (XdrType_Rv32ArtifactExtensions) XdrTypeName() string

func (XdrType_Rv32ArtifactExtensions) XdrUnwrap

func (v XdrType_Rv32ArtifactExtensions) XdrUnwrap() XdrType

func (XdrType_Rv32ArtifactExtensions) XdrValue

func (v XdrType_Rv32ArtifactExtensions) XdrValue() interface{}

type XdrType_Rv32ContractSpecExtension

type XdrType_Rv32ContractSpecExtension = *Rv32ContractSpecExtension

type XdrType_SCAddress

type XdrType_SCAddress = *SCAddress

type XdrType_SCAddressType

type XdrType_SCAddressType = *SCAddressType

type XdrType_SCBytes

type XdrType_SCBytes struct {
	XdrVecOpaque
}

func XDR_SCBytes

func XDR_SCBytes(v *SCBytes) XdrType_SCBytes

func (XdrType_SCBytes) XdrTypeName

func (XdrType_SCBytes) XdrTypeName() string

func (XdrType_SCBytes) XdrUnwrap

func (v XdrType_SCBytes) XdrUnwrap() XdrType

type XdrType_SCPBallot

type XdrType_SCPBallot = *SCPBallot

type XdrType_SCPConfig

type XdrType_SCPConfig = *SCPConfig

type XdrType_SCPCount

type XdrType_SCPCount struct {
	XdrType_uint32
}

func XDR_SCPCount

func XDR_SCPCount(v *SCPCount) XdrType_SCPCount

func (XdrType_SCPCount) XdrTypeName

func (XdrType_SCPCount) XdrTypeName() string

func (XdrType_SCPCount) XdrUnwrap

func (v XdrType_SCPCount) XdrUnwrap() XdrType

type XdrType_SCPEnvelope

type XdrType_SCPEnvelope = *SCPEnvelope

type XdrType_SCPEnvelopes

type XdrType_SCPEnvelopes struct {
	// contains filtered or unexported fields
}

func XDR_SCPEnvelopes

func XDR_SCPEnvelopes(v *SCPEnvelopes) XdrType_SCPEnvelopes

func (XdrType_SCPEnvelopes) GetVecLen

func (v XdrType_SCPEnvelopes) GetVecLen() uint32

func (XdrType_SCPEnvelopes) SetVecLen

func (v XdrType_SCPEnvelopes) SetVecLen(length uint32)

func (XdrType_SCPEnvelopes) XdrBound

func (XdrType_SCPEnvelopes) XdrBound() uint32

func (XdrType_SCPEnvelopes) XdrCheckLen

func (XdrType_SCPEnvelopes) XdrCheckLen(length uint32)

func (XdrType_SCPEnvelopes) XdrMarshal

func (v XdrType_SCPEnvelopes) XdrMarshal(x XDR, name string)

func (XdrType_SCPEnvelopes) XdrMarshalN

func (v XdrType_SCPEnvelopes) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_SCPEnvelopes) XdrPointer

func (v XdrType_SCPEnvelopes) XdrPointer() interface{}

func (XdrType_SCPEnvelopes) XdrRecurse

func (v XdrType_SCPEnvelopes) XdrRecurse(x XDR, name string)

func (XdrType_SCPEnvelopes) XdrTypeName

func (XdrType_SCPEnvelopes) XdrTypeName() string

func (XdrType_SCPEnvelopes) XdrUnwrap

func (v XdrType_SCPEnvelopes) XdrUnwrap() XdrType

func (XdrType_SCPEnvelopes) XdrValue

func (v XdrType_SCPEnvelopes) XdrValue() interface{}

type XdrType_SCPHash

type XdrType_SCPHash struct {
	// contains filtered or unexported fields
}

func XDR_SCPHash

func XDR_SCPHash(v *SCPHash) XdrType_SCPHash

func (XdrType_SCPHash) GetByteSlice

func (v XdrType_SCPHash) GetByteSlice() []byte

func (XdrType_SCPHash) Scan

func (v XdrType_SCPHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_SCPHash) String

func (v XdrType_SCPHash) String() string

func (XdrType_SCPHash) XdrArraySize

func (XdrType_SCPHash) XdrArraySize() uint32

func (XdrType_SCPHash) XdrMarshal

func (v XdrType_SCPHash) XdrMarshal(x XDR, name string)

func (XdrType_SCPHash) XdrPointer

func (v XdrType_SCPHash) XdrPointer() interface{}

func (XdrType_SCPHash) XdrTypeName

func (XdrType_SCPHash) XdrTypeName() string

func (XdrType_SCPHash) XdrUnwrap

func (v XdrType_SCPHash) XdrUnwrap() XdrType

func (XdrType_SCPHash) XdrValue

func (v XdrType_SCPHash) XdrValue() interface{}

type XdrType_SCPNodeID

type XdrType_SCPNodeID struct {
	XdrType_PublicKey
}

func XDR_SCPNodeID

func XDR_SCPNodeID(v *SCPNodeID) XdrType_SCPNodeID

func (XdrType_SCPNodeID) XdrTypeName

func (XdrType_SCPNodeID) XdrTypeName() string

func (XdrType_SCPNodeID) XdrUnwrap

func (v XdrType_SCPNodeID) XdrUnwrap() XdrType

type XdrType_SCPOptQuorumSet

type XdrType_SCPOptQuorumSet struct {
	// contains filtered or unexported fields
}

func (XdrType_SCPOptQuorumSet) GetPresent

func (v XdrType_SCPOptQuorumSet) GetPresent() bool

func (XdrType_SCPOptQuorumSet) SetPresent

func (v XdrType_SCPOptQuorumSet) SetPresent(present bool)

func (XdrType_SCPOptQuorumSet) XdrMarshal

func (v XdrType_SCPOptQuorumSet) XdrMarshal(x XDR, name string)

func (XdrType_SCPOptQuorumSet) XdrMarshalValue

func (v XdrType_SCPOptQuorumSet) XdrMarshalValue(x XDR, name string)

func (XdrType_SCPOptQuorumSet) XdrPointer

func (v XdrType_SCPOptQuorumSet) XdrPointer() interface{}

func (XdrType_SCPOptQuorumSet) XdrRecurse

func (v XdrType_SCPOptQuorumSet) XdrRecurse(x XDR, name string)

func (XdrType_SCPOptQuorumSet) XdrTypeName

func (XdrType_SCPOptQuorumSet) XdrTypeName() string

func (XdrType_SCPOptQuorumSet) XdrUnwrap

func (v XdrType_SCPOptQuorumSet) XdrUnwrap() XdrType

func (XdrType_SCPOptQuorumSet) XdrValue

func (v XdrType_SCPOptQuorumSet) XdrValue() interface{}

type XdrType_SCPOptValue

type XdrType_SCPOptValue struct {
	// contains filtered or unexported fields
}

func XDR_SCPOptValue

func XDR_SCPOptValue(v *SCPOptValue) XdrType_SCPOptValue

func (XdrType_SCPOptValue) GetPresent

func (v XdrType_SCPOptValue) GetPresent() bool

func (XdrType_SCPOptValue) SetPresent

func (v XdrType_SCPOptValue) SetPresent(present bool)

func (XdrType_SCPOptValue) XdrMarshal

func (v XdrType_SCPOptValue) XdrMarshal(x XDR, name string)

func (XdrType_SCPOptValue) XdrMarshalValue

func (v XdrType_SCPOptValue) XdrMarshalValue(x XDR, name string)

func (XdrType_SCPOptValue) XdrPointer

func (v XdrType_SCPOptValue) XdrPointer() interface{}

func (XdrType_SCPOptValue) XdrRecurse

func (v XdrType_SCPOptValue) XdrRecurse(x XDR, name string)

func (XdrType_SCPOptValue) XdrTypeName

func (XdrType_SCPOptValue) XdrTypeName() string

func (XdrType_SCPOptValue) XdrUnwrap

func (v XdrType_SCPOptValue) XdrUnwrap() XdrType

func (XdrType_SCPOptValue) XdrValue

func (v XdrType_SCPOptValue) XdrValue() interface{}

type XdrType_SCPQuorumSet

type XdrType_SCPQuorumSet = *SCPQuorumSet

type XdrType_SCPSlotIndex

type XdrType_SCPSlotIndex struct {
	XdrType_uint64
}

func XDR_SCPSlotIndex

func XDR_SCPSlotIndex(v *SCPSlotIndex) XdrType_SCPSlotIndex

func (XdrType_SCPSlotIndex) XdrTypeName

func (XdrType_SCPSlotIndex) XdrTypeName() string

func (XdrType_SCPSlotIndex) XdrUnwrap

func (v XdrType_SCPSlotIndex) XdrUnwrap() XdrType

type XdrType_SCPStatement

type XdrType_SCPStatement = *SCPStatement

type XdrType_SCPStatementConfirm

type XdrType_SCPStatementConfirm = *SCPStatementConfirm

type XdrType_SCPStatementExternalize

type XdrType_SCPStatementExternalize = *SCPStatementExternalize

type XdrType_SCPStatementNominate

type XdrType_SCPStatementNominate = *SCPStatementNominate

type XdrType_SCPStatementPrepare

type XdrType_SCPStatementPrepare = *SCPStatementPrepare

type XdrType_SCPStatementType

type XdrType_SCPStatementType = *SCPStatementType

type XdrType_SCPValidationLevel

type XdrType_SCPValidationLevel = *SCPValidationLevel

type XdrType_SCPValue

type XdrType_SCPValue struct {
	XdrVecOpaque
}

func XDR_SCPValue

func XDR_SCPValue(v *SCPValue) XdrType_SCPValue

func (XdrType_SCPValue) XdrTypeName

func (XdrType_SCPValue) XdrTypeName() string

func (XdrType_SCPValue) XdrUnwrap

func (v XdrType_SCPValue) XdrUnwrap() XdrType

type XdrType_SCPValues

type XdrType_SCPValues struct {
	// contains filtered or unexported fields
}

func XDR_SCPValues

func XDR_SCPValues(v *SCPValues) XdrType_SCPValues

func (XdrType_SCPValues) GetVecLen

func (v XdrType_SCPValues) GetVecLen() uint32

func (XdrType_SCPValues) SetVecLen

func (v XdrType_SCPValues) SetVecLen(length uint32)

func (XdrType_SCPValues) XdrBound

func (XdrType_SCPValues) XdrBound() uint32

func (XdrType_SCPValues) XdrCheckLen

func (XdrType_SCPValues) XdrCheckLen(length uint32)

func (XdrType_SCPValues) XdrMarshal

func (v XdrType_SCPValues) XdrMarshal(x XDR, name string)

func (XdrType_SCPValues) XdrMarshalN

func (v XdrType_SCPValues) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_SCPValues) XdrPointer

func (v XdrType_SCPValues) XdrPointer() interface{}

func (XdrType_SCPValues) XdrRecurse

func (v XdrType_SCPValues) XdrRecurse(x XDR, name string)

func (XdrType_SCPValues) XdrTypeName

func (XdrType_SCPValues) XdrTypeName() string

func (XdrType_SCPValues) XdrUnwrap

func (v XdrType_SCPValues) XdrUnwrap() XdrType

func (XdrType_SCPValues) XdrValue

func (v XdrType_SCPValues) XdrValue() interface{}

type XdrType_SCString

type XdrType_SCString struct {
	XdrString
}

func XDR_SCString

func XDR_SCString(v *SCString) XdrType_SCString

func (XdrType_SCString) XdrTypeName

func (XdrType_SCString) XdrTypeName() string

func (XdrType_SCString) XdrUnwrap

func (v XdrType_SCString) XdrUnwrap() XdrType

type XdrType_SCSymbol

type XdrType_SCSymbol struct {
	XdrString
}

func XDR_SCSymbol

func XDR_SCSymbol(v *SCSymbol) XdrType_SCSymbol

func (XdrType_SCSymbol) XdrTypeName

func (XdrType_SCSymbol) XdrTypeName() string

func (XdrType_SCSymbol) XdrUnwrap

func (v XdrType_SCSymbol) XdrUnwrap() XdrType

type XdrType_SCVal

type XdrType_SCVal = *SCVal

type XdrType_SCValType

type XdrType_SCValType = *SCValType

type XdrType_SHA256Hash

type XdrType_SHA256Hash struct {
	// contains filtered or unexported fields
}

func XDR_SHA256Hash

func XDR_SHA256Hash(v *SHA256Hash) XdrType_SHA256Hash

func (XdrType_SHA256Hash) GetByteSlice

func (v XdrType_SHA256Hash) GetByteSlice() []byte

func (XdrType_SHA256Hash) Scan

func (v XdrType_SHA256Hash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_SHA256Hash) String

func (v XdrType_SHA256Hash) String() string

func (XdrType_SHA256Hash) XdrArraySize

func (XdrType_SHA256Hash) XdrArraySize() uint32

func (XdrType_SHA256Hash) XdrMarshal

func (v XdrType_SHA256Hash) XdrMarshal(x XDR, name string)

func (XdrType_SHA256Hash) XdrPointer

func (v XdrType_SHA256Hash) XdrPointer() interface{}

func (XdrType_SHA256Hash) XdrTypeName

func (XdrType_SHA256Hash) XdrTypeName() string

func (XdrType_SHA256Hash) XdrUnwrap

func (v XdrType_SHA256Hash) XdrUnwrap() XdrType

func (XdrType_SHA256Hash) XdrValue

func (v XdrType_SHA256Hash) XdrValue() interface{}

type XdrType_SchedGatewayIntroOutcome

type XdrType_SchedGatewayIntroOutcome = *SchedGatewayIntroOutcome

type XdrType_SchedGatewaySubmitOutcome

type XdrType_SchedGatewaySubmitOutcome = *SchedGatewaySubmitOutcome

type XdrType_SchedGatewaySubmitOutcomeBatch

type XdrType_SchedGatewaySubmitOutcomeBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_SchedGatewaySubmitOutcomeBatch) GetVecLen

func (v XdrType_SchedGatewaySubmitOutcomeBatch) GetVecLen() uint32

func (XdrType_SchedGatewaySubmitOutcomeBatch) SetVecLen

func (v XdrType_SchedGatewaySubmitOutcomeBatch) SetVecLen(length uint32)

func (XdrType_SchedGatewaySubmitOutcomeBatch) XdrBound

func (XdrType_SchedGatewaySubmitOutcomeBatch) XdrBound() uint32

func (XdrType_SchedGatewaySubmitOutcomeBatch) XdrCheckLen

func (XdrType_SchedGatewaySubmitOutcomeBatch) XdrCheckLen(length uint32)

func (XdrType_SchedGatewaySubmitOutcomeBatch) XdrMarshal

func (v XdrType_SchedGatewaySubmitOutcomeBatch) XdrMarshal(x XDR, name string)

func (XdrType_SchedGatewaySubmitOutcomeBatch) XdrMarshalN

func (v XdrType_SchedGatewaySubmitOutcomeBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_SchedGatewaySubmitOutcomeBatch) XdrPointer

func (v XdrType_SchedGatewaySubmitOutcomeBatch) XdrPointer() interface{}

func (XdrType_SchedGatewaySubmitOutcomeBatch) XdrRecurse

func (v XdrType_SchedGatewaySubmitOutcomeBatch) XdrRecurse(x XDR, name string)

func (XdrType_SchedGatewaySubmitOutcomeBatch) XdrTypeName

func (XdrType_SchedGatewaySubmitOutcomeBatch) XdrUnwrap

func (v XdrType_SchedGatewaySubmitOutcomeBatch) XdrUnwrap() XdrType

func (XdrType_SchedGatewaySubmitOutcomeBatch) XdrValue

func (v XdrType_SchedGatewaySubmitOutcomeBatch) XdrValue() interface{}

type XdrType_SchedulerCommitOutcome

type XdrType_SchedulerCommitOutcome = *SchedulerCommitOutcome

type XdrType_SchedulerErrorCode

type XdrType_SchedulerErrorCode = *SchedulerErrorCode

type XdrType_SchedulerGetTipOutcome

type XdrType_SchedulerGetTipOutcome = *SchedulerGetTipOutcome

type XdrType_SchedulerGetTipResult

type XdrType_SchedulerGetTipResult = *SchedulerGetTipResult

type XdrType_SchedulerProposalOutcome

type XdrType_SchedulerProposalOutcome = *SchedulerProposalOutcome

type XdrType_SchedulerProposalResult

type XdrType_SchedulerProposalResult = *SchedulerProposalResult

type XdrType_SchedulerProposedBlock

type XdrType_SchedulerProposedBlock = *SchedulerProposedBlock

type XdrType_SchedulerTransactionErrorSource

type XdrType_SchedulerTransactionErrorSource = *SchedulerTransactionErrorSource

type XdrType_SchedulerTransactionOutcome

type XdrType_SchedulerTransactionOutcome = *SchedulerTransactionOutcome

type XdrType_SchedulerTransactionOutcomeBatch

type XdrType_SchedulerTransactionOutcomeBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_SchedulerTransactionOutcomeBatch) GetVecLen

func (v XdrType_SchedulerTransactionOutcomeBatch) GetVecLen() uint32

func (XdrType_SchedulerTransactionOutcomeBatch) SetVecLen

func (v XdrType_SchedulerTransactionOutcomeBatch) SetVecLen(length uint32)

func (XdrType_SchedulerTransactionOutcomeBatch) XdrBound

func (XdrType_SchedulerTransactionOutcomeBatch) XdrBound() uint32

func (XdrType_SchedulerTransactionOutcomeBatch) XdrCheckLen

func (XdrType_SchedulerTransactionOutcomeBatch) XdrCheckLen(length uint32)

func (XdrType_SchedulerTransactionOutcomeBatch) XdrMarshal

func (v XdrType_SchedulerTransactionOutcomeBatch) XdrMarshal(x XDR, name string)

func (XdrType_SchedulerTransactionOutcomeBatch) XdrMarshalN

func (v XdrType_SchedulerTransactionOutcomeBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_SchedulerTransactionOutcomeBatch) XdrPointer

func (v XdrType_SchedulerTransactionOutcomeBatch) XdrPointer() interface{}

func (XdrType_SchedulerTransactionOutcomeBatch) XdrRecurse

func (v XdrType_SchedulerTransactionOutcomeBatch) XdrRecurse(x XDR, name string)

func (XdrType_SchedulerTransactionOutcomeBatch) XdrTypeName

func (XdrType_SchedulerTransactionOutcomeBatch) XdrUnwrap

func (v XdrType_SchedulerTransactionOutcomeBatch) XdrUnwrap() XdrType

func (XdrType_SchedulerTransactionOutcomeBatch) XdrValue

func (v XdrType_SchedulerTransactionOutcomeBatch) XdrValue() interface{}

type XdrType_SchedulerTransactionStatus

type XdrType_SchedulerTransactionStatus = *SchedulerTransactionStatus

type XdrType_SchedulerValidationBlock

type XdrType_SchedulerValidationBlock = *SchedulerValidationBlock

type XdrType_SchedulerValidationOutcome

type XdrType_SchedulerValidationOutcome = *SchedulerValidationOutcome

type XdrType_SchedulerValidationResult

type XdrType_SchedulerValidationResult = *SchedulerValidationResult

type XdrType_Seconds

type XdrType_Seconds struct {
	XdrType_int64
}

func XDR_Seconds

func XDR_Seconds(v *Seconds) XdrType_Seconds

func (XdrType_Seconds) XdrTypeName

func (XdrType_Seconds) XdrTypeName() string

func (XdrType_Seconds) XdrUnwrap

func (v XdrType_Seconds) XdrUnwrap() XdrType

type XdrType_SecretKey

type XdrType_SecretKey = *SecretKey

type XdrType_ServerAddress

type XdrType_ServerAddress struct {
	XdrString
}

func XDR_ServerAddress

func XDR_ServerAddress(v *ServerAddress) XdrType_ServerAddress

func (XdrType_ServerAddress) XdrTypeName

func (XdrType_ServerAddress) XdrTypeName() string

func (XdrType_ServerAddress) XdrUnwrap

func (v XdrType_ServerAddress) XdrUnwrap() XdrType

type XdrType_ShardCard

type XdrType_ShardCard = *ShardCard

type XdrType_Signature

type XdrType_Signature = *Signature

type XdrType_SignedCatchupBlocksRequest

type XdrType_SignedCatchupBlocksRequest = *SignedCatchupBlocksRequest

type XdrType_SignedCatchupBlocksResult

type XdrType_SignedCatchupBlocksResult = *SignedCatchupBlocksResult

type XdrType_SignedQuorumSetSnapshot

type XdrType_SignedQuorumSetSnapshot = *SignedQuorumSetSnapshot

type XdrType_SignedTransaction

type XdrType_SignedTransaction = *SignedTransaction

type XdrType_SignedTransactionBatch

type XdrType_SignedTransactionBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_SignedTransactionBatch) GetVecLen

func (v XdrType_SignedTransactionBatch) GetVecLen() uint32

func (XdrType_SignedTransactionBatch) SetVecLen

func (v XdrType_SignedTransactionBatch) SetVecLen(length uint32)

func (XdrType_SignedTransactionBatch) XdrBound

func (XdrType_SignedTransactionBatch) XdrBound() uint32

func (XdrType_SignedTransactionBatch) XdrCheckLen

func (XdrType_SignedTransactionBatch) XdrCheckLen(length uint32)

func (XdrType_SignedTransactionBatch) XdrMarshal

func (v XdrType_SignedTransactionBatch) XdrMarshal(x XDR, name string)

func (XdrType_SignedTransactionBatch) XdrMarshalN

func (v XdrType_SignedTransactionBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_SignedTransactionBatch) XdrPointer

func (v XdrType_SignedTransactionBatch) XdrPointer() interface{}

func (XdrType_SignedTransactionBatch) XdrRecurse

func (v XdrType_SignedTransactionBatch) XdrRecurse(x XDR, name string)

func (XdrType_SignedTransactionBatch) XdrTypeName

func (XdrType_SignedTransactionBatch) XdrTypeName() string

func (XdrType_SignedTransactionBatch) XdrUnwrap

func (v XdrType_SignedTransactionBatch) XdrUnwrap() XdrType

func (XdrType_SignedTransactionBatch) XdrValue

func (v XdrType_SignedTransactionBatch) XdrValue() interface{}

type XdrType_SignedTransactionHash

type XdrType_SignedTransactionHash struct {
	XdrType_SHA256Hash
}

func (XdrType_SignedTransactionHash) GetByteSlice

func (v XdrType_SignedTransactionHash) GetByteSlice() []byte

func (XdrType_SignedTransactionHash) Scan

func (v XdrType_SignedTransactionHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_SignedTransactionHash) String

func (v XdrType_SignedTransactionHash) String() string

func (XdrType_SignedTransactionHash) XdrArraySize

func (XdrType_SignedTransactionHash) XdrArraySize() uint32

func (XdrType_SignedTransactionHash) XdrMarshal

func (v XdrType_SignedTransactionHash) XdrMarshal(x XDR, name string)

func (XdrType_SignedTransactionHash) XdrPointer

func (v XdrType_SignedTransactionHash) XdrPointer() interface{}

func (XdrType_SignedTransactionHash) XdrTypeName

func (XdrType_SignedTransactionHash) XdrTypeName() string

func (XdrType_SignedTransactionHash) XdrUnwrap

func (v XdrType_SignedTransactionHash) XdrUnwrap() XdrType

func (XdrType_SignedTransactionHash) XdrValue

func (v XdrType_SignedTransactionHash) XdrValue() interface{}

type XdrType_SignedTransactionHashBatch

type XdrType_SignedTransactionHashBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_SignedTransactionHashBatch) GetVecLen

func (v XdrType_SignedTransactionHashBatch) GetVecLen() uint32

func (XdrType_SignedTransactionHashBatch) SetVecLen

func (v XdrType_SignedTransactionHashBatch) SetVecLen(length uint32)

func (XdrType_SignedTransactionHashBatch) XdrBound

func (XdrType_SignedTransactionHashBatch) XdrBound() uint32

func (XdrType_SignedTransactionHashBatch) XdrCheckLen

func (XdrType_SignedTransactionHashBatch) XdrCheckLen(length uint32)

func (XdrType_SignedTransactionHashBatch) XdrMarshal

func (v XdrType_SignedTransactionHashBatch) XdrMarshal(x XDR, name string)

func (XdrType_SignedTransactionHashBatch) XdrMarshalN

func (v XdrType_SignedTransactionHashBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_SignedTransactionHashBatch) XdrPointer

func (v XdrType_SignedTransactionHashBatch) XdrPointer() interface{}

func (XdrType_SignedTransactionHashBatch) XdrRecurse

func (v XdrType_SignedTransactionHashBatch) XdrRecurse(x XDR, name string)

func (XdrType_SignedTransactionHashBatch) XdrTypeName

func (XdrType_SignedTransactionHashBatch) XdrUnwrap

func (v XdrType_SignedTransactionHashBatch) XdrUnwrap() XdrType

func (XdrType_SignedTransactionHashBatch) XdrValue

func (v XdrType_SignedTransactionHashBatch) XdrValue() interface{}

type XdrType_SignedValidatorInfoSnapshot

type XdrType_SignedValidatorInfoSnapshot = *SignedValidatorInfoSnapshot

type XdrType_StorageConfig

type XdrType_StorageConfig = *StorageConfig

type XdrType_StorageCost

type XdrType_StorageCost struct {
	XdrType_Int128_xdr
}

func XDR_StorageCost

func XDR_StorageCost(v *StorageCost) XdrType_StorageCost

func (XdrType_StorageCost) XdrTypeName

func (XdrType_StorageCost) XdrTypeName() string

func (XdrType_StorageCost) XdrUnwrap

func (v XdrType_StorageCost) XdrUnwrap() XdrType

type XdrType_StorageCostModelXdr

type XdrType_StorageCostModelXdr = *StorageCostModelXdr

type XdrType_StorageDelta

type XdrType_StorageDelta = *StorageDelta

type XdrType_StorageDeltaFlagSet

type XdrType_StorageDeltaFlagSet struct {
	XdrType_uint32
}

func (XdrType_StorageDeltaFlagSet) XdrTypeName

func (XdrType_StorageDeltaFlagSet) XdrTypeName() string

func (XdrType_StorageDeltaFlagSet) XdrUnwrap

func (v XdrType_StorageDeltaFlagSet) XdrUnwrap() XdrType

type XdrType_StorageDeltaFlags

type XdrType_StorageDeltaFlags = *StorageDeltaFlags

type XdrType_StorageDeltaType

type XdrType_StorageDeltaType = *StorageDeltaType

type XdrType_StorageItem

type XdrType_StorageItem = *StorageItem

type XdrType_StorageItemType

type XdrType_StorageItemType = *StorageItemType

type XdrType_StorageKey

type XdrType_StorageKey = *StorageKey

type XdrType_StorageKeyContractData

type XdrType_StorageKeyContractData struct {
	// contains filtered or unexported fields
}

func (XdrType_StorageKeyContractData) GetByteSlice

func (v XdrType_StorageKeyContractData) GetByteSlice() []byte

func (XdrType_StorageKeyContractData) Scan

func (v XdrType_StorageKeyContractData) Scan(ss fmt.ScanState, c rune) error

func (XdrType_StorageKeyContractData) String

func (v XdrType_StorageKeyContractData) String() string

func (XdrType_StorageKeyContractData) XdrArraySize

func (XdrType_StorageKeyContractData) XdrArraySize() uint32

func (XdrType_StorageKeyContractData) XdrMarshal

func (v XdrType_StorageKeyContractData) XdrMarshal(x XDR, name string)

func (XdrType_StorageKeyContractData) XdrPointer

func (v XdrType_StorageKeyContractData) XdrPointer() interface{}

func (XdrType_StorageKeyContractData) XdrTypeName

func (XdrType_StorageKeyContractData) XdrTypeName() string

func (XdrType_StorageKeyContractData) XdrUnwrap

func (v XdrType_StorageKeyContractData) XdrUnwrap() XdrType

func (XdrType_StorageKeyContractData) XdrValue

func (v XdrType_StorageKeyContractData) XdrValue() interface{}

type XdrType_StorageKeyType

type XdrType_StorageKeyType = *StorageKeyType

type XdrType_StorageLongHash

type XdrType_StorageLongHash struct {
	// contains filtered or unexported fields
}

func (XdrType_StorageLongHash) GetByteSlice

func (v XdrType_StorageLongHash) GetByteSlice() []byte

func (XdrType_StorageLongHash) Scan

func (v XdrType_StorageLongHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_StorageLongHash) String

func (v XdrType_StorageLongHash) String() string

func (XdrType_StorageLongHash) XdrArraySize

func (XdrType_StorageLongHash) XdrArraySize() uint32

func (XdrType_StorageLongHash) XdrMarshal

func (v XdrType_StorageLongHash) XdrMarshal(x XDR, name string)

func (XdrType_StorageLongHash) XdrPointer

func (v XdrType_StorageLongHash) XdrPointer() interface{}

func (XdrType_StorageLongHash) XdrTypeName

func (XdrType_StorageLongHash) XdrTypeName() string

func (XdrType_StorageLongHash) XdrUnwrap

func (v XdrType_StorageLongHash) XdrUnwrap() XdrType

func (XdrType_StorageLongHash) XdrValue

func (v XdrType_StorageLongHash) XdrValue() interface{}

type XdrType_StorageShortHash

type XdrType_StorageShortHash struct {
	XdrType_SHA256Hash
}

func (XdrType_StorageShortHash) GetByteSlice

func (v XdrType_StorageShortHash) GetByteSlice() []byte

func (XdrType_StorageShortHash) Scan

func (v XdrType_StorageShortHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_StorageShortHash) String

func (v XdrType_StorageShortHash) String() string

func (XdrType_StorageShortHash) XdrArraySize

func (XdrType_StorageShortHash) XdrArraySize() uint32

func (XdrType_StorageShortHash) XdrMarshal

func (v XdrType_StorageShortHash) XdrMarshal(x XDR, name string)

func (XdrType_StorageShortHash) XdrPointer

func (v XdrType_StorageShortHash) XdrPointer() interface{}

func (XdrType_StorageShortHash) XdrTypeName

func (XdrType_StorageShortHash) XdrTypeName() string

func (XdrType_StorageShortHash) XdrUnwrap

func (v XdrType_StorageShortHash) XdrUnwrap() XdrType

func (XdrType_StorageShortHash) XdrValue

func (v XdrType_StorageShortHash) XdrValue() interface{}

type XdrType_SubmittedTransactions

type XdrType_SubmittedTransactions = *SubmittedTransactions

type XdrType_SyscallErrorCode

type XdrType_SyscallErrorCode = *SyscallErrorCode

type XdrType_TimePoint

type XdrType_TimePoint struct {
	XdrType_uint64
}

func XDR_TimePoint

func XDR_TimePoint(v *TimePoint) XdrType_TimePoint

func (XdrType_TimePoint) XdrTypeName

func (XdrType_TimePoint) XdrTypeName() string

func (XdrType_TimePoint) XdrUnwrap

func (v XdrType_TimePoint) XdrUnwrap() XdrType

type XdrType_Topic

type XdrType_Topic struct {
	// contains filtered or unexported fields
}

func XDR_Topic

func XDR_Topic(v *Topic) XdrType_Topic

func (XdrType_Topic) GetByteSlice

func (v XdrType_Topic) GetByteSlice() []byte

func (XdrType_Topic) Scan

func (v XdrType_Topic) Scan(ss fmt.ScanState, c rune) error

func (XdrType_Topic) String

func (v XdrType_Topic) String() string

func (XdrType_Topic) XdrArraySize

func (XdrType_Topic) XdrArraySize() uint32

func (XdrType_Topic) XdrMarshal

func (v XdrType_Topic) XdrMarshal(x XDR, name string)

func (XdrType_Topic) XdrPointer

func (v XdrType_Topic) XdrPointer() interface{}

func (XdrType_Topic) XdrTypeName

func (XdrType_Topic) XdrTypeName() string

func (XdrType_Topic) XdrUnwrap

func (v XdrType_Topic) XdrUnwrap() XdrType

func (XdrType_Topic) XdrValue

func (v XdrType_Topic) XdrValue() interface{}

type XdrType_Transaction

type XdrType_Transaction = *Transaction

type XdrType_TransactionBatch

type XdrType_TransactionBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_TransactionBatch) GetVecLen

func (v XdrType_TransactionBatch) GetVecLen() uint32

func (XdrType_TransactionBatch) SetVecLen

func (v XdrType_TransactionBatch) SetVecLen(length uint32)

func (XdrType_TransactionBatch) XdrBound

func (XdrType_TransactionBatch) XdrBound() uint32

func (XdrType_TransactionBatch) XdrCheckLen

func (XdrType_TransactionBatch) XdrCheckLen(length uint32)

func (XdrType_TransactionBatch) XdrMarshal

func (v XdrType_TransactionBatch) XdrMarshal(x XDR, name string)

func (XdrType_TransactionBatch) XdrMarshalN

func (v XdrType_TransactionBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_TransactionBatch) XdrPointer

func (v XdrType_TransactionBatch) XdrPointer() interface{}

func (XdrType_TransactionBatch) XdrRecurse

func (v XdrType_TransactionBatch) XdrRecurse(x XDR, name string)

func (XdrType_TransactionBatch) XdrTypeName

func (XdrType_TransactionBatch) XdrTypeName() string

func (XdrType_TransactionBatch) XdrUnwrap

func (v XdrType_TransactionBatch) XdrUnwrap() XdrType

func (XdrType_TransactionBatch) XdrValue

func (v XdrType_TransactionBatch) XdrValue() interface{}

type XdrType_TransactionHash

type XdrType_TransactionHash struct {
	XdrType_SHA256Hash
}

func (XdrType_TransactionHash) GetByteSlice

func (v XdrType_TransactionHash) GetByteSlice() []byte

func (XdrType_TransactionHash) Scan

func (v XdrType_TransactionHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_TransactionHash) String

func (v XdrType_TransactionHash) String() string

func (XdrType_TransactionHash) XdrArraySize

func (XdrType_TransactionHash) XdrArraySize() uint32

func (XdrType_TransactionHash) XdrMarshal

func (v XdrType_TransactionHash) XdrMarshal(x XDR, name string)

func (XdrType_TransactionHash) XdrPointer

func (v XdrType_TransactionHash) XdrPointer() interface{}

func (XdrType_TransactionHash) XdrTypeName

func (XdrType_TransactionHash) XdrTypeName() string

func (XdrType_TransactionHash) XdrUnwrap

func (v XdrType_TransactionHash) XdrUnwrap() XdrType

func (XdrType_TransactionHash) XdrValue

func (v XdrType_TransactionHash) XdrValue() interface{}

type XdrType_TransactionHashBatch

type XdrType_TransactionHashBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_TransactionHashBatch) GetVecLen

func (v XdrType_TransactionHashBatch) GetVecLen() uint32

func (XdrType_TransactionHashBatch) SetVecLen

func (v XdrType_TransactionHashBatch) SetVecLen(length uint32)

func (XdrType_TransactionHashBatch) XdrBound

func (XdrType_TransactionHashBatch) XdrBound() uint32

func (XdrType_TransactionHashBatch) XdrCheckLen

func (XdrType_TransactionHashBatch) XdrCheckLen(length uint32)

func (XdrType_TransactionHashBatch) XdrMarshal

func (v XdrType_TransactionHashBatch) XdrMarshal(x XDR, name string)

func (XdrType_TransactionHashBatch) XdrMarshalN

func (v XdrType_TransactionHashBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_TransactionHashBatch) XdrPointer

func (v XdrType_TransactionHashBatch) XdrPointer() interface{}

func (XdrType_TransactionHashBatch) XdrRecurse

func (v XdrType_TransactionHashBatch) XdrRecurse(x XDR, name string)

func (XdrType_TransactionHashBatch) XdrTypeName

func (XdrType_TransactionHashBatch) XdrTypeName() string

func (XdrType_TransactionHashBatch) XdrUnwrap

func (v XdrType_TransactionHashBatch) XdrUnwrap() XdrType

func (XdrType_TransactionHashBatch) XdrValue

func (v XdrType_TransactionHashBatch) XdrValue() interface{}

type XdrType_TransactionID

type XdrType_TransactionID struct {
	XdrType_uint64
}

func XDR_TransactionID

func XDR_TransactionID(v *TransactionID) XdrType_TransactionID

func (XdrType_TransactionID) XdrTypeName

func (XdrType_TransactionID) XdrTypeName() string

func (XdrType_TransactionID) XdrUnwrap

func (v XdrType_TransactionID) XdrUnwrap() XdrType

type XdrType_TransactionPage

type XdrType_TransactionPage = *TransactionPage

type XdrType_TransactionPageResult

type XdrType_TransactionPageResult = *TransactionPageResult

type XdrType_TransactionQuery

type XdrType_TransactionQuery = *TransactionQuery

type XdrType_TransactionRef

type XdrType_TransactionRef = *TransactionRef

type XdrType_TransactionRefBatch

type XdrType_TransactionRefBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_TransactionRefBatch) GetVecLen

func (v XdrType_TransactionRefBatch) GetVecLen() uint32

func (XdrType_TransactionRefBatch) SetVecLen

func (v XdrType_TransactionRefBatch) SetVecLen(length uint32)

func (XdrType_TransactionRefBatch) XdrBound

func (XdrType_TransactionRefBatch) XdrBound() uint32

func (XdrType_TransactionRefBatch) XdrCheckLen

func (XdrType_TransactionRefBatch) XdrCheckLen(length uint32)

func (XdrType_TransactionRefBatch) XdrMarshal

func (v XdrType_TransactionRefBatch) XdrMarshal(x XDR, name string)

func (XdrType_TransactionRefBatch) XdrMarshalN

func (v XdrType_TransactionRefBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_TransactionRefBatch) XdrPointer

func (v XdrType_TransactionRefBatch) XdrPointer() interface{}

func (XdrType_TransactionRefBatch) XdrRecurse

func (v XdrType_TransactionRefBatch) XdrRecurse(x XDR, name string)

func (XdrType_TransactionRefBatch) XdrTypeName

func (XdrType_TransactionRefBatch) XdrTypeName() string

func (XdrType_TransactionRefBatch) XdrUnwrap

func (v XdrType_TransactionRefBatch) XdrUnwrap() XdrType

func (XdrType_TransactionRefBatch) XdrValue

func (v XdrType_TransactionRefBatch) XdrValue() interface{}

type XdrType_TransactionRefPage

type XdrType_TransactionRefPage = *TransactionRefPage

type XdrType_TransactionRefPageResult

type XdrType_TransactionRefPageResult = *TransactionRefPageResult

type XdrType_TransactionStatistic

type XdrType_TransactionStatistic = *TransactionStatistic

type XdrType_TransferEvent

type XdrType_TransferEvent = *TransferEvent

type XdrType_TxEmittedEvent

type XdrType_TxEmittedEvent = *TxEmittedEvent

type XdrType_TxEventLog

type XdrType_TxEventLog = *TxEventLog

type XdrType_TxEventLogBatch

type XdrType_TxEventLogBatch struct {
	// contains filtered or unexported fields
}

func (XdrType_TxEventLogBatch) GetVecLen

func (v XdrType_TxEventLogBatch) GetVecLen() uint32

func (XdrType_TxEventLogBatch) SetVecLen

func (v XdrType_TxEventLogBatch) SetVecLen(length uint32)

func (XdrType_TxEventLogBatch) XdrBound

func (XdrType_TxEventLogBatch) XdrBound() uint32

func (XdrType_TxEventLogBatch) XdrCheckLen

func (XdrType_TxEventLogBatch) XdrCheckLen(length uint32)

func (XdrType_TxEventLogBatch) XdrMarshal

func (v XdrType_TxEventLogBatch) XdrMarshal(x XDR, name string)

func (XdrType_TxEventLogBatch) XdrMarshalN

func (v XdrType_TxEventLogBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_TxEventLogBatch) XdrPointer

func (v XdrType_TxEventLogBatch) XdrPointer() interface{}

func (XdrType_TxEventLogBatch) XdrRecurse

func (v XdrType_TxEventLogBatch) XdrRecurse(x XDR, name string)

func (XdrType_TxEventLogBatch) XdrTypeName

func (XdrType_TxEventLogBatch) XdrTypeName() string

func (XdrType_TxEventLogBatch) XdrUnwrap

func (v XdrType_TxEventLogBatch) XdrUnwrap() XdrType

func (XdrType_TxEventLogBatch) XdrValue

func (v XdrType_TxEventLogBatch) XdrValue() interface{}

type XdrType_TxFailureCause

type XdrType_TxFailureCause = *TxFailureCause

type XdrType_TxFailureDiagnostic

type XdrType_TxFailureDiagnostic = *TxFailureDiagnostic

type XdrType_TxFailureKind

type XdrType_TxFailureKind = *TxFailureKind

type XdrType_TxInfo

type XdrType_TxInfo = *TxInfo

type XdrType_TxInfoBatch

type XdrType_TxInfoBatch struct {
	// contains filtered or unexported fields
}

func XDR_TxInfoBatch

func XDR_TxInfoBatch(v *TxInfoBatch) XdrType_TxInfoBatch

func (XdrType_TxInfoBatch) GetVecLen

func (v XdrType_TxInfoBatch) GetVecLen() uint32

func (XdrType_TxInfoBatch) SetVecLen

func (v XdrType_TxInfoBatch) SetVecLen(length uint32)

func (XdrType_TxInfoBatch) XdrBound

func (XdrType_TxInfoBatch) XdrBound() uint32

func (XdrType_TxInfoBatch) XdrCheckLen

func (XdrType_TxInfoBatch) XdrCheckLen(length uint32)

func (XdrType_TxInfoBatch) XdrMarshal

func (v XdrType_TxInfoBatch) XdrMarshal(x XDR, name string)

func (XdrType_TxInfoBatch) XdrMarshalN

func (v XdrType_TxInfoBatch) XdrMarshalN(x XDR, name string, n uint32)

func (XdrType_TxInfoBatch) XdrPointer

func (v XdrType_TxInfoBatch) XdrPointer() interface{}

func (XdrType_TxInfoBatch) XdrRecurse

func (v XdrType_TxInfoBatch) XdrRecurse(x XDR, name string)

func (XdrType_TxInfoBatch) XdrTypeName

func (XdrType_TxInfoBatch) XdrTypeName() string

func (XdrType_TxInfoBatch) XdrUnwrap

func (v XdrType_TxInfoBatch) XdrUnwrap() XdrType

func (XdrType_TxInfoBatch) XdrValue

func (v XdrType_TxInfoBatch) XdrValue() interface{}

type XdrType_TxInfoOutcome

type XdrType_TxInfoOutcome = *TxInfoOutcome

type XdrType_TxInfoResult

type XdrType_TxInfoResult = *TxInfoResult

type XdrType_TxsHash

type XdrType_TxsHash struct {
	XdrType_SHA256Hash
}

func XDR_TxsHash

func XDR_TxsHash(v *TxsHash) XdrType_TxsHash

func (XdrType_TxsHash) GetByteSlice

func (v XdrType_TxsHash) GetByteSlice() []byte

func (XdrType_TxsHash) Scan

func (v XdrType_TxsHash) Scan(ss fmt.ScanState, c rune) error

func (XdrType_TxsHash) String

func (v XdrType_TxsHash) String() string

func (XdrType_TxsHash) XdrArraySize

func (XdrType_TxsHash) XdrArraySize() uint32

func (XdrType_TxsHash) XdrMarshal

func (v XdrType_TxsHash) XdrMarshal(x XDR, name string)

func (XdrType_TxsHash) XdrPointer

func (v XdrType_TxsHash) XdrPointer() interface{}

func (XdrType_TxsHash) XdrTypeName

func (XdrType_TxsHash) XdrTypeName() string

func (XdrType_TxsHash) XdrUnwrap

func (v XdrType_TxsHash) XdrUnwrap() XdrType

func (XdrType_TxsHash) XdrValue

func (v XdrType_TxsHash) XdrValue() interface{}

type XdrType_U256Le

type XdrType_U256Le struct {
	// contains filtered or unexported fields
}

func XDR_U256Le

func XDR_U256Le(v *U256Le) XdrType_U256Le

func (XdrType_U256Le) GetByteSlice

func (v XdrType_U256Le) GetByteSlice() []byte

func (XdrType_U256Le) Scan

func (v XdrType_U256Le) Scan(ss fmt.ScanState, c rune) error

func (XdrType_U256Le) String

func (v XdrType_U256Le) String() string

func (XdrType_U256Le) XdrArraySize

func (XdrType_U256Le) XdrArraySize() uint32

func (XdrType_U256Le) XdrMarshal

func (v XdrType_U256Le) XdrMarshal(x XDR, name string)

func (XdrType_U256Le) XdrPointer

func (v XdrType_U256Le) XdrPointer() interface{}

func (XdrType_U256Le) XdrTypeName

func (XdrType_U256Le) XdrTypeName() string

func (XdrType_U256Le) XdrUnwrap

func (v XdrType_U256Le) XdrUnwrap() XdrType

func (XdrType_U256Le) XdrValue

func (v XdrType_U256Le) XdrValue() interface{}

type XdrType_UInt128Parts

type XdrType_UInt128Parts = *UInt128Parts

type XdrType_UInt256Parts

type XdrType_UInt256Parts = *UInt256Parts

type XdrType_UPID

type XdrType_UPID struct {
	// contains filtered or unexported fields
}

func XDR_UPID

func XDR_UPID(v *UPID) XdrType_UPID

func (XdrType_UPID) GetByteSlice

func (v XdrType_UPID) GetByteSlice() []byte

func (XdrType_UPID) Scan

func (v XdrType_UPID) Scan(ss fmt.ScanState, c rune) error

func (XdrType_UPID) String

func (v XdrType_UPID) String() string

func (XdrType_UPID) XdrArraySize

func (XdrType_UPID) XdrArraySize() uint32

func (XdrType_UPID) XdrMarshal

func (v XdrType_UPID) XdrMarshal(x XDR, name string)

func (XdrType_UPID) XdrPointer

func (v XdrType_UPID) XdrPointer() interface{}

func (XdrType_UPID) XdrTypeName

func (XdrType_UPID) XdrTypeName() string

func (XdrType_UPID) XdrUnwrap

func (v XdrType_UPID) XdrUnwrap() XdrType

func (XdrType_UPID) XdrValue

func (v XdrType_UPID) XdrValue() interface{}

type XdrType_Uint32

type XdrType_Uint32 struct {
	XdrType_uint32
}

func XDR_Uint32

func XDR_Uint32(v *Uint32) XdrType_Uint32

func (XdrType_Uint32) XdrTypeName

func (XdrType_Uint32) XdrTypeName() string

func (XdrType_Uint32) XdrUnwrap

func (v XdrType_Uint32) XdrUnwrap() XdrType

type XdrType_Uint64

type XdrType_Uint64 struct {
	XdrType_uint64
}

func XDR_Uint64

func XDR_Uint64(v *Uint64) XdrType_Uint64

func (XdrType_Uint64) XdrTypeName

func (XdrType_Uint64) XdrTypeName() string

func (XdrType_Uint64) XdrUnwrap

func (v XdrType_Uint64) XdrUnwrap() XdrType

type XdrType_Uint128_xdr

type XdrType_Uint128_xdr = *Uint128_xdr

type XdrType_Uniquifier

type XdrType_Uniquifier = *Uniquifier

type XdrType_Upgrade

type XdrType_Upgrade struct {
	XdrVecOpaque
}

func XDR_Upgrade

func XDR_Upgrade(v *Upgrade) XdrType_Upgrade

func (XdrType_Upgrade) XdrTypeName

func (XdrType_Upgrade) XdrTypeName() string

func (XdrType_Upgrade) XdrUnwrap

func (v XdrType_Upgrade) XdrUnwrap() XdrType

type XdrType_ValidatorConfig

type XdrType_ValidatorConfig = *ValidatorConfig

type XdrType_ValidatorID

type XdrType_ValidatorID struct {
	// contains filtered or unexported fields
}

func XDR_ValidatorID

func XDR_ValidatorID(v *ValidatorID) XdrType_ValidatorID

func (XdrType_ValidatorID) GetByteSlice

func (v XdrType_ValidatorID) GetByteSlice() []byte

func (XdrType_ValidatorID) Scan

func (v XdrType_ValidatorID) Scan(ss fmt.ScanState, c rune) error

func (XdrType_ValidatorID) String

func (v XdrType_ValidatorID) String() string

func (XdrType_ValidatorID) XdrArraySize

func (XdrType_ValidatorID) XdrArraySize() uint32

func (XdrType_ValidatorID) XdrMarshal

func (v XdrType_ValidatorID) XdrMarshal(x XDR, name string)

func (XdrType_ValidatorID) XdrPointer

func (v XdrType_ValidatorID) XdrPointer() interface{}

func (XdrType_ValidatorID) XdrTypeName

func (XdrType_ValidatorID) XdrTypeName() string

func (XdrType_ValidatorID) XdrUnwrap

func (v XdrType_ValidatorID) XdrUnwrap() XdrType

func (XdrType_ValidatorID) XdrValue

func (v XdrType_ValidatorID) XdrValue() interface{}

type XdrType_ValidatorInfoSnapshot

type XdrType_ValidatorInfoSnapshot = *ValidatorInfoSnapshot

type XdrType_ValidatorPrivateInfo

type XdrType_ValidatorPrivateInfo = *ValidatorPrivateInfo

type XdrType_ValidatorPublicInfo

type XdrType_ValidatorPublicInfo = *ValidatorPublicInfo

type XdrType_ValidatorPublicKey

type XdrType_ValidatorPublicKey struct {
	XdrType_PublicKey
}

func (XdrType_ValidatorPublicKey) XdrTypeName

func (XdrType_ValidatorPublicKey) XdrTypeName() string

func (XdrType_ValidatorPublicKey) XdrUnwrap

func (v XdrType_ValidatorPublicKey) XdrUnwrap() XdrType

type XdrType_ValidatorSecretKey

type XdrType_ValidatorSecretKey struct {
	XdrType_SecretKey
}

func (XdrType_ValidatorSecretKey) XdrTypeName

func (XdrType_ValidatorSecretKey) XdrTypeName() string

func (XdrType_ValidatorSecretKey) XdrUnwrap

func (v XdrType_ValidatorSecretKey) XdrUnwrap() XdrType

type XdrType_ViewingSnapshot

type XdrType_ViewingSnapshot = *ViewingSnapshot

type XdrType_WalletAck

type XdrType_WalletAck = *WalletAck

type XdrType_WalletSubmit

type XdrType_WalletSubmit = *WalletSubmit

type XdrType_WalletSubmittedTransactionID

type XdrType_WalletSubmittedTransactionID struct {
	// contains filtered or unexported fields
}

func (XdrType_WalletSubmittedTransactionID) GetByteSlice

func (v XdrType_WalletSubmittedTransactionID) GetByteSlice() []byte

func (XdrType_WalletSubmittedTransactionID) Scan

func (v XdrType_WalletSubmittedTransactionID) Scan(ss fmt.ScanState, c rune) error

func (XdrType_WalletSubmittedTransactionID) String

func (v XdrType_WalletSubmittedTransactionID) String() string

func (XdrType_WalletSubmittedTransactionID) XdrArraySize

func (XdrType_WalletSubmittedTransactionID) XdrArraySize() uint32

func (XdrType_WalletSubmittedTransactionID) XdrMarshal

func (v XdrType_WalletSubmittedTransactionID) XdrMarshal(x XDR, name string)

func (XdrType_WalletSubmittedTransactionID) XdrPointer

func (v XdrType_WalletSubmittedTransactionID) XdrPointer() interface{}

func (XdrType_WalletSubmittedTransactionID) XdrTypeName

func (XdrType_WalletSubmittedTransactionID) XdrUnwrap

func (v XdrType_WalletSubmittedTransactionID) XdrUnwrap() XdrType

func (XdrType_WalletSubmittedTransactionID) XdrValue

func (v XdrType_WalletSubmittedTransactionID) XdrValue() interface{}

type XdrType_WalletTransactionAck

type XdrType_WalletTransactionAck = *WalletTransactionAck

type XdrType_WalletTransactionAckType

type XdrType_WalletTransactionAckType = *WalletTransactionAckType

type XdrType_Weight

type XdrType_Weight struct {
	XdrType_uint32
}

func XDR_Weight

func XDR_Weight(v *Weight) XdrType_Weight

func (XdrType_Weight) XdrTypeName

func (XdrType_Weight) XdrTypeName() string

func (XdrType_Weight) XdrUnwrap

func (v XdrType_Weight) XdrUnwrap() XdrType

type XdrType_WireStorageItem

type XdrType_WireStorageItem = *WireStorageItem

type XdrType_XdrAnon_AuthClaim_Source_address_claim

type XdrType_XdrAnon_AuthClaim_Source_address_claim = *XdrAnon_AuthClaim_Source_address_claim

type XdrType_XdrAnon_ContractEvent_Body

type XdrType_XdrAnon_ContractEvent_Body = *XdrAnon_ContractEvent_Body

type XdrType_XdrAnon_ContractEvent_Body_V0

type XdrType_XdrAnon_ContractEvent_Body_V0 = *XdrAnon_ContractEvent_Body_V0

type XdrType_XdrAnon_SCPStatement_Pledges

type XdrType_XdrAnon_SCPStatement_Pledges = *XdrAnon_SCPStatement_Pledges

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL