Raphaeljunior / blockchain

Automatically exported from code.google.com/p/blockchain
0 stars 0 forks source link

compilation problems due to current enormous blockchain size. #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. current version is not working with current blockchain as it has more than 
50mln addresses and more then 100mln? transactions

2. #define MAX_BITCOIN_ADDRESSES 48000000 // 40 million unique addresses.
#define MAX_TOTAL_TRANSACTIONS 76000000 // 40 million transactions.
#define MAX_TOTAL_INPUTS 268000000 // 200 million inputs.
#define MAX_TOTAL_OUTPUTS 268000000 // 200 million outputs
#define MAX_TOTAL_BLOCKS 600000     // 1/2 million blocks.

- that`s are highest numbers it could be compiled with - if go higher then:

Warning 1   warning D9025: overriding '/W3' with '/W4'   
2013\Projects\Project5\compiler\vc10win64\cl    blockchain
Error   2   error C2220: warning treated as error - no 'object' file 
generated   2013\Projects\Project5\BlockChain.cpp   3156    1   blockchain
Warning 3   warning C4307: '*' : integral constant 
overflow    2013\Projects\Project5\BlockChain.cpp   3156    1   blockchain

What version of the product are you using? On what operating system?
vs2013 win 8.1

Please provide any additional information below.

could not get a working version or recompile myslef. Any help appreciated! 
Thank you in advance.

Original issue reported on code.google.com by 364...@csinow.edu on 12 Nov 2014 at 11:45