<!-- XE-13394 · [High] Gossip.Subscribe silently drops every multisig block that blockValidator accepts and relays · testnet -->
*Markdown view of <https://bounty.xe.network/XE-13394>. The page is the record; this is the same page for reading.*

XE-13394 · Bounty

# \[High\] Gossip.Subscribe silently drops every multisig block that blockValidator accepts and relays

Closed · duplicate
—claimed High
[xe#552](https://github.com/xeprotocol/xe/issues/552)
filed 2026-11-14 07:15 UTC
by syhrii

Verdict
:   Duplicate

Tier
:   —

Claimed
:   High

Area
:   P2P / sync

Duplicate of
:   —

Tracked
:   —

Updated
:   2026-11-20 14:45 UTC

Told
:   2026-11-20 14:44 UTC

### Patches

- [xe#556](https://github.com/xeprotocol/xe/pull/556) open by Khanhtnq
  net: deliver multisig blocks in Gossip.Subscribe and reject invalid gossip messages (Fixes #552, Fixes #551)

### History

- [606633](https://bounty.xe.network/log/606633) 2026-11-20 14:45 UTC github.state\_pushed
- [606632](https://bounty.xe.network/log/606632) 2026-11-20 14:45 UTC github.labels
- [606443](https://bounty.xe.network/log/606443) 2026-11-20 14:44 UTC reply.mirrored
- [606385](https://bounty.xe.network/log/606385) 2026-11-20 14:44 UTC proposal.adopted
- [606384](https://bounty.xe.network/log/606384) 2026-11-20 14:44 UTC reply.sent
- [606383](https://bounty.xe.network/log/606383) 2026-11-20 14:44 UTC ticket.status new → closed
- [605844](https://bounty.xe.network/log/605844) 2026-11-20 14:44 UTC proposal.adopted
- [605843](https://bounty.xe.network/log/605843) 2026-11-20 14:44 UTC ticket.facts area
- [605842](https://bounty.xe.network/log/605842) 2026-11-20 14:44 UTC proposal.adopted
- [605841](https://bounty.xe.network/log/605841) 2026-11-20 14:44 UTC ticket.facts
- [605840](https://bounty.xe.network/log/605840) 2026-11-20 14:44 UTC proposal.adopted
- [605839](https://bounty.xe.network/log/605839) 2026-11-20 14:44 UTC ticket.facts

[Full history](https://bounty.xe.network/log?ref=XE-13394) · [JSON](https://bounty.xe.network/v1/tickets/XE-13394) · [markdown](https://bounty.xe.network/XE-13394.md)

### Report

## Summary

Validator and subscriber disagree on what a valid block looks like. `blockValidator` accepts a block when `len(b.Signature) == 128 || len(b.Signatures) > 0` (`net/gossip_validate.go:79`), but `Gossip.Subscribe` drops anything with `len(b.Signature) != 128` (`net/gossip.go:150`). Multisig blocks carry no single `Signature` by construction, so the mesh relays them while no node ever ingests one from gossip.

## Location

- `net/gossip.go:150` vs `net/gossip_validate.go:79-81`, commit `89a542e` (testnet-0005).

```
// net/gossip.go:150
if len(b.Hash) != 64 || len(b.Signature) != 128 || len(b.Account) != 64 { continue }
```

```
// net/gossip_validate.go:79
if len(b.Signature) != 128 && len(b.Signatures) == 0 {
	return pubsub.ValidationReject
}
```

Why multisig blocks have no single `Signature`: `core/crypto.go:158` (`VerifyBlock` returns early when `len(b.Signatures) > 0`); `core/crypto.go:120` (multisig blocks must not declare a `pub_key`); the ledger verifies them via `VerifyMultisig` / `VerifyMultisigAny` on `b.Signatures` (`core/ledger.go:1436,1441`).

## Impact

An entire account class (multisig accounts — the high-value accounts) loses gossip propagation entirely. Their blocks, including conflicting/forked blocks, only arrive via periodic `/xe/sync/1.0.0` pulls, so block delivery, conflict detection, and vote-pull/finality for those accounts are delayed to the sync cadence instead of gossip speed. No crash and no ledger corruption — the blocks are valid and eventually sync.

## Reproduction

In a copy of the repo, a live-pubsub test: a multisig block (`Signature: ""`, one `Signatures` entry, correct `HashBlock` hash) returns `ValidationAccept` from `blockValidator`, yet published on a real local gossipsub topic it never arrives on `Gossip.Subscribe` within 3s, while an otherwise identical single-sig control block published immediately after is delivered.

## Suggested fix

In `Gossip.Subscribe`, accept blocks with `len(b.Signatures) > 0` (mirror the validator's condition) — i.e. drop only when `len(b.Signature) != 128 && len(b.Signatures) == 0`.

## Severity

**High.** Systematic loss of gossip propagation for a whole account class, degrading conflict detection and finality for high-value accounts. No corruption or fund loss, so not Severe.

## Dedup check

Checked against the bounty board (visible tickets) — no match for `Subscribe` / multisig gossip. Closest: XE-5926 / XE-2614 / XE-3058 / XE-3274 (multisig signature-threshold bypasses — about how many signatures a multisig block needs at *ledger* admission, not gossip intake). XE-6370 (no block dedup — opposite direction: over-delivery of valid blocks vs. systematic drop of a block class).

### Thread

**Joseph Denne**team2026-11-20 14:44 UTCgithub

Thanks. This is the same finding as an earlier report that is not public, which was filed first; the programme pays the
first verifiable submission, so this one closes as a duplicate. If you believe it is a different
bug, file a new report that links https://bounty.xe.network/XE-13394 and says what differs; it is read like any other.
