Collect txpool archive data
txpool.collect.Rd
Queries the local Monero node for its txpool once per second.
The time of arrival of each transaction is saved to a database file. The
database file must first be created by txpool.init. This function executes
an infinite loop. Input ctrl + c
to interrupt the function.
Usage
txpool.collect(
db.file = "xmr-txpool-archive.db",
unrestricted.rpc.url = "http://127.0.0.1:18081"
)
Arguments
- db.file
Name and path of database file created by txpool.init.
- unrestricted.rpc.url
URL and port of the
monerod
unrestricted RPC. Default ishttp://127.0.0.1:18081
See also
txpool.init, which create the database file and txpool.export, which exports the database contents to a CSV file.