| Disabled |
bool |
false |
blockassembly_disabled |
Service-level kill switch, all operations return early |
| GRPCAddress |
string |
"localhost:8085" |
blockassembly_grpcAddress |
Client connection address |
| GRPCListenAddress |
string |
":8085" |
blockassembly_grpcListenAddress |
CRITICAL - gRPC server binding (service skipped if empty) |
| GRPCMaxRetries |
int |
3 |
blockassembly_grpcMaxRetries |
gRPC client retry attempts |
| GRPCRetryBackoff |
time.Duration |
2s |
blockassembly_grpcRetryBackoff |
Retry delay timing |
| LocalDAHCache |
string |
"" |
blockassembly_localDAHCache |
UNUSED - Reserved for future DAH caching |
| MaxBlockReorgCatchup |
int |
100 |
blockassembly_maxBlockReorgCatchup |
Map capacity for current chain tracking |
| MaxBlockReorgRollback |
int |
100 |
blockassembly_maxBlockReorgRollback |
UNUSED - Defined but not referenced in code |
| MoveBackBlockConcurrency |
int |
375 |
blockassembly_moveBackBlockConcurrency |
Concurrency limit for reorg processing (SubtreeProcessor) |
| ProcessRemainderTxHashesConcurrency |
int |
375 |
blockassembly_processRemainderTxHashesConcurrency |
Concurrency limit for remainder tx hash processing |
| SendBatchSize |
int |
100 |
blockassembly_sendBatchSize |
Client batch size for sending transactions |
| SendBatchTimeout |
int |
2 |
blockassembly_sendBatchTimeout |
Client batch timeout in milliseconds |
| SubtreeProcessorBatcherSize |
int |
1000 |
blockassembly_subtreeProcessorBatcherSize |
Subtree processing batch size |
| SubtreeProcessorConcurrentReads |
int |
375 |
blockassembly_subtreeProcessorConcurrentReads |
CRITICAL - Subtree read parallelism |
| NewSubtreeChanBuffer |
int |
1000 |
blockassembly_newSubtreeChanBuffer |
CRITICAL - New subtree channel buffer |
| SubtreeRetryChanBuffer |
int |
1000 |
blockassembly_subtreeRetryChanBuffer |
CRITICAL - Retry channel buffer |
| SubmitMiningSolutionWaitForResponse |
bool |
true |
blockassembly_SubmitMiningSolution_waitForResponse |
CRITICAL - Sync (true) vs async (false) mining solution processing |
| InitialMerkleItemsPerSubtree |
int |
1048576 |
initial_merkle_items_per_subtree |
Initial subtree size |
| MinimumMerkleItemsPerSubtree |
int |
1024 |
minimum_merkle_items_per_subtree |
Minimum subtree size |
| MaximumMerkleItemsPerSubtree |
int |
1048576 |
maximum_merkle_items_per_subtree |
Maximum subtree size |
| DoubleSpendWindow |
time.Duration |
BlockTime * 6 |
N/A |
Double-spend detection window (calculated) |
| MaxGetReorgHashes |
int |
10000 |
blockassembly_maxGetReorgHashes |
CRITICAL - Reorganization hash limit |
| MinerWalletPrivateKeys |
[]string |
[] |
miner_wallet_private_keys |
Mining wallet keys |
| DifficultyCache |
bool |
true |
blockassembly_difficultyCache |
Enables difficulty calculation caching (Blockchain service) |
| UseDynamicSubtreeSize |
bool |
false |
blockassembly_useDynamicSubtreeSize |
Dynamic subtree sizing |
| MiningCandidateCacheTimeout |
time.Duration |
5s |
blockassembly_miningCandidateCacheTimeout |
Mining candidate cache validity (same height) |
| MiningCandidateSmartCacheMaxAge |
time.Duration |
10s |
blockassembly_miningCandidateSmartCacheMaxAge |
Stale cache max age for high-load scenarios |
| BlockchainSubscriptionTimeout |
time.Duration |
5m |
blockassembly_blockchainSubscriptionTimeout |
Blockchain event subscription timeout |
| OnRestartValidateParentChain |
bool |
true |
blockassembly_onRestartValidateParentChain |
Enables parent chain validation on restart |
| ParentValidationBatchSize |
int |
1000 |
blockassembly_parentValidationBatchSize |
Parent validation batch size |
| OnRestartRemoveInvalidParentChainTxs |
bool |
false |
blockassembly_onRestartRemoveInvalidParentChainTxs |
Filters transactions with invalid parent chains |
| GetMiningCandidateSendTimeout |
time.Duration |
1s |
blockassembly_getMiningCandidate_send_timeout |
Timeout sending request on internal channel |
| GetMiningCandidateResponseTimeout |
time.Duration |
10s |
blockassembly_getMiningCandidate_response_timeout |
Timeout waiting for mining candidate response |
| SubtreeAnnouncementInterval |
time.Duration |
10s |
blockassembly_subtreeAnnouncementInterval |
Subtree announcement frequency |