forked from tornadocash/classic-ui
Enable encrypted notes for all chains & udpate caches
This commit is contained in:
parent
122d28789b
commit
56c88f9fa8
@ -1,6 +1,5 @@
|
|||||||
export const blockSyncInterval = 10000
|
export const blockSyncInterval = 10000
|
||||||
export const enabledChains = ['1', '5', '10', '56', '100', '137', '43114', '42161']
|
export const enabledChains = ['1', '5', '10', '56', '100', '137', '42161', '43114']
|
||||||
export const chainsWithEncryptedNotes = ['1', '5', '56', '100', '137']
|
|
||||||
export default {
|
export default {
|
||||||
netId1: {
|
netId1: {
|
||||||
rpcCallRetryAttempt: 15,
|
rpcCallRetryAttempt: 15,
|
||||||
@ -402,21 +401,17 @@ export default {
|
|||||||
multicall: '0xe86e3989c74293Acc962156cd3F525c07b6a1B6e',
|
multicall: '0xe86e3989c74293Acc962156cd3F525c07b6a1B6e',
|
||||||
echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
|
echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
|
||||||
rpcUrls: {
|
rpcUrls: {
|
||||||
communityRPC: {
|
publicRpc1: {
|
||||||
name: 'Tornado RPC',
|
name: 'Avalanche RPC',
|
||||||
url: 'https://avalanche-rpc.tornado.ws/ext/bc/C/rpc'
|
url: 'https://endpoints.omniatech.io/v1/avax/mainnet/public'
|
||||||
},
|
},
|
||||||
meowRPC: {
|
meowRPC: {
|
||||||
name: 'Meow RPC',
|
name: 'Meow RPC',
|
||||||
url: 'https://avax.meowrpc.com'
|
url: 'https://avax.meowrpc.com'
|
||||||
},
|
},
|
||||||
publicRpc1: {
|
communityRPC: {
|
||||||
name: 'Avalanche RPC',
|
name: 'Tornado RPC',
|
||||||
url: 'https://api.avax.network/ext/bc/C/rpc'
|
url: 'https://avalanche-rpc.tornado.ws/ext/bc/C/rpc'
|
||||||
},
|
|
||||||
oneRpc: {
|
|
||||||
name: '1RPC',
|
|
||||||
ulr: 'https://1rpc.io/avax/'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
tokens: {
|
tokens: {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { uniqBy } from 'lodash'
|
import { uniqBy } from 'lodash'
|
||||||
|
|
||||||
import networkConfig, { enabledChains, chainsWithEncryptedNotes } from '../networkConfig'
|
import networkConfig, { enabledChains } from '../networkConfig'
|
||||||
|
|
||||||
import { loadCachedEvents, save } from './helpers'
|
import { loadCachedEvents, save } from './helpers'
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ async function main() {
|
|||||||
for (let i = 0; i < enabledChains.length; i++) {
|
for (let i = 0; i < enabledChains.length; i++) {
|
||||||
const netId = enabledChains[i]
|
const netId = enabledChains[i]
|
||||||
|
|
||||||
if (netId === chainsWithEncryptedNotes[i]) updateEncrypted(netId)
|
updateEncrypted(netId)
|
||||||
|
|
||||||
await updateCommon(netId)
|
await updateCommon(netId)
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
BIN
static/events/deposits_10_eth_0.1.json.gz
Normal file
BIN
static/events/deposits_10_eth_0.1.json.gz
Normal file
Binary file not shown.
BIN
static/events/deposits_10_eth_1.json.gz
Normal file
BIN
static/events/deposits_10_eth_1.json.gz
Normal file
Binary file not shown.
BIN
static/events/deposits_10_eth_10.json.gz
Normal file
BIN
static/events/deposits_10_eth_10.json.gz
Normal file
Binary file not shown.
BIN
static/events/deposits_10_eth_100.json.gz
Normal file
BIN
static/events/deposits_10_eth_100.json.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
static/events/deposits_42161_eth_0.1.json.gz
Normal file
BIN
static/events/deposits_42161_eth_0.1.json.gz
Normal file
Binary file not shown.
BIN
static/events/deposits_42161_eth_1.json.gz
Normal file
BIN
static/events/deposits_42161_eth_1.json.gz
Normal file
Binary file not shown.
BIN
static/events/deposits_42161_eth_10.json.gz
Normal file
BIN
static/events/deposits_42161_eth_10.json.gz
Normal file
Binary file not shown.
BIN
static/events/deposits_42161_eth_100.json.gz
Normal file
BIN
static/events/deposits_42161_eth_100.json.gz
Normal file
Binary file not shown.
BIN
static/events/deposits_43114_avax_10.json.gz
Normal file
BIN
static/events/deposits_43114_avax_10.json.gz
Normal file
Binary file not shown.
BIN
static/events/deposits_43114_avax_100.json.gz
Normal file
BIN
static/events/deposits_43114_avax_100.json.gz
Normal file
Binary file not shown.
BIN
static/events/deposits_43114_avax_500.json.gz
Normal file
BIN
static/events/deposits_43114_avax_500.json.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
static/events/deposits_5_eth_0.1.json.gz
Normal file
BIN
static/events/deposits_5_eth_0.1.json.gz
Normal file
Binary file not shown.
BIN
static/events/deposits_5_eth_1.json.gz
Normal file
BIN
static/events/deposits_5_eth_1.json.gz
Normal file
Binary file not shown.
BIN
static/events/deposits_5_eth_10.json.gz
Normal file
BIN
static/events/deposits_5_eth_10.json.gz
Normal file
Binary file not shown.
BIN
static/events/deposits_5_eth_100.json.gz
Normal file
BIN
static/events/deposits_5_eth_100.json.gz
Normal file
Binary file not shown.
Binary file not shown.
BIN
static/events/encrypted_notes_10.json.gz
Normal file
BIN
static/events/encrypted_notes_10.json.gz
Normal file
Binary file not shown.
Binary file not shown.
BIN
static/events/encrypted_notes_42161.json.gz
Normal file
BIN
static/events/encrypted_notes_42161.json.gz
Normal file
Binary file not shown.
BIN
static/events/encrypted_notes_43114.json.gz
Normal file
BIN
static/events/encrypted_notes_43114.json.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
static/events/withdrawals_10_eth_0.1.json.gz
Normal file
BIN
static/events/withdrawals_10_eth_0.1.json.gz
Normal file
Binary file not shown.
BIN
static/events/withdrawals_10_eth_1.json.gz
Normal file
BIN
static/events/withdrawals_10_eth_1.json.gz
Normal file
Binary file not shown.
2
static/events/withdrawals_10_eth_10.json.gz
Normal file
2
static/events/withdrawals_10_eth_10.json.gz
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
xÚ}ĐËjSQŕůyŠÍwđ_öËĚÄůâ`_i0&<26>¦ HßÝA-‚bÇ‹µ|_–”~.)Ą´ŢŻë.đCÄ
|
||||||
|
‹îH=°m]¶,ŃöčĐ'R4µăáăŔőáµ7ÇXwiEÔ@Žěoy=_Ű·ĎĎß븻<14>ŞDżłËóů|š§qűTž_ďq W±^<5E>J'<27>)-¬UíE´»ˇ)ąőaS©<53>RT\ŮU‡ľÝŢoĺňTÚýt˝üŻ
Ęv'"˛Ü‹ÍĘłeŤě•y˘™zD*MÝ:4µG”uIéĺá_3lđDŽ®yşđFĽ/[Ű:€°Ú1äPŃĘ_fLh¨ŮÉB˙c†„úZés+G#Ă<>HÓ}¤AÓ†9<14>ŽŤjs*śGŘśď˘ĺˇDx<08>MŇ>Ů@ϢӢ!dć†ÔÚ@'Ţ˝K†N„ë’ŇËňuůAČťŁ
|
BIN
static/events/withdrawals_10_eth_100.json.gz
Normal file
BIN
static/events/withdrawals_10_eth_100.json.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
static/events/withdrawals_42161_eth_0.1.json.gz
Normal file
BIN
static/events/withdrawals_42161_eth_0.1.json.gz
Normal file
Binary file not shown.
BIN
static/events/withdrawals_42161_eth_1.json.gz
Normal file
BIN
static/events/withdrawals_42161_eth_1.json.gz
Normal file
Binary file not shown.
BIN
static/events/withdrawals_42161_eth_10.json.gz
Normal file
BIN
static/events/withdrawals_42161_eth_10.json.gz
Normal file
Binary file not shown.
BIN
static/events/withdrawals_42161_eth_100.json.gz
Normal file
BIN
static/events/withdrawals_42161_eth_100.json.gz
Normal file
Binary file not shown.
BIN
static/events/withdrawals_43114_avax_10.json.gz
Normal file
BIN
static/events/withdrawals_43114_avax_10.json.gz
Normal file
Binary file not shown.
BIN
static/events/withdrawals_43114_avax_100.json.gz
Normal file
BIN
static/events/withdrawals_43114_avax_100.json.gz
Normal file
Binary file not shown.
BIN
static/events/withdrawals_43114_avax_500.json.gz
Normal file
BIN
static/events/withdrawals_43114_avax_500.json.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
static/events/withdrawals_5_eth_0.1.json.gz
Normal file
BIN
static/events/withdrawals_5_eth_0.1.json.gz
Normal file
Binary file not shown.
BIN
static/events/withdrawals_5_eth_1.json.gz
Normal file
BIN
static/events/withdrawals_5_eth_1.json.gz
Normal file
Binary file not shown.
BIN
static/events/withdrawals_5_eth_10.json.gz
Normal file
BIN
static/events/withdrawals_5_eth_10.json.gz
Normal file
Binary file not shown.
BIN
static/events/withdrawals_5_eth_100.json.gz
Normal file
BIN
static/events/withdrawals_5_eth_100.json.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
static/trees/deposits_10_eth_0.1_bloom.json.gz
Normal file
BIN
static/trees/deposits_10_eth_0.1_bloom.json.gz
Normal file
Binary file not shown.
BIN
static/trees/deposits_10_eth_0.1_slice1.json.gz
Normal file
BIN
static/trees/deposits_10_eth_0.1_slice1.json.gz
Normal file
Binary file not shown.
BIN
static/trees/deposits_10_eth_0.1_slice2.json.gz
Normal file
BIN
static/trees/deposits_10_eth_0.1_slice2.json.gz
Normal file
Binary file not shown.
BIN
static/trees/deposits_10_eth_0.1_slice3.json.gz
Normal file
BIN
static/trees/deposits_10_eth_0.1_slice3.json.gz
Normal file
Binary file not shown.
BIN
static/trees/deposits_10_eth_0.1_slice4.json.gz
Normal file
BIN
static/trees/deposits_10_eth_0.1_slice4.json.gz
Normal file
Binary file not shown.
2
static/trees/deposits_10_eth_100_bloom.json.gz
Normal file
2
static/trees/deposits_10_eth_100_bloom.json.gz
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
x<EFBFBD>ֱ1
|
||||||
|
€0@ׁ»<D781>9C<39>$ַ)₪¬´U0המ¾<17>ht¬<74>…<EFBFBD>?C7¡ת|<7C>^4¨«5»׀Ha
<0A>;´dז“<>~
|
2
static/trees/deposits_10_eth_10_bloom.json.gz
Normal file
2
static/trees/deposits_10_eth_10_bloom.json.gz
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
xÚÁK
|
||||||
|
ƒ0…ѽ|ã;øÕ˜Ê]Ž!”:ðÑBCöî9<C3AE>ž³xã1ÄYÿ¿ÄZ¯o-?ÜXïm+n]Ü{½ÜbÀ9‰/bÂ!NbÆ!2ŽÞûsý
|
BIN
static/trees/deposits_10_eth_10_slice1.json.gz
Normal file
BIN
static/trees/deposits_10_eth_10_slice1.json.gz
Normal file
Binary file not shown.
BIN
static/trees/deposits_10_eth_1_bloom.json.gz
Normal file
BIN
static/trees/deposits_10_eth_1_bloom.json.gz
Normal file
Binary file not shown.
BIN
static/trees/deposits_10_eth_1_slice1.json.gz
Normal file
BIN
static/trees/deposits_10_eth_1_slice1.json.gz
Normal file
Binary file not shown.
BIN
static/trees/deposits_10_eth_1_slice2.json.gz
Normal file
BIN
static/trees/deposits_10_eth_1_slice2.json.gz
Normal file
Binary file not shown.
BIN
static/trees/deposits_10_eth_1_slice3.json.gz
Normal file
BIN
static/trees/deposits_10_eth_1_slice3.json.gz
Normal file
Binary file not shown.
BIN
static/trees/deposits_10_eth_1_slice4.json.gz
Normal file
BIN
static/trees/deposits_10_eth_1_slice4.json.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user