Simulator 3

ExSan++

   1 

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

   3                                                         Sat Jan 28 08:21:02 2023

   4 

   5 

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

   7     JOB:  bch2_2102

   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:  7   0   0   0   0   0   0   0   0   0 

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

  92       3:  7   0   0   0   0   0   0   0   0   0 

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

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

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

  96 

  97          There are at least 2 subjects that could trade, here send or keep populating db

  98    WORKSHEET 0  @[5, 10] PIX

  99        A   B   C   D   E   F   G   H   I   J 

100          >------------------------------<

101       1:  7   0   0   0   0   0   0   0   0   0 

102       2:  6   0   0   0   0   0   0   0   0   0 

103       3:  7   0   0   0   0   0   0   0   0   0 

104       4:  0   0   0   0   0   0   0   0   0   0 

105       5:  0   0   0   0   0   0   0   0   0   0 

106          <------------------------------>

107 

108          There are at least 2 subjects that could trade, here send or keep populating db

109    WORKSHEET 0  @[5, 10] PIX

110        A   B   C   D   E   F   G   H   I   J 

111          >------------------------------<

112       1:  7   0   0   0   0   0   0   0   0   0 

113       2:  6   0   0   0   0   0   0   0   0   0 

114       3:  7   0   0   0   0   0   0   0   0   0 

115       4:  6   0   0   0   0   0   0   0   0   0 

116       5:  0   0   0   0   0   0   0   0   0   0 

117          <------------------------------>

118 

119          There are at least 2 subjects that could trade, here send or keep populating db

120    WORKSHEET 0  @[5, 10] PIX

121        A   B   C   D   E   F   G   H   I   J 

122          >------------------------------<

123       1:  7   0   0   0   0   0   0   0   0   0 

124       2:  6   0   0   0   0   0   0   0   0   0 

125       3:  7   0   0   0   0   0   0   0   0   0 

126       4:  6   0   0   0   0   0   0   0   0   0 

127       5:  0   0   0   0   0   0   0   0   0   0 

128          <------------------------------>

129 

130    process  1

131    randRow   3   nBitcoins available: 7

132    Transfer from randRow   3 to row 2  this amount of bitcoins 7   out of  7   then update ledger

133    process  2

134    randRow   5   nBitcoins available: 0

135    you have no funds to transfer   nBitcoins available: 0

136    process  3

137    randRow   4   nBitcoins available: 6

138    Transfer from randRow   4 to row 3  this amount of bitcoins 4   out of  6   then update ledger

139    process  4

140    randRow   5   nBitcoins available: 0

141    you have no funds to transfer   nBitcoins available: 0

142 

143    test  2

144    WORKSHEET 0  @[5, 10] PIX

145        A   B   C   D   E   F   G   H   I   J 

146          >------------------------------<

147       1:  0   0   0   0   0   0   0   0   0   0 

148       2:  6   0   0   0   0   0   0   0   0   0 

149       3:  7   0   0   0   0   0   0   0   0   0 

150       4:  6   0   0   0   0   0   0   0   0   0 

151       5:  0   0   0   0   0   0   0   0   0   0 

152          <------------------------------>

153 

154          There are at least 2 subjects that could trade, here send or keep populating db

155    WORKSHEET 0  @[5, 10] PIX

156        A   B   C   D   E   F   G   H   I   J 

157          >------------------------------<

158       1:  0   0   0   0   0   0   0   0   0   0 

159       2:  6   0   0   0   0   0   0   0   0   0 

160       3:  1   0   0   0   0   0   0   0   0   0 

161       4:  6   0   0   0   0   0   0   0   0   0 

162       5:  0   0   0   0   0   0   0   0   0   0 

163          <------------------------------>

164 

165          There are at least 2 subjects that could trade, here send or keep populating db

166    WORKSHEET 0  @[5, 10] PIX

167        A   B   C   D   E   F   G   H   I   J 

168          >------------------------------<

169       1:  0   0   0   0   0   0   0   0   0   0 

170       2:  6   0   0   0   0   0   0   0   0   0 

171       3:  1   0   0   0   0   0   0   0   0   0 

172       4:  7   0   0   0   0   0   0   0   0   0 

