MinDeposit
untyped bigint// ugnot to seed a pot (1 GNOT)
Value
(1000000 <untyped> bigint)
MinEntryFee
untyped bigint// ugnot (0.1 GNOT)
Value
(100000 <untyped> bigint)
DefaultTimeout
untyped bigint// blocks a challenger may sit idle
Value
(1000 <untyped> bigint)
MinTimeout
untyped bigintValue
(30 <untyped> bigint)
MaxTimeout
untyped bigintValue
(200000 <untyped> bigint)
engine
typeValue
v1.engine
instance
*v1.engine- OID
- 03db7a…f04b:4
instance details
Instance
func() shots.ImplInstance returns the implementation, for a caller that registers it explicitly rather than relying on init.
- OID
- 03db7a…f04b:6
Instance details
init.8
func()- OID
- 03db7a…f04b:8
init.8 details
entropy
func(g v0.Game, s v0.Session, blockTime int64) v0.Seedentropy is the kick's 32-byte seed: SHA-256 of the block time and the kick's identity (see the package comment for what that does and does not guarantee).
- OID
- 03db7a…f04b:9
entropy details
mustGame
func(st *shots.StateRef, id uint64) v0.Game- OID
- 03db7a…f04b:10
mustGame details
session
func(st *shots.StateRef, id uint64, no int) (v0.Session, bool)session reads the live session of a game as this realm's own copy.
- OID
- 03db7a…f04b:11
session details
ownGame
func(g v0.Game) v0.GameownGame and ownSession rebuild values read through shots.Store in this realm. What Store hands back was allocated by the shots realm, and the VM refuses writes to another realm's objects (a pointer-method update such as Shootout.Record trips its cross-realm check), so the engine only ever mutates copies it built itself; PutGame/PutSession copy them back.
- OID
- 03db7a…f04b:12
ownGame details
ownSession
func(s v0.Session) v0.Session- OID
- 03db7a…f04b:13
ownSession details
mustPlayersSession
func(st *shots.StateRef, gameID uint64, player .uverse.address) (v0.Game, v0.Session)- OID
- 03db7a…f04b:14
mustPlayersSession details
itoa
func(n int64) string- OID
- 03db7a…f04b:15
itoa details
u64
func(n uint64) string- OID
- 03db7a…f04b:16