Skip to content

slave node design#148

Open
syntrust wants to merge 2 commits into
mainfrom
dl-goshard-slave
Open

slave node design#148
syntrust wants to merge 2 commits into
mainfrom
dl-goshard-slave

Conversation

@syntrust

Copy link
Copy Markdown
Collaborator


## Architecture overview

All code lands under new packages; no geth source file is modified, per the project rule

@blockchaindevsh blockchaindevsh Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's not accurate, we'll modify in-place the geth modules that take interface as parameter(if possible), but will modify out-place those that take concrete types.

goquarkchain/pyquarkchain config divergences are immaterial here: the WebSocket RPC port
(singular nullable `WEBSOCKET_JSON_RPC_PORT` in pyquarkchain
([`cluster_config.py:91`](https://github.com/QuarkChain/pyquarkchain/blob/master/quarkchain/cluster/cluster_config.py#L91))
vs array `WEBSOCKET_JSON_RPC_PORT_LIST` in the existing config) is never read.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WEBSOCKET_JSON_RPC_PORT_LIST will be gone after merging QuarkChain/goshard#16

| Unknown `--node_id` | `ResolveSlave` | Exit non-zero: `unknown node id "S9" (config defines: S0)`. |
| Shard id not in any chain | `Validate()` | Reject at load, before any db opens. |
| Duplicate shard ownership | `Validate()` | Reject at load. |
| Legacy `CHAIN_MASK_LIST` | parse | Explicit "legacy config not supported". |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QuarkChain/goshard#16 is still supporting CHAIN_MASK_LIST, have we reached consensus about dropping 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.

2 participants