Commit 701245b
committed
Support hoodiUZH config via intdefine
Allow loading the config #7525 which adjusts a couple config values that
so far have not been overridden by any other networks (incl under dev),
to support their research.
Went with a simple {.intdefine.} approach, and tagged everything that is
solely {.intdefine.} to support hoodiUZH as such with a comment.
The extra module is used because we convert from the raw uint64 to a
different internal type but use the same name so cannot be in same mod.
To compile for hoodiUZH:
```
NIMFLAGS="-d:SECONDS_PER_SLOT=6 -d:REORG_MAX_EPOCHS_SINCE_FINALIZATION=8 -d:MAX_REQUEST_BLOCKS=256 -d:EPOCHS_PER_SUBNET_SUBSCRIPTION=64 -d:TTFB_TIMEOUT=10 -d:RESP_TIMEOUT=20 -d:MAXIMUM_GOSSIP_CLOCK_DISPARITY=1000 -d:SUBNETS_PER_NODE=1 -d:REORG_HEAD_WEIGHT_THRESHOLD=10" make -j nimbus_beacon_node
```1 parent dbc7781 commit 701245b
File tree
3 files changed
+42
-14
lines changed- beacon_chain/spec
- datatypes
3 files changed
+42
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
73 | | - | |
| 73 | + | |
| 74 | + | |
74 | 75 | | |
75 | | - | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
730 | 745 | | |
731 | 746 | | |
732 | 747 | | |
| |||
0 commit comments