# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GeneratePublicNetworkingKey draws ECDSASecp256k1 keys until finding a suitable one.
GenerateSecretsDBEncryptionKey generates an encryption key for encrypting a Badger 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
WriteInternalFiles writes the internal private node info into `bootDir/private-root-information/` also writes a map containing each of the nodes weights mapped by the node's networking address.
No description provided by the author
WriteMachineAccountFiles writes machine account key files for a set of nodeInfos.
WriteNodeInternalPubInfos writes the `node-internal-infos.pub.json` file.
WritePartnerFiles writes the all partner public node info into `bootDir/partners/public-root-information/` also writes a map containing each of the nodes weights mapped by NodeID.
WriteSecretsDBEncryptionKeyFiles writes secret db encryption keys to private node info directory.
WriteStakingNetworkingKeyFiles writes staking and networking keys to private node info files.
# Constants
No description provided by the author
these constants are defined in X9.62 section 4.2 and 4.3 see https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.202.2977&rep=rep1&type=pdf they indicate if the conversion to/from a public key (point) in compressed form must involve an inversion of the ordinate coordinate.
# Type aliases
WriteFileFunc is the same as WriteJSONFileFunc, but it writes the bytes directly rather than marshalling a structure to json.
WriteJSONFileFunc is a function which writes a file during bootstrapping.