bitcoinj, JAVA8
I need help )
I'm trying to collect a database in which all the addresses used will be
I have Core
List<File> blockChainFiles = new ArrayList<>();
blockChainFiles.add(new File("blk02447.dat"));
MainNetParams params = MainNetParams.get();
Context context = new Context(params);
BlockFileLoader bfl = new BlockFileLoader(params, blockChainFiles);
// Iterate over the blocks in the dataset.
for (Block block : bfl) {
//
??
}
result:
000000000000000000068b9429e6a7c559782de3e01bdf3a33b9c55f30df0cf7
000000000000000000086268890d891e32325e17fc4d5c0c2795d877ecff1f28
0000000000000000000444ef790b17857bf2358071c85b031f94455a72aa2c0f
0000000000000000000219a5cb8ac8fef151a639214640f7fa3298429ad64156
0000000000000000000552a171bf27df6a7f51678faa22f5f3705331090c6fa0
.............
how to get list addresses (and If possible, the amounts for them) by analyzing Block?
the documentation for this library is beyond my understanding ((( I tried ....