Skip to content

Conversation

@wickwire
Copy link

peers table:
When starting the light node for the first time, the table is created without the mining_address column, which throws an error.

time feature:
Mining nodes trying to connect to the light node will request the current time of the light node via the http /time API method, which doesn't exist.

wickwire added 2 commits May 10, 2025 19:27
mining nodes trying to connect to the light node will check the light node time (unix timestamp format) through http /time. This change, along more at `syncing.js` will ensure the light node delivers it.
getTime() relates to changes at expressApp.js to provide the light node unix timestamp over http, a requirement for mining nodes trying to connect.
The peers table was throwing an error due to a missing table column, fixed it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant