File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 53
53
#define FD_SHRED_STORE_MTU (41792UL)
54
54
55
55
/* FD_SHRED_REPAIR_MTU is the maximum size of a frag on the shred_repair
56
- link. This is the size of a data shred header + merkle root. */
56
+ link. This is the size of a data shred header + merkle root
57
+ + chained merkle root. */
57
58
58
- #define FD_SHRED_REPAIR_MTU (FD_SHRED_DATA_HEADER_SZ + FD_SHRED_MERKLE_ROOT_SZ)
59
- FD_STATIC_ASSERT ( FD_SHRED_REPAIR_MTU == 120 , update FD_SHRED_REPAIR_MTU );
59
+ #define FD_SHRED_REPAIR_MTU (FD_SHRED_DATA_HEADER_SZ + 2* FD_SHRED_MERKLE_ROOT_SZ)
60
+ FD_STATIC_ASSERT ( FD_SHRED_REPAIR_MTU == 152UL , update FD_SHRED_REPAIR_MTU );
60
61
61
62
/* Maximum size of frags going into the writer tile. */
62
63
#define FD_REPLAY_WRITER_MTU (128UL)
You can’t perform that action at this time.
0 commit comments