Permalink
Browse files

Update the znort blockparser, adding support for multisig addresses a…

…nd fixing several bugs.
  • Loading branch information...
1 parent 60fc3c3 commit 120de80e860e1287e52825e90b4eaf4b075d9fc8 @mikispag committed May 22, 2016
Showing with 72,200 additions and 3,376 deletions.
  1. +0 −206 deploy/blockparser/Makefile
  2. +308 −0 deploy/blockparser/README.md
  3. +70 −54 deploy/blockparser/callback.cpp
  4. +12 −9 deploy/blockparser/callback.h
  5. +0 −247 deploy/blockparser/cb/allAddresses.cpp
  6. +187 −74 deploy/blockparser/cb/allBalances.cpp
  7. +29 −26 deploy/blockparser/cb/closure.cpp
  8. +62 −134 deploy/blockparser/cb/dumpTX.cpp
  9. +60 −0 deploy/blockparser/cb/headers.cpp
  10. +43 −43 deploy/blockparser/cb/help.cpp
  11. +0 −371 deploy/blockparser/cb/lemon.cpp
  12. +34 −30 deploy/blockparser/cb/pristine.cpp
  13. +349 −0 deploy/blockparser/cb/rawdump.cpp
  14. +39 −32 deploy/blockparser/cb/rewards.cpp
  15. +19 −24 deploy/blockparser/cb/simpleStats.cpp
  16. +351 −349 deploy/blockparser/cb/sql.cpp
  17. +68 −32 deploy/blockparser/cb/taint.cpp
  18. +28 −23 deploy/blockparser/cb/transactions.cpp
  19. +116 −0 deploy/blockparser/cb/txoTypes.cpp
  20. +13 −0 deploy/blockparser/common.h
  21. +66 −0 deploy/blockparser/crypto/common_btc.h
  22. +3 −0 deploy/blockparser/crypto/endian_btc.h
  23. +292 −0 deploy/blockparser/crypto/ripemd160_btc.cpp
  24. +28 −0 deploy/blockparser/crypto/ripemd160_btc.h
  25. +189 −0 deploy/blockparser/crypto/sha256_btc.cpp
  26. +28 −0 deploy/blockparser/crypto/sha256_btc.h
  27. +10 −15 deploy/blockparser/errlog.h
  28. +392 −0 deploy/blockparser/h9/aes_helper.c
  29. +1,120 −0 deploy/blockparser/h9/blake.c
  30. +965 −0 deploy/blockparser/h9/bmw.c
  31. +723 −0 deploy/blockparser/h9/cubehash.c
  32. +1,031 −0 deploy/blockparser/h9/echo.c
  33. +1,208 −0 deploy/blockparser/h9/fugue.c
  34. +3,123 −0 deploy/blockparser/h9/groestl.c
  35. +150 −0 deploy/blockparser/h9/h13.h
  36. +136 −0 deploy/blockparser/h9/h9.h
  37. +867 −0 deploy/blockparser/h9/hamsi.c
  38. +39,648 −0 deploy/blockparser/h9/hamsi_helper.h
  39. +1,116 −0 deploy/blockparser/h9/jh.c
  40. +1,824 −0 deploy/blockparser/h9/keccak.c
  41. +1,426 −0 deploy/blockparser/h9/luffa.c
  42. +1,764 −0 deploy/blockparser/h9/shavite.c
  43. +1,799 −0 deploy/blockparser/h9/simd.c
  44. +1,254 −0 deploy/blockparser/h9/skein.c
  45. +327 −0 deploy/blockparser/h9/sph_blake.h
  46. +328 −0 deploy/blockparser/h9/sph_bmw.h
  47. +292 −0 deploy/blockparser/h9/sph_cubehash.h
  48. +320 −0 deploy/blockparser/h9/sph_echo.h
  49. +81 −0 deploy/blockparser/h9/sph_fugue.h
  50. +329 −0 deploy/blockparser/h9/sph_groestl.h
  51. +321 −0 deploy/blockparser/h9/sph_hamsi.h
  52. +298 −0 deploy/blockparser/h9/sph_jh.h
  53. +293 −0 deploy/blockparser/h9/sph_keccak.h
  54. +296 −0 deploy/blockparser/h9/sph_luffa.h
  55. +314 −0 deploy/blockparser/h9/sph_shavite.h
  56. +309 −0 deploy/blockparser/h9/sph_simd.h
  57. +298 −0 deploy/blockparser/h9/sph_skein.h
  58. +1,976 −0 deploy/blockparser/h9/sph_types.h
  59. +902 −0 deploy/blockparser/h9/uint256.h
  60. +513 −0 deploy/blockparser/make
  61. +1 −2 deploy/blockparser/opcodes.cpp
  62. +1 −2 deploy/blockparser/opcodes.h
  63. +28 −21 deploy/blockparser/option.cpp
  64. +9 −1 deploy/blockparser/option.h
  65. +745 −335 deploy/blockparser/parser.cpp
  66. +28 −0 deploy/blockparser/parser.sln
  67. +186 −0 deploy/blockparser/parser.vcxproj
  68. +195 −0 deploy/blockparser/parser.vcxproj.filters
  69. +5 −8 deploy/blockparser/rmd160.cpp
  70. +1 −1 deploy/blockparser/rmd160.h
  71. +153 −0 deploy/blockparser/scrypt/pbkdf2.cpp
  72. +27 −0 deploy/blockparser/scrypt/pbkdf2.h
  73. +196 −0 deploy/blockparser/scrypt/scrypt.cpp
  74. +15 −0 deploy/blockparser/scrypt/scrypt.h
  75. +5 −7 deploy/blockparser/sha256.cpp
  76. +0 −1 deploy/blockparser/sha256.h
  77. +0 −120 deploy/blockparser/src/testaggregate.cpp
  78. +0 −31 deploy/blockparser/src/testattach.cpp
  79. +0 −84 deploy/blockparser/src/testcallback.cpp
  80. +0 −25 deploy/blockparser/src/testdisconnect.cpp
  81. +0 −73 deploy/blockparser/src/testfunction.cpp
  82. +0 −47 deploy/blockparser/src/testinsert.cpp
  83. +0 −30 deploy/blockparser/src/testinsertall.cpp
  84. +0 −53 deploy/blockparser/src/testselect.cpp
  85. +184 −0 deploy/blockparser/t/base58_t.cpp
  86. +82 −0 deploy/blockparser/t/ripemd-160_t.cpp
  87. +76 −0 deploy/blockparser/t/secp256k1_t.cpp
  88. +83 −0 deploy/blockparser/t/sha256_t.cpp
  89. +230 −0 deploy/blockparser/test.cpp
  90. +84 −0 deploy/blockparser/test.h
  91. +31 −0 deploy/blockparser/timer.cpp
  92. +11 −0 deploy/blockparser/timer.h
  93. +11 −0 deploy/blockparser/tst.cpp
  94. +623 −127 deploy/blockparser/util.cpp
  95. +267 −82 deploy/blockparser/util.h
  96. +1 −2 deploy/clusterizer/clusterizer.py
  97. +12 −0 deploy/clusterizer/update_walletexplorer_clusters.sh
  98. +719 −655 deploy/server/bitiodine_server.cpp
  99. +16 −0 deploy/server/bitiodine_server_restart.sh
  100. +28 −0 update.sh
