nooschain / node-sync/payload-replication / PayloadReplicationDecision
Interface: PayloadReplicationDecision
Defined in: node-sync/payload-replication.ts:28
Reasoned decision for retaining encrypted payload bytes on this node.
Properties
localNodeOrganizationId
localNodeOrganizationId:
string|null
Defined in: node-sync/payload-replication.ts:45
Local node organization id when the node identity exists.
reason
reason:
"metadata_only"|"replicate_to_all_nodes"|"authorized_bucket_owner"|"authorized_by_access_rule"|"not_authorized"|"local_node_unknown"|"node_membership_unverified"|"node_membership_mismatch"|"unsupported_policy"
Defined in: node-sync/payload-replication.ts:32
Stable reason used by backfill observability and diagnostics.
replicationPolicy
replicationPolicy:
string
Defined in: node-sync/payload-replication.ts:43
Bucket replication policy read from consensus state.
shouldReplicate
shouldReplicate:
boolean
Defined in: node-sync/payload-replication.ts:30
Whether ciphertext should be stored locally for this bucket/node pair.