Skip to content

Commit

Permalink
Network: oxfordnet (#1006)
Browse files Browse the repository at this point in the history
* Network: oxfordnet

* Disable oxford API
  • Loading branch information
aopoltorzhicky committed Dec 28, 2023
1 parent d015a86 commit 2385a92
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
16 changes: 8 additions & 8 deletions configs/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ rpc:
uri: https://rpc.tzkt.io/nairobinet
timeout: 20
requests_per_second: 15
# oxfordnet:
# uri: https://rpc.tzkt.io/oxfordnet
# timeout: 20
# requests_per_second: 20
oxfordnet:
uri: https://rpc.tzkt.io/oxfordnet
timeout: 20
requests_per_second: 20

log_level: ${LOG_LEVEL:-info}

Expand Down Expand Up @@ -64,7 +64,7 @@ api:
mainnet: https://rpc.tzkt.io/mainnet
ghostnet: https://rpc.tzkt.io/ghostnet
nairobinet: https://rpc.tzkt.io/nairobinet
# oxfordnet: https://rpc.tzkt.io/oxfordnet
oxfordnet: https://rpc.tzkt.io/oxfordnet
networks:
- mainnet
- ghostnet
Expand All @@ -81,12 +81,12 @@ indexer:
receiver_threads: 5
nairobinet:
receiver_threads: 15
# oxfordnet:
# receiver_threads: 10
oxfordnet:
receiver_threads: 10

scripts:
networks:
- mainnet
- ghostnet
- nairobinet
# - oxfordnet
- oxfordnet
16 changes: 8 additions & 8 deletions configs/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ rpc:
uri: https://rpc.tzkt.io/nairobinet
timeout: 20
requests_per_second: 10
# oxfordnet:
# uri: https://rpc.tzkt.io/oxfordnet
# timeout: 20
# requests_per_second: 20
oxfordnet:
uri: https://rpc.tzkt.io/oxfordnet
timeout: 20
requests_per_second: 20

log_level: ${LOG_LEVEL:-info}

Expand Down Expand Up @@ -67,7 +67,7 @@ api:
mainnet: https://rpc.tzkt.io/mainnet
ghostnet: https://rpc.tzkt.io/ghostnet
nairobinet: https://rpc.tzkt.io/nairobinet
# oxfordnet: https://rpc.tzkt.io/oxfordnet
oxfordnet: https://rpc.tzkt.io/oxfordnet
networks:
- mainnet
- ghostnet
Expand All @@ -84,8 +84,8 @@ indexer:
receiver_threads: ${TESTNET_THREADS:-10}
nairobinet:
receiver_threads: ${TESTNET_THREADS:-10}
# oxfordnet:
# receiver_threads: ${TESTNET_THREADS:-10}
oxfordnet:
receiver_threads: ${TESTNET_THREADS:-10}

scripts:
aws:
Expand All @@ -97,4 +97,4 @@ scripts:
- mainnet
- ghostnet
- nairobinet
# - oxfordnet
- oxfordnet
3 changes: 2 additions & 1 deletion internal/bcd/protocols.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ var symLinks = map[string]string{
"PtMumbai2TmsJHNGRkD8v8YDbtao7BLUC3wjASn1inAKLFCjaH1": SymLinkJakarta, // Mumbai 2
"PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf": SymLinkJakarta, // Nairobinet
"ProxfordSW2S7fvchT1Zgj2avb5UES194neRyYVXoaDGvF9egt8": SymLinkJakarta, // Oxford
"ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH": SymLinkJakarta, // Oxford 2
}

// GetProtoSymLink -
Expand Down Expand Up @@ -77,5 +78,5 @@ var ChainID = map[string]string{
"NetXizpkH94bocH": "limanet",
"NetXQw6nWSnrJ5t": "mumbainet",
"NetXyuzvDo2Ugzb": "nairobinet",
"NetXH6zDyMzRsUy": "oxfordnet",
"NetXxWsskGahzQB": "oxfordnet",
}

0 comments on commit 2385a92

Please sign in to comment.