Scorum
Namespaces | Functions
invariants_validation.hpp File Reference
#include <scorum/protocol/betting/game.hpp>
#include <scorum/protocol/betting/market.hpp>
#include <scorum/protocol/betting/wincase.hpp>

Go to the source code of this file.

Namespaces

 scorum
 
 scorum::protocol
 

Functions

void scorum::protocol::validate_game (const game_type &game, const fc::flat_set< market_type > &markets)
 
void scorum::protocol::validate_wincases (const fc::flat_set< wincase_type > &wincases)
 
void scorum::protocol::validate_wincase (const wincase_type &wincase)
 
void scorum::protocol::validate_if_wincase_in_game (const game_type &game, const wincase_type &wincase)
 
void scorum::protocol::validate_bet_ids (const fc::flat_set< int64_t > &bet_ids)
 
void scorum::protocol::validate_markets (const fc::flat_set< market_type > &markets)
 
void scorum::protocol::validate_market (const market_type &market)