Comments (6)
We need to add bootnodes
on src/geth/networkConfig.ts
like this:
"bootnodeEnodes": [ // --bootnodesv5 / Enodes of v5 bootnodes for p2p discovery
"enode://XXXX@X[::]:XXXX",
"enode://YYYY@Y[::]:YYYY"
],
Static nodes do not allow for network discovery but bootnodes yes. Discovery is turned on by default but without bootnodes there is not network discovery.
from wallet.
static_nodes
has a JSON list but env_bootnodes
has a character separated list.
static_nodes:
["enode://pubkey1@ip1:30303","enode://pubkey2@ip2:30303", ...]
env_bootnodes:
enode://somepubkey@someip:30303
I will assume they are separated by ;
, same format as in geth
parameters.
from wallet.
I have an issued building contractkit
:
src/geth/networkConfig.ts:1:10 - error TS2305: Module '"../../../../../../../../Users/jose/celo/celo-monorepo/packages/contractkit/lib"' has no exported member 'BootnodeUtils'.
1 import { BootnodeUtils } from '@celo/contractkit'
~~~~~~~~~~~~~
from wallet.
Configuration was plugged, not sure how to see geth logs now to see any diff with static nodes:
[Wed Jun 03 2020 21:20:33.504] DEBUG geth/saga@gethSagaIfNecessary/Starting geth saga...
[Wed Jun 03 2020 21:20:33.505] DEBUG geth/saga/Initializing Geth
[Wed Jun 03 2020 21:20:33.507] DEBUG Geth@getGeth/Getting Geth Instance
[Wed Jun 03 2020 21:20:33.508] INFO Geth@init/Create a new Geth instance
[Wed Jun 03 2020 21:20:33.509] LOG Running "celo" with {"rootTag":31,"initialProps":{"isHeadless":false}}
[Wed Jun 03 2020 21:20:33.510] INFO CeloAnalytics/Analytics is disabled, not tracking event APP_LOADED
[Wed Jun 03 2020 21:20:33.512] LOG socket-0 ["closing"]
[Wed Jun 03 2020 21:20:33.514] LOG socket-0 ["closed"]
[Wed Jun 03 2020 21:20:33.515] DEBUG Geth@ensureGenesisBlockWritten/genesis block already written
[Wed Jun 03 2020 21:20:33.516] DEBUG Geth@maybeInitStaticNodes/static nodes already initialized
[Wed Jun 03 2020 21:20:33.518] DEBUG Geth@newGeth/Configure and create new Geth
[Wed Jun 03 2020 21:20:33.586] INFO CommentEncryption/Could not decrypt: Buffer length too short
[Wed Jun 03 2020 21:20:33.597] INFO CommentEncryption/Could not decrypt: Buffer length too short
[Wed Jun 03 2020 21:20:33.605] INFO CommentEncryption/Could not decrypt: Buffer length too short
[Wed Jun 03 2020 21:20:33.611] INFO CommentEncryption/Could not decrypt: Buffer length too short
[Wed Jun 03 2020 21:20:33.615] INFO CommentEncryption/Could not decrypt: Buffer length too short
[Wed Jun 03 2020 21:20:33.621] INFO CommentEncryption/Could not decrypt: Buffer length too short
[Wed Jun 03 2020 21:20:33.625] INFO CommentEncryption/Could not decrypt: Buffer length too short
[Wed Jun 03 2020 21:20:33.635] INFO CommentEncryption/Could not decrypt: Buffer length too short
[Wed Jun 03 2020 21:20:33.641] INFO CommentEncryption/Could not decrypt: Buffer length too short
[Wed Jun 03 2020 21:20:33.679] DEBUG sentry/Sentry/initializeSentryUserContext, Setting Sentry user context to account "0xeb370de7971347cecc338d64047198b427ae5e17"
[Wed Jun 03 2020 21:20:33.686] DEBUG home/saga/Fetching all balances
[Wed Jun 03 2020 21:20:33.718] INFO %s: Calling `getNode()` on the ref of an Animated component is no longer necessary. You can now directly use the ref instead. This method will be removed in a future release. ["ReactNativeFiberHostComponent"]
[Wed Jun 03 2020 21:20:33.726] DEBUG Geth@newGeth/Network ID is 44786, syncMode is 5
[Wed Jun 03 2020 21:20:33.800] DEBUG app/saga/App version is valid
[Wed Jun 03 2020 21:20:33.804] DEBUG i18n/Skipping user language cache en-US
[Wed Jun 03 2020 21:20:33.807] LOG i18next: languageChanged ["en-US"]
[Wed Jun 03 2020 21:20:33.823] INFO clockInSync/Local time: 6/3/2020, 9:20:33 PM Remote time: 6/3/2020, 9:20:33 PM drift: 72 milliseconds
[Wed Jun 03 2020 21:20:33.832] INFO firebase/firebase/Firebase Auth initialized successfully
[Wed Jun 03 2020 21:20:33.833] INFO firebase/firebase/Setting language selection for user 0xeb370de7971347cecc338d64047198b427ae5e17
[Wed Jun 03 2020 21:20:33.835] INFO firebase/firebase/Initializing Firebase Cloud Messaging
[Wed Jun 03 2020 21:20:33.953] INFO CommentEncryption/Could not decrypt: Buffer length too short
[Wed Jun 03 2020 21:20:33.977] INFO firebase/firebase/Registering Firebase client FCM token
[Wed Jun 03 2020 21:20:34.350] INFO firebase/firebase/User Language synced successfully, en-US
[Wed Jun 03 2020 21:20:34.540] DEBUG Geth@newGeth/Bootnodes!!!! = enode://e99a883d0b7d0bacb84cde98c4729933b49adbc94e718b77fdb31779c7ed9da6c49236330a9ae096f42bcbf6e803394229120201704b7a4a3ae8004993fa0876@35.247.115.108:30303
from wallet.
Commented out static nodes and is not working with the bootnodes available on alfajores:
2020-06-04 12:35:52.463 [info][tid:com.facebook.react.JavaScript] geth/saga@monitorGeth/Did not receive a block in 30000 milliseconds:
from wallet.
@nityas this epic is over but should this still be open?
from wallet.
Related Issues (20)
- Few Pages are seen distorted when user has set the font size to maximum while performing send secure flow
- [Query] Should Valora icon be seen beside “Address copied to clipboard” toast message when user taps on Tap to Copy text below Account address from the Hamburger menu. HOT 1
- Cursor moves to next block when user clicks on "enter" button from Android Keyboard / "return" button from iOS keyboard on send secure page
- Old design of send secure flow is seen when user tries to send amount to the same number as registered number and has two accounts associated with same number HOT 3
- [Query] Can we redirect user to homepage when user tries to invite a friend using inapp-CTA and with zero balance instead of staying on enter amount page HOT 1
- Emoji’s are seen cropped on request CTA when User A has kept name as emoji’s and have sent request to User B HOT 1
- No details are seen of User B on request in app CTA when User B has requested an amount and User A has not saved the phone number of User B in device
- [Android] Blank page is seen when user taps on < arrow from header from enter amount page and other various pages HOT 1
- User is able to restore account even after entering wrong pin while performing restore flow HOT 2
- Blank screen is seen when the user taps on the refresh button from Staked Celo in-app browser after disconnecting the dapp from the connected dapps screen.
- ”Error loading page” error is displayed when user navigates to alities.io page via Dapps page HOT 1
- User is able to save blank space in name field in Edit profile page from the Settings page HOT 1
- `useMaxSendAmount` fails with CELO HOT 3
- chore(deps): update dependency @testing-library/jest-native to ^4.0.13
- chore(deps): update dependency @testing-library/jest-native to ^4.0.13
- Freeze on initial load after creating new account HOT 1
- Invite modal incorrectly displays header
- Valora wallet (android) BROKEN: does not receive transactions from connected dapps. HOT 4
- Error: • TypeError: Invalid argument type in ToBigInt operation. when trying to sign a transaction HOT 1
- Allow type value to send a coin or token in fiat or that token. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wallet.