8000 GitHub - leet4tari/tari-explorer
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

leet4tari/tari-explorer

 
 

Repository files navigation

Tari explorer

No client-side JavaScript block explorer (tari-text-explorer)

Dependencies

  • npm install

Development (nodemon reload)

  • npm run dev

Start server

  • npm start

Useful environment variables

To run, export the following environment variables:

  • PORT Port of service (Default: 4000)
  • BASE_NODE_GRPC_URL Base node GRPC URL (Default: localhost:18142)
  • BASE_NODE_PROTO location of base_node.proto (Default: ../proto/base_node.proto)
  • TARI_EXPLORER_INDEX_CACHE_SETTINGS Index cache (Default: public, max-age=120, s-maxage=60, stale-while-revalidate=30)
  • TARI_EXPLORER_MEMPOOL_CACHE_SETTINGS Mempool cache (Default: public, max-age=15, s-maxage=15, stale-while-revalidate=15)
  • TARI_EXPLORER_OLD_BLOCKS_CACHE_SETTINGS Old blocks cache (Default: public, max-age=604800, s-maxage=604800, stale-while-revalidate=604800)
  • TARI_EXPLORER_NEW_BLOCKS_CACHE_SETTINGS New blocks cache (Default: public, max-age=120, s-maxage=60, stale-while-revalidate=30)
  • TARI_EXPLORER_OLD_BLOCK_DELTA_TIP Delta tip between old and new (Default: 5040)

Running the Minotari Node

    ./minotari_node \
     -b syncNode-ip4 \
     --network mainnet \
     --disable-splash-screen \
     --non-interactive-mode \
     --grpc-enabled \
     -p bypass_range_proof_verification=true \
     -p base_node.grpc_address=/ip4/127.0.0.1/tcp/18142 \
     -p base_node.grpc_server_allow_methods=\"get_tokens_in_circulation,get_tip_info,get_sync_info,get_sync_progress,get_mempool_stats,get_version,get_network_status,list_headers,get_mempool_transactions,get_active_validator_nodes,get_blocks\" \
     --mining-enabled

Requrired allow methods:

  • get_tokens_in_circulation
  • get_tip_info
  • get_sync_info
  • get_sync_progress
  • get_mempool_stats
  • get_version
  • get_network_status
  • list_headers
  • get_mempool_transactions
  • get_active_validator_nodes
  • get_blocks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 69.5%
  • Handlebars 29.4%
  • Dockerfile 1.1%
0