Bet stores game-related confidential information either in a local database or local files on the node where Bet is running. Most game-related public information and player information are stored across Verus IDs (specifically in player, table, dealer, and cashier IDs). When a player gets disconnected, Bet allows the player to rejoin. If the player fails to rejoin within the agreed time interval (currently 20 seconds), the dealer can make a decision based on predefined rules to keep the game moving.
The dealer’s action depends on the game state. At any game state, a player can rejoin upon disconnection, and the rejoin window remains the same. If a player fails to rejoin, the dealer can take the following actions:
Player disconnections at any game state and failure to rejoin will result in quashing previous updates made to the IDs. In many cases, players and dealers must redo processes, incurring penalties, mostly in block fees.
Players can raise a dispute request to claim the payin_tx while in the game. To prevent misuse, cashiers will check if the payin_tx is attached to any game ID in active tables. If attached, cashier nodes will wait until the game finishes to handle the dispute request.
The secret/confidential information associated with the player is generated during the deck initialization process and includes:
The public information available on the player ID and needed for rejoining includes:
This information can be fetched from the local config file verus_player.ini and the game_id file.
All secret information related to the player is stored under the local directory /.game_info/player on the node where Bet is running, located under bet/privatebet. Files in game_info are prepended with game_id. For a typical game, the files stored locally by the player are:
Information fetched from Verus IDs during rejoin includes:
With the latest design changes, as players update all game-related info to the player ID, there is a provision to store game-related and player-related confidential information in encrypted form on the player ID. This data is encrypted using a PIN/password configured locally by the player. During rejoin, the player only needs to remember the locally configured PIN to rejoin.