arnaucode ad29e362d5 | 7 years ago | |
---|---|---|
screenshots | 7 years ago | |
web | 7 years ago | |
.gitignore | 7 years ago | |
DevelopmentNotes.md | 7 years ago | |
LICENSE | 7 years ago | |
README.md | 7 years ago | |
addressTree.go | 7 years ago | |
configEXAMPLE.json | 7 years ago | |
continuousTasks.go | 7 years ago | |
dateAnalysis.go | 7 years ago | |
errors.go | 7 years ago | |
exploreBlockchain.go | 7 years ago | |
goBlockchainDataAnalysis | 7 years ago | |
ipFilter.go | 7 years ago | |
log.go | 7 years ago | |
main.go | 7 years ago | |
mongoModels.go | 7 years ago | |
mongoOperations.go | 7 years ago | |
readConfig.go | 7 years ago | |
serverConfig.go | 7 years ago | |
serverRoutes.go | 7 years ago | |
stats.go | 7 years ago |
blockchain data analysis, written in Go
To Do list in DevelopmentNotes.md https://github.com/arnaucode/goBlockchainDataAnalysis/blob/master/DevelopmentNotes.md
rpcuser=faircoinrpc
rpcpassword=password
rpcport=3021
rpcworkqueue=2000
server=1
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
{
"user": "faircoinrpc",
"pass": "password",
"host": "127.0.0.1",
"port": "3021",
"genesisTx": "7c27ade2c28e67ed3077f8f77b8ea6d36d4f5eba04c099be3c9faa9a4a04c046",
"genesisBlock": "beed44fa5e96150d95d56ebd5d2625781825a9407a5215dd7eda723373a0a1d7",
"startFromBlock": 0,
"server": {
"serverIP": "127.0.0.1",
"serverPort": "3014",
"webServerPort": "8080",
"allowedIPs": [
"127.0.0.1"
],
"blockedIPs": []
},
"mongodb": {
"ip": "127.0.0.1",
"database": "goBlockchainDataAnalysis"
}
}
sudo service mongod start
./faircoind -txindex -reindex-chainstate
Wait until the entire blockchain is downloaded.
./goBlockchainDataAnalysis -explore
3.1. The next runs, once the database have data and just need to add last blocks added in the blockchain, can just run:
./goBlockchainDataAnalysis -continue
3.2. If don't want to fill the database, can just run:
./goBlockchainDataAnalysis
Webapp will run on 127.0.0.1:8080
npm start
Webapp will run on 127.0.0.1:8080
Some screenshots can be old, and can contain errors.