From 25dd1963282bd584ea8568513d2999918617db16 Mon Sep 17 00:00:00 2001 From: Artem Date: Mon, 25 Dec 2023 22:52:20 +0100 Subject: [PATCH] Network: oxfordnet --- configs/development.yml | 22 +++++++++++----------- configs/production.yml | 20 ++++++++++---------- internal/bcd/protocols.go | 3 ++- 3 files changed, 23 insertions(+), 22 deletions(-) diff --git a/configs/development.yml b/configs/development.yml index 2271917a8..351eb6f60 100644 --- a/configs/development.yml +++ b/configs/development.yml @@ -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} @@ -25,8 +25,8 @@ services: mempool: https://mempool.test.dipdup.net/v1/graphql nairobinet: mempool: https://mempool.test.dipdup.net/v1/graphql - # oxfordnet: - # mempool: https://mempool.test.dipdup.net/v1/graphql + oxfordnet: + mempool: https://mempool.test.dipdup.net/v1/graphql storage: pg: @@ -64,12 +64,12 @@ 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 - nairobinet - # - oxfordnet + - oxfordnet indexer: project_name: indexer @@ -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 diff --git a/configs/production.yml b/configs/production.yml index a88daae7f..383ee1348 100644 --- a/configs/production.yml +++ b/configs/production.yml @@ -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} @@ -25,8 +25,8 @@ services: mempool: https://mempool.test.dipdup.net/v1/graphql nairobinet: mempool: https://mempool.test.dipdup.net/v1/graphql - # oxfordnet: - # mempool: https://mempool.test.dipdup.net/v1/graphql + oxfordnet: + mempool: https://mempool.test.dipdup.net/v1/graphql storage: pg: @@ -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 @@ -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: @@ -97,4 +97,4 @@ scripts: - mainnet - ghostnet - nairobinet - # - oxfordnet + - oxfordnet diff --git a/internal/bcd/protocols.go b/internal/bcd/protocols.go index 543154cba..1b3cbb3ee 100644 --- a/internal/bcd/protocols.go +++ b/internal/bcd/protocols.go @@ -41,6 +41,7 @@ var symLinks = map[string]string{ "PtMumbai2TmsJHNGRkD8v8YDbtao7BLUC3wjASn1inAKLFCjaH1": SymLinkJakarta, // Mumbai 2 "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf": SymLinkJakarta, // Nairobinet "ProxfordSW2S7fvchT1Zgj2avb5UES194neRyYVXoaDGvF9egt8": SymLinkJakarta, // Oxford + "ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH": SymLinkJakarta, // Oxford 2 } // GetProtoSymLink - @@ -77,5 +78,5 @@ var ChainID = map[string]string{ "NetXizpkH94bocH": "limanet", "NetXQw6nWSnrJ5t": "mumbainet", "NetXyuzvDo2Ugzb": "nairobinet", - "NetXH6zDyMzRsUy": "oxfordnet", + "NetXxWsskGahzQB": "oxfordnet", }