Giulio rebuffo
d4f865d725
Added proper cleanup when we get notified of new height ( #4753 )
...
* added proper cleanup when we get notified of new height
* added extra cleanup
* removed bad if condition
* fixed hive tests
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-19 22:31:15 +02:00
Giulio rebuffo
fb9f193349
fixed Two Block PoW Re-org to Higher-Height Chain ( #4730 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-18 03:04:02 +02:00
Giulio rebuffo
8a754cd252
Added PoS download validation when applicable ( #4728 )
...
* added incomplete version of PoS download validation
* fixed stuff
2022-07-17 02:02:53 +02:00
Giulio rebuffo
6b6b74e034
removed code duplication ( #4697 )
2022-07-12 15:25:32 +02:00
Giulio rebuffo
b161c27ac3
optimized one db read ( #4694 )
2022-07-12 10:39:57 +02:00
Giulio rebuffo
51245d294f
Add PoS validator struct [Refactoring] ( #4690 )
...
* added fork_validor struct
* replaced occurences of hd with forkValidator
* added engineapi.validatorFork
* 32 blocks maxForkDepth
* removed useless if
2022-07-11 15:12:21 +02:00