Shane Bammel
961ac6c085
Apply slashes on first pass though commit
...
The commit() func will only be called twice if there are transactions
in the block. To ensure slashes aren't missed in an empty block,
apply slashing logic on the first pass through FinalizeAndAssemble().
2022-01-06 18:56:57 -06:00
sjb933
6878d681a4
Merge branch 'bs-trace-errors' into 'master'
...
Ignore base fee for system transactions
Closes #29
See merge request pulsechaincom/go-pulse!36
2022-01-05 23:55:40 +00:00
Shane Bammel
160ef47ca1
Ignore base fee for system transactions
...
System transactions have a gas cap of zero which violates the
post-london consensus rules.
2022-01-05 16:59:04 -06:00
sjb933
0a9c8cf488
Merge branch 'system-zero' into 'master'
...
SystemZero fork
See merge request pulsechaincom/go-pulse!35
2021-12-21 00:15:17 +00:00
Shane Bammel
268b4f7f14
Updated minor version number for release
2021-12-20 16:36:41 -06:00
Shane Bammel
e14acb5752
Improved error message
2021-12-20 16:29:45 -06:00
Shane Bammel
55ad275d51
Added SystemZero fork beginning free system txs
...
System transactions must always run with priority regardless of their
size or other transactions in the block.
2021-12-20 16:28:13 -06:00
sjb933
702604813e
Merge branch 'badblock-fix' into 'master'
...
Implemented fix for bad block sync bug
See merge request pulsechaincom/go-pulse!34
2021-12-17 17:23:30 +00:00
Shane Bammel
d7ac6330f6
Updated version for patch release
2021-12-17 11:14:32 -06:00
Shane Bammel
1926e96f78
Implemented fix for bad block sync bug
...
During mining, commit is called twice, to generate an empty block for
concurrent sealing. This resulted in inadvertent double-slashing of
out-of-turn validators during block creation leading to bad blocks.
2021-12-16 21:46:16 -06:00
Shane Bammel
8c6a10133b
Record bad block signer
2021-12-15 22:29:44 -06:00
sjb933
791960e368
Merge branch 'memleak' into 'master'
...
Avoid memory leak during block stasis
Closes #31
See merge request pulsechaincom/go-pulse!32
2021-12-15 19:26:53 +00:00
sjb933
ea09e5a94f
Merge branch 'log-level' into 'master'
...
Increased logging level for validator slashing
See merge request pulsechaincom/go-pulse!33
2021-12-15 00:08:40 +00:00
Shane Bammel
49aad482d9
Increased logging level for validator slashing
2021-12-14 18:07:12 -06:00
Shane Bammel
e37543182d
Parlia: avoid memory leak during block stasis
...
Mirrors upstream fix to clique consensus (#23861 ),
see previous commit for more detail.
2021-12-14 15:13:24 -06:00
Martin Holst Swende
06edad55f2
miner, consensus/clique: avoid memory leak during block stasis ( #23861 )
...
This PR fixes a problem which arises on clique networks when there is a network stall. Previously, the worker packages were tracked, even if the sealing engine decided not to seal the block (due to clique rules about recent signing). These tracked-but-not-sealed blocks kept building up in memory.
This PR changes the situation so the sealing engine instead returns an error, and the worker can thus un-track the package.
2021-12-14 15:03:53 -06:00
sjb933
d1fd22cd55
Merge branch 'testnet-r2' into 'master'
...
Testnet Release 2
See merge request pulsechaincom/go-pulse!28
2021-12-10 22:53:55 +00:00
Shane Bammel
de16e6cca9
Updated bootnodes for Testnet R2
2021-12-07 18:02:58 -06:00
Shane Bammel
de5a476c33
Removed credits for R2 launch
2021-12-07 14:45:27 -06:00
sjb933
2280c7498c
Merge branch 'fix-tests' into 'testnet-r2'
...
Fixed all tests
See merge request pulsechaincom/go-pulse!31
2021-12-02 23:54:28 +00:00
Shane Bammel
e2f7dddf53
Config cleanup, removed unused, fixed tests
2021-12-02 17:25:53 -06:00
Shane Bammel
a0f22aa945
Fixed setup genesis test args
2021-12-02 17:24:20 -06:00
Shane Bammel
fed5c5f037
Fixed limit test for modified GasLimitBoundDivisor
2021-12-02 17:23:34 -06:00
Shane Bammel
deb1e07793
Fixed 1559 tests for modified GasLimitBoundDivisor
2021-12-02 17:22:52 -06:00
Shane Bammel
90f90a8432
Fixed puppeth genesis tests
2021-12-02 17:21:25 -06:00
Shane Bammel
21e42bfb78
Fixed welcome message tests
2021-12-02 17:19:40 -06:00
Shane Bammel
6dfabe9a6b
Updated comments
2021-12-01 16:45:27 -06:00
Shane Bammel
63a7ef83ff
Added real credits file
2021-11-30 13:14:05 -06:00
Shane Bammel
14f9c34240
Updated version for release
2021-11-29 20:24:16 -06:00
Shane Bammel
7664b70e6b
Fixed comment
2021-11-29 20:24:16 -06:00
Shane Bammel
b6727442b4
Additional logging
2021-11-29 20:24:16 -06:00
Shane Bammel
902a56f158
Fixed function name
2021-11-29 20:24:16 -06:00
Shane Bammel
40733d45d8
Updated system contracts for testnet r2
2021-11-29 20:24:16 -06:00
sjb933
516950d36c
Merge branch 'fix_backend_test' into 'master'
...
Fixes test
See merge request pulsechaincom/go-pulse!30
2021-11-30 02:22:34 +00:00
Bret Palsson
74c2c05745
Fixes test
...
accounts/abi/bind/backends/simulated_test.go
2021-11-29 17:52:54 -08:00
sjb933
d86a50248a
Merge branch 'fork-allocations' into 'master'
...
Sacrifice credit allocations
See merge request pulsechaincom/go-pulse!27
2021-11-16 03:41:54 +00:00
Shane Bammel
9dd05ab488
Fixed nil pointer 🐛
2021-11-15 15:20:04 -06:00
Shane Bammel
41fd2622f5
Added dummy credits file for testing
2021-11-12 18:01:50 -06:00
Shane Bammel
6ea1abf128
Implemented sacrifice credit allocations
2021-11-12 18:01:39 -06:00
sjb933
72032ad8a8
Merge branch 'add-pulse-discovery' into 'master'
...
Add PulseChain mainnet and testnet
See merge request pulsechaincom/go-pulse!25
2021-11-03 21:48:21 +00:00
Bret Palsson
f5f858da61
Remove unused variable
2021-11-03 13:47:57 -07:00
Bret Palsson
551df8feae
Resolve comments in code review
2021-11-03 12:04:30 -07:00
sjb933
f21150ad42
Merge branch 'readme-fix' into 'master'
...
README: rename bsc to PulseChain
See merge request pulsechaincom/go-pulse!24
2021-11-03 18:19:21 +00:00
Bret Palsson
8bddc0cddb
Fix typo
2021-11-02 15:07:48 -07:00
Bret Palsson
9829eb9235
Update foundation comment
2021-11-02 12:36:13 -07:00
Bret Palsson
2ff7cfd2ad
Update comment
2021-11-02 12:34:08 -07:00
Bret Palsson
efb9ef83a3
Add PulseChain mainnet and testnet
...
Add bootnodes for PulseChain testnet
Fix devp2p dns normalization for comparing names
2021-11-01 12:52:22 -07:00
Andrey Arapov
60d7b401dc
README: rename bsc to PulseChain
2021-10-31 10:13:50 +01:00
sjb933
ef931bf198
Merge branch 'validator-rotation' into 'master'
...
Validator rotation triage
See merge request pulsechaincom/go-pulse!23
2021-10-29 17:16:51 +00:00
Shane Bammel
5c31bfe864
Add PHONY entries
2021-10-26 17:55:11 -05:00