package
1.0.0-rc.0
Repository: https://github.com/fantom-foundation/go-lachesis.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

BigTo256 converts big number to 32 bytes array.
No description provided by the author
FreePort gets free network port on host.
GetUnusedNetAddr return array of n unused ports starting with base port NB: addresses 1-1024 are reserved for non-root users;.
U64to256 converts uint64 to 32 bytes array.
HashFromHex converts hex string to bytes.
I64to256 converts int64 to 32 bytes array.
NameOf returns human readable string representation.
No description provided by the author
NewBitArray makes bits array of int.
PaddedBigBytes encodes a big integer as a big-endian byte slice.
ReadBits encodes the absolute value of bigint as big-endian bytes.
TextColumns join side-by-side.
ToFtm number of FTM to Wei.
U64to256 converts uint64 to 32 bytes array.
WeightedPermutation builds weighted random permutation Returns first {size} entries of {weights} permutation.

# 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
SpinLock implements a simple atomic spin lock, the zero value for a SpinLock is an unlocked spinlock.