Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
0cc2f78
replicate chains and refactor replication state
samliok Nov 24, 2025
b8552f3
breaking MultiNodeBlacklist Test
samliok Nov 24, 2025
af999d3
failove test uncomment
samliok Nov 24, 2025
24c6462
dont skip replicationafternodedisconnects
samliok Nov 24, 2025
ee838ad
remove cancel since we may not have updated our epoch round yet
samliok Nov 25, 2025
285d2e0
uncomment so we can check ci but test is still flaking
samliok Nov 25, 2025
e75288b
blacklist flake fix
samliok Nov 25, 2025
cfc356e
Merge branch 'main' into cr
samliok Dec 1, 2025
a1129d2
merge conflicts
samliok Dec 1, 2025
f17e136
cleanup old finalized tasks, nits and clarifications from review
samliok Dec 1, 2025
61c8191
add finalized check in process
samliok Dec 1, 2025
f526717
nits
samliok Dec 1, 2025
5a8248e
nits
samliok Dec 1, 2025
27f3b8e
don't vote
samliok Dec 1, 2025
3ad0158
don't vote pt 21
samliok Dec 1, 2025
c2d8ef8
flake
samliok Dec 1, 2025
217f04b
flake
samliok Dec 1, 2025
98edf52
send segments helper
samliok Dec 1, 2025
6a02896
remove digests from map
samliok Dec 1, 2025
78f92c1
add mixing comment
samliok Dec 1, 2025
8ab3735
naming, println, and a few nits from review
samliok Dec 2, 2025
fb5dfb0
simplify timeouthandler and remove the should deleteFunc
samliok Dec 2, 2025
5b34b96
dos check
samliok Dec 2, 2025
943dcd7
add tests to ensure we don't double increment
samliok Dec 2, 2025
519bef6
old todo
samliok Dec 2, 2025
c60bfc7
revert <= change
samliok Dec 2, 2025
f672a6c
update comment
samliok Dec 2, 2025
e4932fa
nits, comment review, renames, lock, unused code
samliok Dec 8, 2025
4c33736
forgot to change function name
samliok Dec 8, 2025
fa56048
remove finalize check
samliok Dec 8, 2025
2f59100
Merge branch 'main' into cr
samliok Dec 8, 2025
e9d906b
merge conflicts
samliok Dec 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ type Storage interface {
}

type Communication interface {

// Nodes returns all nodes that participate in the epoch.
Nodes() []NodeID

Expand Down
2 changes: 1 addition & 1 deletion blacklist.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (bl *Blacklist) String() string {
if i > 0 {
buf = append(buf, ',')
}
buf = append(buf, fmt.Sprintf("{type=%d, NodeIndex=%d}", u.Type, u.NodeIndex)...)
buf = append(buf, u.String()...)
}
buf = append(buf, "])"...)
return string(buf)
Expand Down
18 changes: 0 additions & 18 deletions block_scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,6 @@ const (
defaultWaitDuration = 500 * time.Millisecond
)

func waitNoReceive(t *testing.T, ch <-chan struct{}) {
select {
case <-ch:
t.Fatal("channel unexpectedly signaled")
case <-time.After(defaultWaitDuration):
// good
}
}

func waitReceive(t *testing.T, ch <-chan struct{}) {
select {
case <-ch:
// good
case <-time.After(defaultWaitDuration):
t.Fatal("timed out waiting for signal")
}
}

func TestBlockVerificationScheduler(t *testing.T) {
t.Run("Schedules immediately when no dependencies", func(t *testing.T) {
scheduler := simplex.NewScheduler(testutil.MakeLogger(t), defaultMaxDeps)
Expand Down
Loading
Loading