Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Where can I download an example global network config file (global.config.json) for mainnet and testnet?

When working with TON blockchain, I need to provide a network config file, for example when using the lite client:

lite-client -C global.config.json -c 'sendfile <boc-file>'

Where can I find this global.config.json file?

Is there a separate file for testnet and one for mainnet?


This question was imported from Telegram Chat: https://t.me/tondev/41329

Votes Newest

Answers


# This is a general node, it cannot find all transaction data.
wget https://ton.org/global-config.json -P ~/
wget https://ton.org/global-config-wallet.json -P ~/
wget https://ton-blockchain.github.io/global.config.json -P ~/

# This is the archive node, you can find all transaction data
wget https://ton.org/global-config-archive.json -P ~/


# The following are general test nodes
wget https://ton-blockchain.github.io/testnet-global.config.json -P ~/
wget https://ton.org/testnet-global.config.json -P ~/
1
1
Posted 2 years ago
22K Views
1 Answer
2 years ago
one year ago
Tags