173       5:  0   0   0   0   0   0   0   0   0   0 

174          <------------------------------>

175 

176          There are at least 2 subjects that could trade, here send or keep populating db

177    WORKSHEET 0  @[5, 10] PIX

178        A   B   C   D   E   F   G   H   I   J 

179          >------------------------------<

180       1:  0   0   0   0   0   0   0   0   0   0 

181       2:  6   0   0   0   0   0   0   0   0   0 

182       3:  1   0   0   0   0   0   0   0   0   0 

183       4:  7   0   0   0   0   0   0   0   0   0 

184       5:  0   0   0   0   0   0   0   0   0   0 

185          <------------------------------>

186 

187    process  1

188    randRow   1   nBitcoins available: 0

189    you have no funds to transfer   nBitcoins available: 0

190    process  2

191    randRow   3   nBitcoins available: 1

192    Transfer from randRow   3 to row 4  this amount of bitcoins 1   out of  1   then update ledger

193    process  3

194    randRow   4   nBitcoins available: 7

195    Transfer from randRow   4 to row 5  this amount of bitcoins 4   out of  7   then update ledger

196    process  4

197    randRow   3   nBitcoins available: 1

198    Transfer from randRow   3 to row 4  this amount of bitcoins 1   out of  1   then update ledger

199 

200    test  3

201    WORKSHEET 0  @[5, 10] PIX

202        A   B   C   D   E   F   G   H   I   J 

203          >------------------------------<

204       1:  0   0   0   0   0   0   0   0   0   0 

205       2:  5   0   0   0   0   0   0   0   0   0 

206       3:  0   0   0   0   0   0   0   0   0   0 

207       4:  7   0   0   0   0   0   0   0   0   0 

208       5:  0   0   0   0   0   0   0   0   0   0 

209          <------------------------------>

210 

211          There are at least 2 subjects that could trade, here send or keep populating db

212    WORKSHEET 0  @[5, 10] PIX

213        A   B   C   D   E   F   G   H   I   J 

214          >------------------------------<

215       1:  0   0   0   0   0   0   0   0   0   0 

216       2:  5   0   0   0   0   0   0   0   0   0 

217       3:  0   0   0   0   0   0   0   0   0   0 

218       4:  6   0   0   0   0   0   0   0   0   0 

219       5:  0   0   0   0   0   0   0   0   0   0 

220          <------------------------------>

221 

222          There are at least 2 subjects that could trade, here send or keep populating db

223    WORKSHEET 0  @[5, 10] PIX

224        A   B   C   D   E   F   G   H   I   J 

225          >------------------------------<

226       1:  2   0   0   0   0   0   0   0   0   0 

227       2:  5   0   0   0   0   0   0   0   0   0 

228       3:  0   0   0   0   0   0   0   0   0   0 

229       4:  6   0   0   0   0   0   0   0   0   0 

230       5:  0   0   0   0   0   0   0   0   0   0 

231          <------------------------------>

232 

233          There are at least 2 subjects that could trade, here send or keep populating db

234    WORKSHEET 0  @[5, 10] PIX

235        A   B   C   D   E   F   G   H   I   J 

236          >------------------------------<

237       1:  2   0   0   0   0   0   0   0   0   0 

238       2:  5   0   0   0   0   0   0   0   0   0 

239       3:  0   0   0   0   0   0   0   0   0   0 

240       4:  6   0   0   0   0   0   0   0   0   0 

241       5:  0   0   0   0   0   0   0   0   0   0 

242          <------------------------------>

243 

244    process  1

245    randRow   4   nBitcoins available: 6

246    Transfer from randRow   4 to row 5  this amount of bitcoins 6   out of  6   then update ledger

247    process  2

248    randRow   3   nBitcoins available: 0

249    you have no funds to transfer   nBitcoins available: 0

250    process  3

251    randRow   3   nBitcoins available: 0

252    you have no funds to transfer   nBitcoins available: 0

253    process  4

254    randRow   4   nBitcoins available: 6

255    Transfer from randRow   4 to row 1  this amount of bitcoins 6   out of  6   then update ledger

256    

257    ENDS  bch2_2102   Elapsed Time: 0.06  sec

258    Boost version: 1.80.0

259 

260    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