Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Context to use for database logging Context = "TIMESCALE/FLY_STAKED" // TableFlyStaked to use to get the currently staked users TableFlyStaked = "fly_staked" )
Variables ¶
This section is empty.
Functions ¶
func PickSenderAndReceiver ¶
PickSenderAndReceiver by randomly picking 10 stakers, then taking the top 2 of them by staked amount. If we only find one, then we make them the recipient for everything. If we can't find anything, we Fatal. This only makes sense with a large dataset (everything else
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.