noncesense-research-lab / archival_network

Investigating the frequency of alternative blocks, reorganizations, potential double-spend attacks, selfish mining, and more.
MIT License
14 stars 7 forks source link

Extract archived txns and query via RPC #38

Open Mitchellpkt opened 6 years ago

Mitchellpkt commented 6 years ago

Create a script that takes the custom monerod-archive log file as input and extracts a list of all txn hashes that show up in main chain block and a list of all txn hashes that show up in the alternative blocks.

Goal 1: Explore setdiff(alt_txns, main_chain_txns) to see what exactly goes on in those alt blocks….

Goal 2: Run each of the alt chain transaction hashes through RPC/get_transactions and make sure that we can retrieve the details (key image, ring member) for all alt txns. (This is important to verify soon; IFF alternative transactions are not available through the RPC, we must jump on modifying the patch to include transaction write-out functionality).

neptuneresearch commented 6 years ago

The "script" is done and tested. The relational data model for storage of transactions is in progress.