package
4.0.4+incompatible
Repository: https://github.com/deso-protocol/core.git
Documentation: pkg.go.dev
# Functions
Decode filled message key of length MaxAccessKeyNameCharacters array.
No description provided by the author
Append DeSo Encoder Metadata bytes to BlockNode bytes.
Append DeSo Encoder Metadata bytes to MsgDeSoBlock bytes.
AggregateQuorumCertificate struct <-> consensus.AggregateQuorumCertificate interface translation.
AssembleAccessBytesWithMetamaskStrings constructs Access Bytes Encoding 2.0.
AssertDependencyStructFieldNumbers checks if a struct has a specified number of fields, otherwise it panics.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Exp returns a big.Float representation of exp(z).
No description provided by the author
Log returns the natural logarithm of x.
Log2 returns the binary logarithm of x.
Pow returns a big.Float representation of z**w.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CalcBlockRewardNanos computes the block reward for a given block height.
No description provided by the author
CalcNextDifficultyTarget computes the difficulty target expected of the next block.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Check whether the deposits being used to construct this transaction have RBF enabled.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
When registering as a validator, there are two keys that are involved:
- transactorPublicKey: This is the key that is used to sign transactions on the network.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DBDeleteAllStateRecords is an auxiliary function that is used to clean up the state before starting hyper sync.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Note this deletes the follow for the follower *and* followed since a mapping should exist for each.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Note this deletes the like for the user *and* the liked post since a mapping should exist for each.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Note this deletes the message for the sender *and* receiver since a mapping should exist for each.
No description provided by the author
No description provided by the author
No description provided by the author
Note this deletes the message for the sender *and* receiver since a mapping should exist for each.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Note this deletes the repost for the user *and* the reposted post since a mapping should exist for each.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DBDeleteWithTxn is a wrapper function around BadgerDB delete function.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DBGetAccessGroupExistenceByAccessGroupIdWithTxn checks whether an access group exists in the db using some optimized db queries.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Specifying minTimestampNanos gives you all posts after minTimestampNanos Pass minTimestampNanos = 0 && maxTimestampNanos = 0 if you want all posts Setting maxTimestampNanos = 0, will default maxTimestampNanos to the current time.
DBGetAllPostsByTstamp returns all the posts in the db with the newest posts first.
DBGetAllProfilesByCoinValue returns all the profiles in the db with the highest coin values first.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DbGetBalanceEntriesHodlingYou fetches the BalanceEntries that hold the pkid passed in.
DbGetBalanceEntriesYouHold fetches the BalanceEntries that the passed in pkid holds.
DbGetBalanceEntry returns a balance entry from the database.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DBGetCommentPostHashesForParentStakeID returns all the comments, which are indexed by their stake ID rather than by their timestamp.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This function returns a list of DiamondEntrys given by giverPKID to receiverPKID that contain post hashes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DBGetGroupMemberForAccessGroupWithTxn for a given group.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Get NFT bid Entries *from the DB*.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DBGetNFTEntriesForPKID gets NFT Entries *from the DB*.
DBGetNFTEntriesForPostHash gets NFT Entries *from the DB*.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DBGetPaginatedAccessGroupMembersFromEnumerationIndexWithTxn for a given group will return a list of group members, with public keys lexicographically GREATER than startingAccessGroupMemberPublicKeyBytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
startPrefix specifies a point in the DB at which the iteration should start.
No description provided by the author
DBGetPaginatedProfilesByDeSoLocked returns up to 'numToFetch' profiles from the db.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This function returns a map of PKIDs that gave diamonds to a list of DiamondEntrys that contain post hashes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DbGetTxindexFullTransactionByTxID TODO: This makes lookups inefficient when blocks are large.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DbGetUtxosForPubKey finds the UtxoEntry's corresponding to the public key passed in.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DBGetWithTxn is a wrapper function around the BadgerDB get function.
No description provided by the author
No description provided by the author
Check to see if the badger db has already been initialized with the performance options.
DBIteratePrefixKeys fetches a chunk of records from the provided db at a provided prefix, and beginning with the provided startKey.
DBIteratePrefixKeysWithTxn performs the same operation as DBIteratePrefixKeys but with a provided transaction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TODO: are we sure we want to pass a pointer to an array here?.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DBPutAccessGroupMemberEnumerationIndexWithTxn puts a mapping from a group member to a group in the db.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Note that this adds a mapping for the follower *and* the pub key being followed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Note that this adds a mapping for the user *and* the liked post.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Note that this adds a mapping for the sender *and* the recipient.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Note that this adds a mapping for the user *and* the reposted post.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DBSetWithTxn is a wrapper around BadgerDB Set function which allows us to add computation prior to DB writes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
In order to optimize the flush, we want to only write entries to the db that have changed.
In order to optimize the flush, we want to only write entries to the db that have changed.
In order to optimize the flush, we want to only write entries to the db that have changed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DecodeExtraData is used in consensus so don't change it.
DecodeFromBytes decodes a DeSoEncoder type from bytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DecodeOptionalBLSSignature is defined explicitly as a bijective decoding function for EncodeOptionalBLSSignature above.
No description provided by the author
No description provided by the author
DecodeStateKey decodes a state key into a DeSoEncoder type.
Decode a map[string]uint64 from bytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Diff returns a diff of both values as long as both are of the same type and are a struct, map, slice, array or string.
No description provided by the author
EmptyDBEntry indicates an empty DB entry.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EncodeExtraData is used in consensus so don't change it.
No description provided by the author
No description provided by the author
EncodeKeyValue encodes DB key and value similarly to how DER signatures are encoded.
No description provided by the author
No description provided by the author
EncodeOptionalBLSSignature is defined explicitly as a wrapper encoding function that has known behavior for nil values.
No description provided by the author
No description provided by the author
No description provided by the author
Encode a map[string]uint64 to bytes.
No description provided by the author
EncodeToBytes encodes a DeSoEncoder type to bytes, including encoder metadata such as existence byte, the encoder type, and the current blockHeight.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The number of hashing attempts in expectation it would take to produce the hash passed in.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FindLowestHash Mine for a given number of iterations and return the lowest hash value found and its associated nonce.
No description provided by the author
FixedWidthEncodeUint256 guarantees fixed-width encoding which is useful in BadgerDB keys.
No description provided by the author
No description provided by the author
Given a value v that is a scaled uint256 with the provided scaling factor, this prints the decimal representation of v as a string Ex: if v = 12345 and scalingFactor = 100, then this outputs 123.45.
The frontend passes in the apiData.
No description provided by the author
GenerateSharedSecret generates a shared secret based on a private key and a public key using Diffie-Hellman key exchange (ECDH) (RFC 4753).
No description provided by the author
GetAugmentedUniversalViewWithAdditionalTransactions is meant as a helper function for backend APIs to better construct atomic transactions while maintaining various transactional sanity checks.
GetBadgerDbPath returns the path where we store the badgerdb data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetBlockTipHeight fetches the current block tip height from the database.
No description provided by the author
At a particular diamond level, a fixed amount of DeSo is converted into creator coins and then sent to a user.
GetDataDir gets the user data directory where we store files in a cross-platform way.
Get filepath for file indicating which badger options were used to initialize the db.
Each diamond level is worth a fixed amount of DeSo.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetMigrationVersion can be returned in GetVersionByte when implementing DeSoEncoders.
No description provided by the author
No description provided by the author
No description provided by the author
GetPrefixes loads all prefix_id byte array values into a DBPrefixes struct, and returns it.
No description provided by the author
No description provided by the author
No description provided by the author
GetSingleBalanceEntryFromPublicKeys fetches a single balance entry of a holder's creator or DAO coin.
No description provided by the author
No description provided by the author
No description provided by the author
GetStatePrefixes() creates a DBStatePrefixes object from the DBPrefixes struct and returns it.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InitDbWithGenesisBlock initializes the database to contain only the genesis block.
allowedHost is expected to be of the form "bitclout.com" See comments in this function for a description of these params
Note: FeaturePolicy is apparently renamed to PermissionsPolicy.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsByteArrayValidPublicKey is a general functionality that is used to verify if a byte array is a valid secp256k1 public key.
IsControlMessage is used by functions to determine whether a particular message is a control message.
IsDerivedSignature checks if a transaction was signed using a derived key.
No description provided by the author
No description provided by the author
IsRuleError returns true if the error is any of the errors specified above.
Return true if postEntry is a vanilla repost.
KeyValueToDBEntry is used to instantiate db entry from a <key, value> pair.
No description provided by the author
Decrypt decrypts data that was encrypted using the Encrypt function.
Encrypt encrypts data for the target public key using AES-256-CBC.
No description provided by the author
No description provided by the author
LogSelect is a helpful utility when developing or debugging queries.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This function attempts to make the file path provided.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Decode filled message key of length MaxMessagingKeyNameCharacters array.
MigrationTriggered is a suggested conditional check to be called within RawEncodeWithoutMetadata and RawDecodeWithoutMetadata when defining the encoding migrations for DeSoEncoders.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewBlockchain returns a new blockchain object.
No description provided by the author
NewBlockNode is a helper function to create a BlockNode when running PoW consensus.
NewBLSKeystore creates a new BLSKeystore from either a seed phrase or a seed hex.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Create a new pool with no transactions in it.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Encode message key from varying length to a MaxAccessKeyNameCharacters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewPeer creates a new Peer object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewSafeUtxoView create a new instance of a SafeUtxoView using the input UtxoView as a template.
NewServer initializes all of the internal data structures.
No description provided by the author
NewSnapshot creates a new snapshot instance.
No description provided by the author
No description provided by the author
NewStateChangeSyncer initializes necessary log files and returns a StateChangeSyncer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseValidatorDomain expects a domain string in the format "host:port" and returns the host and port.
PerformanceBadgerOptions are performance geared BadgerDB options that use much more RAM than the default settings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PPrintJSON prints a JSON object but pretty.
No description provided by the author
ProofOfWorkHash is a hash function designed for computing DeSo block hashes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PutUvarint encodes a uint64 into buf and returns the number of bytes written.
PutVarint encodes an int64 into buf and returns the number of bytes written.
No description provided by the author
RandInt32 returns a random 32-bit int.
RandInt64 returns a random 64-bit int.
RandomBytes returns a []byte with random values.
RandomBytesHex returns a hex string representing numBytes of entropy.
No description provided by the author
No description provided by the author
ReadBool reads a boolean value from a file.
ReadMessage takes an io.Reader and de-serializes a single message from it.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This function deserializes the original pre-Balance Model transaction fields from the passed buffer and then stops reading.
This function takes an io.Reader and attempts to read the transaction fields that were added after the BalanceModelBlockHeight, if the reader has not reached EOF.
No description provided by the author
ReadUvarint reads an encoded unsigned integer from r and returns it as a uint64.
ReadVarint reads an encoded signed integer from r and returns it as an int64.
No description provided by the author
No description provided by the author
SafeMakeMapWithCapacity catches a panic in the make function and returns and error if the make function panics.
SafeMakeRecover recovers from a panic and sets the value of error parameter.
SafeMakeSliceWithLength catches a panic in the make function and returns and error if the make function panics.
SafeMakeSliceWithLengthAndCapacity catches a panic in the make function and returns and error if the make function panics.
No description provided by the author
No description provided by the author
SaveBoolToFile saves a boolean value to a file.
ScaleFloatFormatStringToUint256 The most accurate way we've found to convert a decimal into a "scaled" value is to parse a string representation into a "whole" bigint and a "decimal" bigint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SignRecoverable computes a signature that adds a publicKeyRecoveryID to the first byte of a standard DER signature.
SignTransactionWithDerivedKey the signature contains solution iteration, which allows us to recover signer public key from the signature.
No description provided by the author
SplitVestedLockedBalanceEntry is used for splitting a vested locked balance entry into two pieces.
No description provided by the author
No description provided by the author
StatePrefixToDeSoEncoder maps each state prefix to a DeSoEncoder type that is stored under that prefix.
No description provided by the author
TextAndHash corresponds to the Eth's accounts/account.go TextAndHash.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Uvarint decodes a uint64 from buf and returns that value and the number of bytes read (> 0).
ValidateAccessGroupPublicKeyAndName validates that the provided access group public key and name are correctly formatted.
ValidateDeSoTxnEncoding validates that the transaction encoding works as expected.
ValidateDeSoTxnFormatBalanceModel validates that the transaction is correctly formatted according to the balance model.
ValidateDeSoTxnHash validates that the transaction hash is correctly computed.
ValidateDeSoTxnMetadata validates that the transaction metadata is correctly formatted.
ValidateDeSoTxnMinimalNetworkFee validates that the transaction is above the network's minimal fee.
ValidateDeSoTxnPublicKey validates that the transaction public key is correctly formatted.
ValidateDeSoTxnSanityBalanceModel performs a variety of sanity checks to ensure transaction is correctly formatted under the balance model.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VariableEncodeUint256 is useful for space-efficient encoding of uint256s.
Varint decodes an int64 from buf and returns that value and the number of bytes read (> 0).
VerifyEthPersonalSignature checks the signature assuming it follows Ethereum's personal_sign standard.
No description provided by the author
WriteMessage takes an io.Writer and serializes and writes the specified message to it.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AddrRelayIntervalSeconds is the amount of time we wait before relaying each batch of addresses we've received recently.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AssociationScope: Any || Scoped.
No description provided by the author
AssociationClass: User || Post.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AssociationOperation: Any || Create || Delete.
No description provided by the author
No description provided by the author
Atomic Transaction Keys.
No description provided by the author
No description provided by the author
BadgerDbFolder is the subfolder in the config dir where we store the badgerdb database by default.
No description provided by the author
Defines keys that may exist in a transaction's ExtraData map.
No description provided by the author
No description provided by the author
Defines keys that may exist in a transaction's ExtraData map.
No description provided by the author
No description provided by the author
No description provided by the author
Constants that was removed from newer version of Btcec.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Key in transaction's extra data map.
No description provided by the author
No description provided by the author
No description provided by the author
Defines keys that may exist in a transaction's ExtraData map.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Key in transaction's extra data map.
ConfigDirAppName is the folder where we keep user data.
ConfigDirVendorName is the enclosing folder for user data.
No description provided by the author
No description provided by the author
ControlMessagesStart is used to indicate the ID value at which control messages start.
No description provided by the author
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
No description provided by the author
No description provided by the author
No description provided by the author
Defines keys that may exist in a transaction's ExtraData map.
TODO: rename this "CurrentHeaderVersion" to "LatestProofOfWorkHeaderVersion".
FillOrKill: fulfill whatever you can immediately then cancel the entire order if it is unable to be completely fulfilled.
GoodTillCancelled: fulfill whatever you can immediately then store whatever is remaining of this order in the database.
ImmediateOrCancel: fulfill whatever you can immediately then cancel whatever is remaining of this order.
We intentionally skip zero as otherwise that would be the default value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
1M.
No description provided by the author
No description provided by the author
No description provided by the author
This string is added as a subdirectory of --data-dir flag that contains everything our node is doing.
No description provided by the author
DefaultMaxNonceExpirationBlockHeightOffset - default value to which the MaxNonceExpirationBlockHeightOffset is set to before specified by ParamUpdater.
No description provided by the author
Default value for snapshot epoch period for PoS.
No description provided by the author
No description provided by the author
Defines keys that may exist in a transaction's ExtraData map.
Key in transaction's extra data map containing the derived key used in signing the txn.
Key in transaction's extra data map.
Defines keys that may exist in a transaction's ExtraData map.
No description provided by the author
No description provided by the author
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
No description provided by the author
No description provided by the author
Snapshot constants.
Defines keys that may exist in a transaction's ExtraData map.
EnableTimer.
No description provided by the author
Txindex encoder types.
Txindex encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Txindex encoder types.
Txindex encoder types.
Block view encoder types.
Txindex encoder types.
Block view encoder types.
Txindex encoder types.
Txindex encoder types.
EncoderTypeBlock represents a block in the blockchain, including all transactions in said block.
Block view encoder types.
EncoderTypeBlockNode represents a block node in the blockchain.
EncoderTypeBLSPublicKeyPKIDPairEntry represents a BLS public key <> PKID mapping.
Txindex encoder types.
No description provided by the author
Block view encoder types.
Txindex encoder types.
Txindex encoder types.
Txindex encoder types.
No description provided by the author
Txindex encoder types.
No description provided by the author
Txindex encoder types.
Txindex encoder types.
No description provided by the author
Txindex encoder types.
Txindex encoder types.
Block view encoder types.
No description provided by the author
Txindex encoder types.
No description provided by the author
No description provided by the author
Txindex encoder types.
Txindex encoder types.
No description provided by the author
Txindex encoder types.
No description provided by the author
Txindex encoder types.
Block view encoder types.
EncoderTypeDeSoBalanceEntry represents a balance of DeSo for a particular public key.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
EncoderTypeEndBlockView encoder type should be at the end and is used for automated tests.
EncoderTypeEndTxIndex encoder type should be at the end and is used for automated tests.
Block view encoder types.
Block view encoder types.
Txindex encoder types.
EncoderTypeFollowEntry represents a follow relationship between two pkids.
Txindex encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
No description provided by the author
Txindex encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Txindex encoder types.
Block view encoder types.
Block view encoder types.
No description provided by the author
Txindex encoder types.
Block view encoder types.
Txindex encoder types.
Txindex encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Txindex encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Txindex encoder types.
Block view encoder types.
Block view encoder types.
No description provided by the author
Txindex encoder types.
EncoderTypeStateChangeEntry represents a state change to a DeSo encoder entry.
No description provided by the author
Txindex encoder types.
No description provided by the author
Txindex encoder types.
Txindex encoder types.
Block view encoder types.
EncoderTypeTxn represents a transaction in the blockchain.
No description provided by the author
Txindex encoder types.
Txindex encoder types.
No description provided by the author
Txindex encoder types.
Txindex encoder types.
Txindex encoder types.
No description provided by the author
Txindex encoder types.
Txindex encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Block view encoder types.
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
No description provided by the author
Defines keys that may exist in a transaction's ExtraData map.
GetSnapshotTimeout is used in Peer when we fetch a snapshot chunk, and we need to retry.
No description provided by the author
10K.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This is the header version that the blockchain started with.
This version made several changes to the previous header encoding format: - The Nonce field was expanded to 64 bits - Another ExtraNonce field was added to provide *another* 64 bits of entropy, for a total of 128 bits of entropy in the header that miners can twiddle.
This version introduces the transition from Proof of Work to Proof of Stake blocks.
Default value for limiting the number of items stored in the OperationChannel.
These constants define the various supported inventory vector types.
These constants define the various supported inventory vector types.
Key in transaction's extra data map that freezes a post rendering it immutable.
Key in transaction's extra map -- The presence of this key indicates that this post is a repost with a quote.
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Define min / max possible values for GlobalParams.
TODO: Are these fields needed? Access group enumeration max recursion depth.
MaxAddrsPerAddrMsg is the maximum number of addresses we allow in a single addr message from a peer.
Constants for UserAssociation and PostAssociation txn types.
No description provided by the author
1e4.
MaxBlockIndexNodes needs to allow the block index to grow large enough to accommodate multiple forks of material length while allowing us to avoid an out-of-memory issue due to a "disk-fill" attack.
10s TODO: Verify this is a sane value.
MaxBlocksInFlight is the maximum number of blocks that can be requested from a peer.
After PoS, we have blocks every second rather than every five minutes, and blocks are smaller.
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
Define min / max possible values for GlobalParams.
MaxCreateProfileFeeNanos - Maximum value to which the create profile fee can be set.
100% commission.
MaxDeSoInputSizeBytes is the size required to encode an DeSoInput.
MaxDeSoOutputSizeBytes is the size required to encode an DeSoOutput.
Dm and group chat message entries paginated fetch max recursion depth.
Define min / max possible values for GlobalParams.
Defines keys that may exist in a transaction's ExtraData map.
16MB TODO: Verify this is a sane value.
Define min / max possible values for GlobalParams.
16MB TODO: Verify this is a sane value.
1GB.
Define min / max possible values for GlobalParams.
Used for sanity checks for now.
MaxNetworkFeeNanosPerKBValue - Maximum value to which the maximum network fee per KB can be set.
Defines keys that may exist in a transaction's ExtraData map.
MaxOrphansInMemory is the maximum number of orphan blocks that we're willing to keep in memory.
No description provided by the author
16MB TODO: Verify this is a sane value.
60s TODO: Verify this is a sane value.
250MB.
Defines keys that may exist in a transaction's ExtraData map.
The maximum number of unconnected transactions the pool will store.
The maximum number of bytes a single unconnected transaction can take up.
No description provided by the author
No description provided by the author
No description provided by the author
MaxVarintLenN is the maximum length of a varint-encoded N-bit integer.
MaxVarintLenN is the maximum length of a varint-encoded N-bit integer.
MaxVarintLenN is the maximum length of a varint-encoded N-bit integer.
Defines keys that may exist in a transaction's ExtraData map.
Mempool.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
No description provided by the author
No description provided by the author
Defines keys that may exist in a transaction's ExtraData map.
MessagesToFetchPerCall is used to limit the number of messages to fetch when getting a user's inbox.
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
Used to distinguish v3 messages from previous iterations.
V3 Group Chat Messages ExtraData Key.
Messaging keys.
MetadataRetryCount is used to retry updating data in badger just in case.
Access group key constants.
1s TODO: Verify this is a sane value.
Min/MaxCreateNFTFeeNanos - Min/max value to which the create NFT fee can be set.
MinCreateProfileFeeNanos - Minimum value to which the create profile fee can be set.
MinFeeBucketSize is the minimum size of a fee bucket that we'll allow global params to be configured to compute.
1kb TODO: Verify this is a sane value.
Min/MaxMaxCopiesPerNFTNanos - Min/max value to which the create NFT fee can be set.
1kb TODO: Verify this is a sane value.
Messaging key constants.
When exchanging Bitcoin for DeSo, we don't allow transactions to create less than this amount.
Defines keys that may exist in a transaction's ExtraData map.
MinNetworkFeeNanosPerKBValue - Minimum value to which the minimum network fee per KB can be set.
1kb TODO: Verify this is a sane value.
No description provided by the author
No description provided by the author
1s TODO: Verify this is a sane value.
The minimum and maximum Bitcoin prices, used as a sanity-check.
MsgTypeAddr is used by peers to share addresses of nodes they're aware about with other peers.
Deprecated.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MsgTypeGetAddr is used to solicit Addr messages from peers.
No description provided by the author
MsgTypeGetHeaders is used to fetch headers from a peer.
MsgTypeGetSnapshot is used to retrieve state from peers.
No description provided by the author
No description provided by the author
MsgTypeHeaderBundle contains headers from a peer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MsgTypeTransactionBundle contains transactions from a peer.
MsgTypeTransactionBundleV2 contains transactions after the balance model block height from a peer.
No description provided by the author
No description provided by the author
No description provided by the author
Proof of stake vote and timeout messages.
Sent after a peer has both sent its version message and received its peer's version message and completed the version negotiation.
The first message a peer sends.
No description provided by the author
No description provided by the author
Time constants.
365 days * 24 hours * 60 minutes * 60 seconds * 1e9 nanoseconds.
No description provided by the author
No description provided by the author
No description provided by the author
The different network types.
Message Operations.
No description provided by the author
Message Types.
No description provided by the author
Defines keys that may exist in a transaction's ExtraData map.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Key in transaction's extra data map.
Note that "any" forces the node to be archival in order to remain backwards-compatible with the rest of the network.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Every operation has a type that we document here.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The name of the txt file that contains whether the current Badger DB is using performance or default options.
PerformanceLogValueSize is 128 MB.
PerformanceMemTableSize is 1024 MB.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Defines keys that may exist in a transaction's ExtraData map.
No description provided by the author
ProtocolVersion0 is the first version of the DeSo protocol, running Proof of Work.
ProtocolVersion1 nodes run Proof of Work, and new node services such as rosetta, hypersync.
ProtocolVersion2 is the latest version of the DeSo protocol, running Proof of Stake.
A PKID is an ID associated with a public key.
RebroadcastNodeAddrIntervalMinutes is how often we broadcast our own address to our peers.
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Key in transaction's extra data map that points to a post that the current transaction is reposting.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Association Errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Atomic Transactions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Derived Keys.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Balance Model.
No description provided by the author
No description provided by the author
No description provided by the author
DeSo Diamonds.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EpochCompleteHook.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NFT Burns.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DAO Coin Limit Orders.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DAO Coins.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Derived Key Transaction Spending Limits.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Global Params.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Lockups.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Messages.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NFT Bids.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NFT Transfers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DAO Coin Transfer Restrictions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NFTs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
These constants are used by the DNS seed code to pick a random last seen time.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
SFArchivalNode is a flag complementary to SFHyperSync.
SFFullNodeDeprecated is deprecated, and set on all nodes by default now.
SFHyperSync is a flag used to indicate that the peer supports hyper sync.
SFPosValidator is a flag used to indicate that the peer is running a PoS validator.
100MB.
SnapshotBlockHeightPeriod is the constant height offset between individual snapshot epochs.
No description provided by the author
SnapshotOperationChecksumAdd operation is enqueued when we want to add bytes to the state checksum.
SnapshotOperationChecksumPrint is called when we want to print the state checksum.
SnapshotOperationChecksumRemove operation is enqueued when we want to remove bytes to the state checksum.
SnapshotOperationExit is used to quit the snapshot loop.
deprecated.
deprecated.
SnapshotOperationProcessChunk operation is enqueued when we receive a snapshot chunk during syncing.
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
No description provided by the author
No description provided by the author
No description provided by the author
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
The price of DeSo at the beginning.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Deprecated.
Deprecated.
Committed means that the block has been committed to the blockchain according to the Fast HotStuff commit rule.
Process means that the block is not an orphan and has been processed.
Stored means that the block has been added to the block index and stored in the DB.
Validated means that the block has passed validations and is eligible to be part of the best chain.
Validate Failed means that the block did not pass validations and will never be part of the best chain.
Headers must always be Validated or ValidateFailed.
No description provided by the author
No description provided by the author
SyncStateFullyCurrent indicates that our header chain is current and that we've fetched all the blocks corresponding to this chain.
SyncStateNeedBlocksss indicates that our header chain is current and our block chain is current but that there are headers in our main chain for which we have not yet processed blocks.
SyncStateSyncingBlocks indicates that our header chain is current but that the block chain we have is not current yet.
SyncStateSyncingHeaders indicates that our header chain is not current.
SyncStateSyncingHistoricalBlocks indicates that our node was bootstrapped using hypersync and that we're currently downloading historical blocks.
SyncStateSyncingSnapshot indicates that our header chain is current, and we're syncing state from a snapshot.
Defines keys that may exist in a transaction's ExtraData map.
Key in transaction's extra data map.
Every 1M DeSo we sell causes the price to increase by a factor of 2.
TransactionSpendingLimit.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Uint32Dec decrements a uint32 by one.
Uint64Dec decrements a uint64 by one.
UnconnectedTxnExpirationInterval is how long we wait before automatically removing an unconnected transaction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Keys for a GlobalParamUpdate transaction's extra data map.
No description provided by the author
UseridLengthBytes is the number of bytes of entropy to use for a userid.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UTXOs can come from different sources.
TODO(DELETEME): Remove the StakeReward txn type.
Defines keys that may exist in a transaction's ExtraData map.
Defines keys that may exist in a transaction's ExtraData map.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
GenesisBlock defines the genesis block used for the DeSo mainnet and testnet.
1e18.
No description provided by the author
This is the public key corresponding to the BitcoinBurnAddress on mainnet.
No description provided by the author
No description provided by the author
No description provided by the author
DeSoMainnetParams defines the DeSo parameters for the mainnet.
DeSoTestnetParams defines the DeSo parameters for the testnet.
No description provided by the author
ErrInvalidMAC occurs when Message Authentication Check (MAC) fails during decryption.
In early blocks there was a bug that allowed users to claim usernames that weren't actually available.
GenesisBlock defines the genesis block used for the DeSo mainnet and testnet.
GenesisBlock defines the genesis block used for the DeSo mainnet and testnet.
GenesisBlock defines the genesis block used for the DeSo mainnet and testnet.
GlobalDeSoParams is a global instance of DeSoParams that can be used inside nested functions, like encoders, without having to pass DeSoParams everywhere.
No description provided by the author
InitialGlobalParamsEntry to be used before ParamUpdater creates the first update.
This is used for various calculations but can be updated on the fly with a special transaction type in the event that the Bitcoin price fluctuates significantly.
No description provided by the author
No description provided by the author
No description provided by the author
"false" is used as a hack to indicate that an account should have a blue check mark.
Allow 150KB per minute in low-fee txns.
No description provided by the author
No description provided by the author
MaxBitcoinHeadersPerMsg is the maximum number of headers Bitcoin allows in a getheaders response.
MaxBlockRewardDataSizeBytes is the maximum size allowed for a BLOCK_REWARD's ExtraData field.
MaxHeadersPerMsg is the maximum numbers allowed in a GetHeaders response.
With PoS we can afford to download more headers in each batch.
No description provided by the author
No description provided by the author
No description provided by the author
Mode determines if Timer will be used by the node.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
1e38.
Defines values that may exist in a transaction's ExtraData map.
Prefixes is a static variable that contains all the parsed prefix_id values.
Profile pics are Base64 encoded plus ": ; ," used in the mime type spec.
No description provided by the author
The readOnlyUtxoView will update after the number of seconds specified here OR the number of transactions specified here, whichever comes first.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
These transactions are simply here to bootstrap the profiles on the network.
StatePrefixes is a static variable that allows us to quickly fetch state-related prefixes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AccessGroupMemberEnumerationEntry.
No description provided by the author
AccessGroupMembershipKey is used to index group memberships for a user.
AccessGroupMembersMetadata is the metadata for a transaction to update the members of an access group.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This is an aggregated BLS signature from a set of validators.
AncestralCache is an in-memory structure that helps manage concurrency between node's main db flushes and ancestral records flushes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This struct is mainly used to track a user's balance of a particular creator coin.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Add some fields in addition to the header to aid in the selection of the best chain.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BlockViewAndUtxoOps is a struct that contains a UtxoView and the UtxoOperations and a block that were used to build the UtxoView.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This struct contains all the information required to support coin buy/sell transactions on profiles.
No description provided by the author
No description provided by the author
TYPES: CoinLockupTransferTxindexMetadata.
TYPES: CoinLockupTxindexMetadata.
No description provided by the author
TYPES: CoinUnlockTxindexMetadata.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DBEntry is used to represent a database record.
No description provided by the author
DBStatePrefixes is a helper struct that stores information about state-related prefixes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeSoBalanceEntry stores the user's pkid and their corresponding DeSo balance nanos.
No description provided by the author
DeSoBodySchema Within a post, the body typically has a particular schema defined below.
No description provided by the author
DeSoMempool is the core mempool object.
No description provided by the author
No description provided by the author
No description provided by the author
DeSoNonce is a nonce that can be used to prevent replay attacks.
No description provided by the author
DeSoParams defines the full list of possible parameters for the DeSo network.
DeSoSignature is a wrapper around ECDSA signatures used primarily in the MsgDeSoTxn transaction type.
DiamondEntry stores the number of diamonds given by a sender to a post.
No description provided by the author
No description provided by the author
DmThreadEntry.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ExpectedResponse is a struct used to enforce timeouts on peers.
No description provided by the author
FeeTimeBucket is a data structure storing MempoolTx with similar fee rates.
FeeTimeIterator is an iterator over the transactions in a TransactionRegister.
FilledDAOCoinLimitOrder only exists to support understanding what orders were fulfilled when connecting a DAO Coin Limit Order Txn.
No description provided by the author
FollowEntry stores the content of a follow transaction.
No description provided by the author
No description provided by the author
No description provided by the author
Entry for a public key forbidden from signing blocks.
No description provided by the author
GetDataRequestInfo is a data structure used to keep track of which transactions we've requested from a Peer.
No description provided by the author
No description provided by the author
HandshakeMetadata stores the information received from the peer during the Version and Verack exchange.
No description provided by the author
InvVect defines an inventory vector which is used to describe data, as specified by the Type field, that a peer wants, has, or does not have to another peer.
No description provided by the author
LikeEntry stores the content of a like transaction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LockedBalanceEntry is a simple struct with different disjoint states:
(1) UnlockTimestampNanoSecs == VestingEndTimestampNanoSecs This is the unvested case.
LockedBalanceEntryKey is a very crucial struct in the design of lockup
Consider a naive utilization of LockedBalanceEntryMapKey in the context of two subsequent vested unlocks WITHOUT flushing to db in-between.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MempoolPersister is responsible for persisting transactions in the mempool to the database.
MempoolTx contains a transaction along with additional metadata like the fee and time added.
MessageEntry stores the essential content of a message transaction.
No description provided by the author
AccessGroupEntry is used to update access keys for a user, this was added in the DeSo V3 Messages protocol.
MessagingGroupKey is similar to the MessageKey, and is used to index messaging keys for a user.
MessagingGroupMember is used to store information about a group chat member.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MsgDeSoHeader definition.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NetworkManager is a structure that oversees all connections to RemoteNodes.
NewMessageEntry stores the essential content of a message transaction.
No description provided by the author
No description provided by the author
This struct defines a single bid on an NFT.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This struct defines an individual NFT owned by a PKID.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NonceTracker is a helper struct that is used to track (public key, nonce) pairs in pos mempool.
No description provided by the author
No description provided by the author
OutboundConnectionAttempt is used to store the state of an outbound connection attempt.
Peer is an object that holds all of the state for a connection to another node.
No description provided by the author
No description provided by the author
No description provided by the author
PGBalance represents PublicKeyToDeSoBalanceNanos.
PGBlock represents BlockNode and MsgDeSoHeader.
No description provided by the author
No description provided by the author
No description provided by the author
PGDAOCoinLimitOrder represents DAOCoinLimitOrderEntry.
PGDerivedKey represents DerivedKeyEntry.
No description provided by the author
No description provided by the author
PGForbiddenKey represents ForbiddenPubKeyEntry.
PGGlobalParams represents GlobalParamsEntry.
No description provided by the author
TODO: This doesn't need to be a table.
No description provided by the author
PGMetadataAcceptNFTBid represents AcceptNFTBidMetadata.
PGMetadataAcceptNFTTransfer represents AcceptNFTTransferMetadata.
No description provided by the author
No description provided by the author
No description provided by the author
PGMetadataBitcoinExchange represents BitcoinExchangeMetadata.
PGMetadataBlockReward represents BlockRewardMetadataa.
PGMetadataBurnNFT represents BurnNFTMetadata.
PGMetadataCreateNFT represents CreateNFTMetadata.
PGMetadataCreatePostAssociation represents CreatePostAssociationMetadata.
PGMetadataCreateUserAssociation represents CreateUserAssociationMetadata.
PGMetadataCreatorCoin represents CreatorCoinMetadataa.
PGMetadataCreatorCoinTransfer represents CreatorCoinTransferMetadataa.
PGMetadataDAOCoin represents DAOCoinMetadata.
PGMetadataDAOCoinLimitOrder represents DAOCoinLimitOrderMetadata.
No description provided by the author
PGMetadataDAOCoinTransfer represents DAOCoinTransferMetadata.
PGMetadataDeletePostAssociation represents DeletePostAssociationMetadata.
PGMetadataDeleteUserAssociation represents DeleteUserAssociationMetadata.
PGMetadataDerivedKey represents AuthorizeDerivedKeyMetadata.
PGMetadataFollow represents FollowMetadata.
PGMetadataLike represents LikeMetadata.
No description provided by the author
PGMetadataNFTBid represents NFTBidMetadata.
PGMetadataNFTTransfer represents NFTTransferMetadata.
PGMetadataPrivateMessage represents PrivateMessageMetadata.
PGMetadataSubmitPost represents SubmitPostMetadata.
PGMetadataSwapIdentity represents SwapIdentityMetadataa.
PGMetadataUpdateExchangeRate represents UpdateBitcoinUSDExchangeRateMetadataa.
PGMetadataUpdateNFT represents UpdateNFTMetadata.
PGMetadataUpdateProfile represents UpdateProfileMetadata.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PGNFT represents NFTEntry.
PGNFTBid represents NFTBidEntry.
No description provided by the author
No description provided by the author
PGPostAssociation represents PostAssociationEntry.
No description provided by the author
No description provided by the author
PGTransaction represents MsgDeSoTxn.
PGTransactionOutput represents DeSoOutput, DeSoInput, and UtxoEntry.
PGUserAssociation represents UserAssociationEntry.
No description provided by the author
PosBlockProducer is the new struct responsible for producing blocks in PoS.
No description provided by the author
PosMempool is used by the node to keep track of uncommitted transactions.
No description provided by the author
No description provided by the author
No description provided by the author
This struct holds info on a readers interactions (e.g.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A QuorumCertificate contains an aggregated signature from 2/3rds of the validators on the network, weighted by stake.
No description provided by the author
No description provided by the author
RemoteNode is a chain-aware wrapper around the network Peer object.
RepostEntry stores the content of a Repost transaction.
No description provided by the author
SafeUtxoView is a wrapper around a UtxoView that provides a safe way to connect transactions into a UtxoView without side effects when the connect fails.
Server is the core of the DeSo node.
ServerMessage is the core data structure processed by the Server in its main loop.
ServerReply is used to signal to outside programs that a particular ServerMessage they may have been waiting on has been processed.
Generic Set object.
SingleAddr is similar to the wire.NetAddressV2 definition from the btcd guys.
Snapshot Before explaining what a snapshot is and how to create one, it is important to understand some context on how snapshots came about, and therefore why all this code is even needed in the first place.
SnapshotCache is a struct that holds cached versions of the end-of-epoch snapshot data.
No description provided by the author
No description provided by the author
SnapshotOperation is passed in the snapshot's OperationChannel.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StateChangeEntry is used to capture the state of the database.
StateChangeSyncer is used to keep track of the state changes that should be written to the state change file.
StateChecksum is used to verify integrity of state data.
StateSyncerFlushedEvent is an event that is fired when the badger db is flushed.
StateSyncerOperationEvent is an event that is fired when an entry is connected or disconnected from the badger db.
No description provided by the author
No description provided by the author
No description provided by the author
Summary stats for a set of transactions of a specific type in the mempool.
No description provided by the author
No description provided by the author
No description provided by the author
SyncPrefixProgress keeps track of sync progress on an individual prefix.
SyncProgress is used to keep track of hyper sync progress.
TimeoutAggregateQuorumCertificate is an aggregation of timeout messages from 2/3rds of all validators, weighted by stake, which indicates that these validators want to time out a particular view.
Timer is used for convenience to time certain events during development.
No description provided by the author
No description provided by the author
TransactionRegister is the primary transaction store of the PoS Mempool.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnconnectedTx is a transaction that has dependencies that we haven't added yet.
UnflushedStateSyncerBytes is used to keep track of the bytes that should be written to the state change file upon a db flush.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TYPES: UpdateCoinLockupParamsTxindexMetadata.
================================================================== UpdateGlobalParamsMetadata ==================================================================.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UtxoEntry identifies the data associated with a UTXO.
UtxoKey is a 32-byte txid with a 4-byte uint32 index identifying the particular output in the transaction where this utxo occurs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
DeSoEncoder is an interface handling our custom, deterministic byte encodings.
DeSoMessage is the interface that a message we send on the wire must implement.
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BlockHash is a convenient alias for a block hash.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The operations that are permitted to be performed by a derived key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeSoInput represents a single unspent output from a previous txn.
No description provided by the author
No description provided by the author
No description provided by the author
GroupKeyName helps with handling key names in AccessGroups.
InvType represents the allowed types of inventory vectors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MempoolTxFeeMinHeap is a priority queue based on transaction fee rate.
MigrationName is used to store migration heights for DeSoEncoder types.
No description provided by the author
The MsgType is usually sent on the wire to indicate what type of struct is being sent in the payload part of the message.
Versioning for the MsgValidatorTimeout message type.
Versioning for the MsgValidatorVote message type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DEPRECATED: Replace all instances with lib.PublicKey.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RuleError is an error type that specifies an error occurred during block processing that is related to a consensus rule.
No description provided by the author
No description provided by the author
SnapshotOperationType define the different operations that can be enqueued to the snapshot's OperationChannel.
No description provided by the author
No description provided by the author
No description provided by the author
StateSyncerOperationType is an enum that represents the type of operation that should be performed on the state consumer database.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TxnType specifies the type for a transaction message.
Have to define these because Go doesn't let you use raw byte slices as map keys.
No description provided by the author
No description provided by the author
No description provided by the author