package
0.0.0-20200401110245-59e56fadc46b
Repository: https://github.com/fantom-foundation/lachesis-ex.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

# 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;.
HashFromHex converts hex string to bytes.
I64to256 converts int64 to 32 bytes array.
NameOf returns human readable string representation.
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
SpinLock implements a simple atomic spin lock, the zero value for a SpinLock is an unlocked spinlock.