TxTrace is a logging service in the Go Gateway that records the time each transaction is first received by the gateway and the source from which the gateway received it. To enable TxTrace you need to start the gateway using the txtrace startup argument
The TxTrace log files are located in the
logsdirectory. To navigate to the
cdto the directory that holds your other bloxroute artifacts.
The most recent file is named
txtrace-gateway-[external port of gateway].log.
Older TxTrace log files are named
txtrace-gateway-[external port of gateway]-[end timestamp].log.
Each TxTrace entry is logged in the following format:
time="[Time Tx Received]" level=trace msg="[Tx Hash] - [Blockchain or BDN] [Source IP]"
docker run --name bxgateway-go -d \
-v <LOG_FILE_PATH>:/app/bloxroute/logs \
-v <SSL_CERT_PATH>:/app/bloxroute/ssl \
-p 1801:1801 -p 28333:28333 bloxroute/bloxroute-gateway-go \
--blockchain-network <Mainnet, BSC-Mainnet, or Polygon-Mainnet> \
--ws --port 1801 \