• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hyperledger / fabric-x-committer / 23547454108 / 1
91%
main: 91%

Build:
DEFAULT BRANCH: main
Ran 25 Mar 2026 03:00PM UTC
Files 79
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Mar 2026 02:53PM UTC coverage: 75.273% (+2.2%) from 73.05%
23547454108.1

push

github

web-flow
[bft-delivery] BFT delivery (#427)

#### Type of change

- New feature
- Improvement (improvement to code, performance, etc)
- Breaking change
 
#### Description

**[BFT block delivery]**
- Introduce BFT (Byzantine Fault Tolerant) block delivery with block
withholding detection
- Use only the config block as the initialization mechanism (no separate
bootstrap config)
- Split the delivery package into 3:
- `deliver` (core library) - provides `ToQueue()` method for streaming
blocks to Go channels
- `deliverorderer` (BFT delivery from orderer) - implements
fault-tolerant delivery with verification and block withholding
detection
- `delivercommitter` (delivery from sidecar/ledger) - implements
delivery from peer ledger service (instead of `sidecarclient`)
- Replace the "client" notation with `ToQueue()` method that delivers to
a channel
- Move the `NewBroadcastStream()` method to loadgen package
(`loadgen/adapters/broadcast.go`) as it is the main use case for it

**[Test ENV]**
- Introduce a common `OrdererTestEnv` in `mock/test_exports.go` that
prepares the orderer and artifacts for tests
- Use it everywhere the Orderer is used for testing
- `MockOrderer` now receives `ArtifactsPath` instead of
`ConfigBlockPath` to support signing the blocks

**[ordererconn]**
- `LoadConfigBlock()/LoadConfigBlockFromFile()` now returns
`ConfigBlockMaterial` which includes:
  - Channel ID
  - Config block
  - Bundle
  - Orderer organizations with endpoints and CAs
  - Application organizations with CAs
- Remove connection manager (`conn_manager.go`) and replace with
`ConnectionMaterial` struct
- Add `OrdererConnectionMaterial()` method which returns
`connection.ClientMaterial` instances to connect to the orderer
- Add comprehensive tests: `config_test.go`, `identity_test.go`,
`load_test.go`

**[connection]**
- Introduce `ClientMaterial` struct for connection configuration without
YAML config:
  - Contains `Endpoints`, `TLS`, and `Retry` fields
  - Factory method `NewClien... (continued)

4417 of 5868 relevant lines covered (75.27%)

1072.25 hits per line

Source Files on job unit-test - 23547454108.1
  • Tree
  • List 79
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 23547454108
  • 53a16aac on github
  • Prev Job for on main (#23533082216.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc