Support connectors validation client-side & Minor fixes (#126)

* Validate connectors client-side when sending offchain

* Minor fixes

* validate connector input in forfeit txs

---------

Co-authored-by: Louis <louis@vulpem.com>
This commit is contained in:
Pietralberto Mazza
2024-03-05 13:04:32 +01:00
committed by GitHub
parent 066e8eeabb
commit fb64bd35d8
8 changed files with 234 additions and 136 deletions

View File

@@ -240,9 +240,10 @@ func (h *handler) listenToEvents() {
Event: &arkv1.GetEventStreamResponse_RoundFinalization{
RoundFinalization: &arkv1.RoundFinalizationEvent{
Id: e.Id,
PoolPartialTx: e.PoolTx,
PoolTx: e.PoolTx,
CongestionTree: castCongestionTree(e.CongestionTree),
ForfeitTxs: e.UnsignedForfeitTxs,
Connectors: e.Connectors,
},
},
}