|
Ran
|
Jobs
1
|
Files
130
|
Run time
1min
|
Badge
README BADGES
|
push
github
Merge rust-bitcoin/rust-bitcoin#4639: feat(p2p): create `NetworkExt` trait for default P2P port and `Magic` values <a class=hub.com/rust-bitcoin/rust-bitcoin/commit/<a class="double-link" href="https://git"><a class=hub.com/rust-bitcoin/rust-bitcoin/commit/eba12041cbeba1de3c71fdc83186dfb112dcae5b">eba12041c feat(p2p): create `NetworkExt` trait for default P2P port and network `Magic` values (Luis Schwab) Pull request description: Closes #4632. ~~Depends on #4640.~~ This PR introduces the `NetworkExt` trait that extends `Network` with getters for default P2P port and network `Magic` bytes. ## Changelog - Create `NetworkExt` trait. - Implement `default_p2p_port` for `Network`. - Implement `default_network_magic` for `Network`. ACKs for top commit: tcharding: ACK eba12041cbeba1de3c71fdc83186dfb112dcae5b apoelstra: ACK eba12041cbeba1de3c71fdc83186dfb112dcae5b; successfully ran local tests Tree-SHA512: 83e05981b8aedc179c475ef83b073a30fb3
41 of 43 new or added lines in 1 file covered. (95.35%)
7 existing lines in 1 file now uncovered.21373 of 25584 relevant lines covered (83.54%)
15245.83 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 2 |
95.35 |
p2p/src/network_ext.rs |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 7 |
86.65 |
-0.46% | bitcoin/src/psbt/mod.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 16402235516.1 | 130 |
83.54 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|