Posts

Showing posts from January, 2023

Simulator 09

Image
ExSan++       1  I am studying Blockchain, the subject is so interesting.       2  I have coded my first simulations using ExSan, which already       3  has implemented binary tree in every block/node       4  In this simulations I am tracking blockchains transactions        5  without hashing, every row is a peer, when it reaches the        6  end of the row it comes back to the begining of the rowand keeps on.       7  My Profile  #opentowork       8        9  ///----------CODE      10  /***********START***************/      11  void bckchxsn3() {      12     setJobID("bch3_");      13     string label = "BlockChainSimulator 3";      14     out("", label);      15       16     enum  FLOAT { ppF };      17     enum  BOOL { ppB };      18     enum  USHORT { ppU };      19     enum  STRING { ppW };      20     enum  CHAR { ppC };      21       22     unsigned short int nProc{ 5 };      23     unsigned