Blockchain simulator 02.a

ExSan++

   1 

   2    |ExSan| C++  |ExSan|   MSVSC2019_V16_11.23@01.11

   3                                                         Fri Jan 27 09:43:30 2023

   4 

   5 

   6     exsan.plusplus@gmail.com   https://twitter.com/#!/ExSan_com

   7     JOB:  bch2_4330

   8 

   9    Reads data from file, everyline in a node

  10     Generate Exsan ( 5 ,  10 )

  11 

  12    Data read from     hashThisFile 

  13      1             one   7692c3ad3540bb803c020b3aee66cd8887123234ea0c6e7143c0add73ff431ed

  14      2             two   3fc4ccfe745870e2c0d99f71f30ff0656c8dedd41cc1d7d3d376b0dbe685e2f3

  15      3           three   8b5b9db0c13db24256c829aa364aa90c6d2eba318b9232a4ab9313b954d3555f

  16      4          three1   5b00470042d6b440273be98bc1c0331c6c82f2437d1c666702a744d16270ab4b

  17                   last on line is a digit ---> 1  merkle in block: 3

  18      5          three2   fce774f2f8fff7ff204881bd10bcdd9493c7587c89da10792bda56d51b8618da

  19                   last on line is a digit ---> 2  merkle in block: 4

  20      6            four   04efaf080f5a3e74e1c29d1ca6a48569382cbbcd324e8d59d2b83ef21c039f00

  21      7            five   222b0bd51fcef7e65c2e62db2ed65457013bab56be6fafeb19ee11d453153c80

  22      8             six   44778d82365e4af681c40d5f0eef5cf6f5899d3f0ac335050a7ed6779cf3f674

  23    WORKSHEET 2  B[5, 10] STRING

  24               A       B       C       D       E       F       G       H       I       J 

  25          >----------------------------------------------------------------------<

  26       1:one two three three1 three2 four five six   

  27       2:                                            

  28       3:                                            

  29       4:                                            

  30       5:                                            

  31          <---------------------------------------------------------------------->

  32 

  33    Display only the last 7 char of hashed block pp: 0

  34    WORKSHEET 0  @[5, 10] STRING

  35               A       B       C       D       E       F       G       H       I       J 

  36          >----------------------------------------------------------------------<

  37       1:        769...31ed 3fc...e2f3 ------ ------ fce...18da 04e...9f00 222...3c80   

  38       2:                                                                               

  39       3:                                                                               

  40       4:                                                                               

  41       5:                                                                               

  42          <---------------------------------------------------------------------->

  43 

  44    tDisplay only the last 7 char of hashed block pp: 0

  45    WORKSHEET 0  @[5, 10] STRING

  46               A       B       C       D       E       F       G       H       I       J 

  47          >----------------------------------------------------------------------<

  48       1:        769...31ed 3fc...e2f3 ------ ------ fce...18da 04e...9f00 222...3c80   

  49       2:                                                                               

  50       3:                                                                               

  51       4:                                                                               

  52       5:                                                                               

  53          <---------------------------------------------------------------------->

  54 

  55    WORKSHEET 2  B[5, 10] STRING

  56               A       B       C       D       E       F       G       H       I       J 

  57          >----------------------------------------------------------------------<

  58       1:one two three three1 three2 four five six   

  59       2:                                            

  60       3:                                            

  61       4:                                            

  62       5:                                            

  63          <---------------------------------------------------------------------->

  64 

  65    WORKSHEET 0  @[5, 10] PIX

  66        A   B   C   D   E   F   G   H   I   J 

  67          >------------------------------<

  68       1:  0   0   0   0   0   0   0   0   0   0 

  69       2:  0   0   0   0   0   0   0   0   0   0 

  70       3:  0   0   0   0   0   0   0   0   0   0 

  71       4:  0   0   0   0   0   0   0   0   0   0 

  72       5:  0   0   0   0   0   0   0   0   0   0 

  73          <------------------------------>

  74 

  75    WORKSHEET 0  @[5, 10] BOOL

  76      A B C D E F G H I J 

  77          >------------------------------<

  78       1:1 1 1 1 1 1 1 1 1 1 

  79       2:1 1 1 1 1 1 1 1 1 1 

  80       3:1 1 1 1 1 1 1 1 1 1 

  81       4:1 1 1 1 1 1 1 1 1 1 

  82       5:1 1 1 1 1 1 1 1 1 1 

  83          <------------------------------>

  84 

  85 

  86    test  1

  87    WORKSHEET 0  @[5, 10] PIX

  88        A   B   C   D   E   F   G   H   I   J 

  89          >------------------------------<

  90       1:  4   0   0   0   0   0   0   0   0   0 

  91       2:  0   0   0   0   0   0   0   0   0   0 

  92       3:  5   0   0   0   0   0   0   0   0   0 

  93       4:  3   0   0   0   0   0   0   0   0   0 

  94       5:  7   0   0   0   0   0   0   0   0   0 

  95          <------------------------------>

  96 

  97    process  1

  98    randRow   2   nBitcoins available: 0

  99    process  2

100    randRow   4   nBitcoins available: 3

101    process  3

102    randRow   1   nBitcoins available: 4

103    process  4

104    randRow   3   nBitcoins available: 5

105 

106    test  2

107    WORKSHEET 0  @[5, 10] PIX

108        A   B   C   D   E   F   G   H   I   J 

109          >------------------------------<

110       1:  1   0   0   0   0   0   0   0   0   0 

111       2:  2   0   0   0   0   0   0   0   0   0 

112       3:  7   0   0   0   0   0   0   0   0   0 

113       4:  4   0   0   0   0   0   0   0   0   0 

114       5:  6   0   0   0   0   0   0   0   0   0 

115          <------------------------------>

116 

117    process  1

118    randRow   4   nBitcoins available: 4

119    process  2

120    randRow   5   nBitcoins available: 6

121    process  3

122    randRow   4   nBitcoins available: 4

123    process  4

124    randRow   1   nBitcoins available: 1

125 

126    test  3

127    WORKSHEET 0  @[5, 10] PIX

128        A   B   C   D   E   F   G   H   I   J 

129          >------------------------------<

130       1:  0   0   0   0   0   0   0   0   0   0 

131       2:  5   0   0   0   0   0   0   0   0   0 

132       3:  7   0   0   0   0   0   0   0   0   0 

133       4:  1   0   0   0   0   0   0   0   0   0 

134       5:  6   0   0   0   0   0   0   0   0   0 

135          <------------------------------>

136 

137    process  1

138    randRow   2   nBitcoins available: 5

139    process  2

140    randRow   3   nBitcoins available: 7

141    process  3

142    randRow   3   nBitcoins available: 7

143    process  4

144    randRow   3   nBitcoins available: 7

145    

146    ENDS  bch2_4330   Elapsed Time: 0.136  sec

147    Boost version: 1.80.0

148 

149    EXIT FROM EXSAN 

Polulating ExSan with Market Data Tick by Tick
Previous         Low Latency Systematic Trading Algorithm         Next

+ + C   E x S a n   C + +
D o   N o t   A c c e p t   D e f a u l t s
T h i n k   D i f f e r e n t

Flag Counter

Comments

Popular posts from this blog

Blockchain Simulator - Hashing internal nodes of Merkle Tree - 13

Blockchain simulator - Sha256 Merkle Tree 12b

Simulator 09