@@ -1,206 +0,0 @@
-SHELL=/bin/sh
-MAKEFLAGS=-j8
-
-CPLUS = g++
-
-INC = \
- -I. \
- -DNDEBUG \
-# -DLITECOIN \
-
-COPT = \
- -g0 \
- -O6 \
- -m64 \
- -Wall \
- -msse3 \
- -Wextra \
- -Wformat \
- -Wno-unused-result \
- -pedantic \
- -std=c++0x \
- -ffast-math \
- -fno-check-new \
- -funroll-loops \
- -Wno-deprecated \
- -fstrict-aliasing \
- -Wformat-security \
- -Wstrict-aliasing=2 \
- -Wno-variadic-macros \
- -fomit-frame-pointer \
- -Wno-unused-variable \
- -Wno-unused-parameter \
-
-LOPT = \
- -s \
-
-LIBS = \
- -lcrypto \
- -ldl \
- -lsqlite3 \
-
-all:parser
-
-.objs/callback.o : callback.cpp
- @echo c++ -- callback.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c callback.cpp -o .objs/callback.o
- @mv .objs/callback.d .deps
-
-.objs/allBalances.o : cb/allBalances.cpp
- @echo c++ -- cb/allBalances.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c cb/allBalances.cpp -o .objs/allBalances.o
- @mv .objs/allBalances.d .deps
-
-.objs/allAddresses.o : cb/allAddresses.cpp
- @echo c++ -- cb/allAddresses.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c cb/allAddresses.cpp -o .objs/allAddresses.o
- @mv .objs/allAddresses.d .deps
-
-.objs/closure.o : cb/closure.cpp
- @echo c++ -- cb/closure.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c cb/closure.cpp -o .objs/closure.o
- @mv .objs/closure.d .deps
-
-.objs/dumpTX.o : cb/dumpTX.cpp
- @echo c++ -- cb/dumpTX.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c cb/dumpTX.cpp -o .objs/dumpTX.o
- @mv .objs/dumpTX.d .deps
-
-.objs/pristine.o : cb/pristine.cpp
- @echo c++ -- cb/pristine.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c cb/pristine.cpp -o .objs/pristine.o
- @mv .objs/pristine.d .deps
-
-.objs/help.o : cb/help.cpp
- @echo c++ -- cb/help.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c cb/help.cpp -o .objs/help.o
- @mv .objs/help.d .deps
-
-.objs/rewards.o : cb/rewards.cpp
- @echo c++ -- cb/rewards.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c cb/rewards.cpp -o .objs/rewards.o
- @mv .objs/rewards.d .deps
-
-.objs/simpleStats.o : cb/simpleStats.cpp
- @echo c++ -- cb/simpleStats.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c cb/simpleStats.cpp -o .objs/simpleStats.o
- @mv .objs/simpleStats.d .deps
-
-.objs/sql.o : cb/sql.cpp
- @echo c++ -- cb/sql.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c cb/sql.cpp -o .objs/sql.o
- @mv .objs/sql.d .deps
-
-.objs/taint.o : cb/taint.cpp
- @echo c++ -- cb/taint.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c cb/taint.cpp -o .objs/taint.o
- @mv .objs/taint.d .deps
-
-.objs/transactions.o : cb/transactions.cpp
- @echo c++ -- cb/transactions.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c cb/transactions.cpp -o .objs/transactions.o
- @mv .objs/transactions.d .deps
-
-.objs/opcodes.o : opcodes.cpp
- @echo c++ -- opcodes.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c opcodes.cpp -o .objs/opcodes.o
- @mv .objs/opcodes.d .deps
-
-.objs/option.o : option.cpp
- @echo c++ -- option.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c option.cpp -o .objs/option.o
- @mv .objs/option.d .deps
-
-.objs/parser.o : parser.cpp
- @echo c++ -- parser.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c parser.cpp -o .objs/parser.o
- @mv .objs/parser.d .deps
-
-.objs/rmd160.o : rmd160.cpp
- @echo c++ -- rmd160.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c rmd160.cpp -o .objs/rmd160.o
- @mv .objs/rmd160.d .deps
-
-.objs/sha256.o : sha256.cpp
- @echo c++ -- sha256.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c sha256.cpp -o .objs/sha256.o
- @mv .objs/sha256.d .deps
-
-.objs/util.o : util.cpp
- @echo c++ -- util.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c util.cpp -o .objs/util.o
- @mv .objs/util.d .deps
-
-.objs/sqlite3pp.o : sqlite3pp.cpp
- @echo c++ -- sqlite3.cpp
- @mkdir -p .deps
- @mkdir -p .objs
- @${CPLUS} -MD ${INC} ${COPT} -c sqlite3pp.cpp -o .objs/sqlite3pp.o
- @mv .objs/sqlite3pp.d .deps
-
-OBJS= \
- .objs/allBalances.o \
- .objs/allAddresses.o \
- .objs/callback.o \
- .objs/closure.o \
- .objs/dumpTX.o \
- .objs/help.o \
- .objs/opcodes.o \
- .objs/option.o \
- .objs/parser.o \
- .objs/pristine.o \
- .objs/rewards.o \
- .objs/rmd160.o \
- .objs/sha256.o \
- .objs/simpleStats.o \
- .objs/sql.o \
- .objs/taint.o \
- .objs/transactions.o \
- .objs/util.o \
- .objs/sqlite3pp.o \
-
-parser:${OBJS}
- @echo lnk -- parser
- @${CPLUS} ${LOPT} ${COPT} -o parser ${OBJS} ${LIBS}
-
-clean:
- -rm -r -f *.o *.i .objs .deps *.d parser
-
--include .deps/*
-
Oops, something went wrong.

0 comments on commit 120de80

Please sign in to comment.