Mazzz-zzz / DataDownloader_For_Arweave

Downloads Blocks, txs, and wallet_lists quickly from random peers, so that mining can be started faster.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DataDownloader_For_Aweave

Warning, using this tool will increase your chances of getting bad peer rankings on the network when mining -!-

Downloads Blocks, txs, and wallet_lists quickly from random peers, so that mining can be started faster.

Quickstart guide:

1.(clone repo): git clone https://github.com/Mazzz-zzz/DataDownloader_For_Aweave.git

2.(install nodejs): apt install nodejs

3.(install dependencies): npm install

4.(get peers from Arweave node): node beginprocess getpeers

5.(get blocks, txs, wallet_lists): node beginprocess getdata

Command details:

Command Structure: node beginprocess <getpeers|morepeers|getdata> <timeout> <delay(for getdata only)> <starting block (for getdata)> <last block (for getdata)>

default timeout: 3000ms default delay: 30ms default starting block: 1 default last block: 332000

getting peers(Grabs easily accessible peers from official Arweave node): node beginprocess getpeers <timeout>

Adding more peers(Scrapes every peer for unique peers): node beginprocess morepeers <timeout>

Getting data(Gets block, tx, and wallet_list data in order and stores it.): node beginprocess getdata <timeout> <delay> <starting block> <last block>

About

Downloads Blocks, txs, and wallet_lists quickly from random peers, so that mining can be started faster.

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%