|
Ran
|
Jobs
1
|
Files
97
|
Run time
6min
|
Badge
README BADGES
|
push
github
refactor(params): simpler and more consistent Dogecoin params (#12) Changes to Dogecoin parameters, in preparation for DigiShield difficulty adjustment PR https://github.com/dfinity/rust-dogecoin/pull/11: - replace `struct Params` encapsulating `bitcoin_params` and `dogecoin_params` into unified `Params` structure. - change `timespan` and `pow_target_timespan` types from `u64` to `i64`. The motivation is twofold: 1) [Dogecoin core](https://github.com/dogecoin/dogecoin/blob/51cbc1fd5/src/consensus/params.h#L67) is using `int64_t` type throughout, 2) manipulating negative `timespan` is easier and safer to handle, which is going to be the case when switching to DigiShield where difficulty adjustment interval is only 1 block. - change `pow_target_spacing` type from `u64` to `i64` for consistency with Dogecoin.
33 of 33 new or added lines in 3 files covered. (100.0%)
17463 of 21131 relevant lines covered (82.64%)
16781.07 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 16411792700.1 | 97 |
82.64 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|