Manav Darji
8da64cf00d
Merge branch 'develop' into manav/upstream_merge_v1.14.13
2025-03-27 00:46:31 +05:30
Manav Darji
1acf5e6eb0
Merge tag 'v1.14.13' into manav/upstream_merge_v1.14.13
2025-03-24 21:45:55 +05:30
kamuikatsurgi
415f616a5b
make docs
2025-03-21 15:40:03 +05:30
kamuikatsurgi
58457ac3f9
cli,p2p: enable discv5 by default
2025-03-21 15:22:27 +05:30
jj1980a
d72c039a1a
param: txs announced only ( #1467 )
2025-03-11 05:47:54 -04:00
kamuikatsurgi
3d0004abae
Remove mumbai from README
2025-03-05 13:58:44 +05:30
Lucca Martins
ca4eb48bd8
Merge remote-tracking branch 'origin/develop' into lmartins/include-heimdal-timeout
2025-02-25 14:54:33 -03:00
Lucca Martins
e2f114b19b
including heimdall timeout on config
2025-02-19 17:15:43 -03:00
Lucca Martins
92b79beb34
Merge remote-tracking branch 'origin/develop' into lmartins/upstream_merge_v1.14.10
2025-02-14 15:39:26 -03:00
crStiv
01f9cd701f
Fix typos ( #1442 )
...
* Update README.md
* Update README.md
* Update README.md
* Update README.md
2025-02-12 11:32:50 +05:30
Lucca Martins
26ec762a11
Merge remote-tracking branch 'origin/upstream_merge_v1.14.8' into lmartins/upstream_merge_v1.14.10
2025-02-04 10:35:52 -03:00
Lucca Martins
fc2198bedd
Merge tag 'v1.14.10' into lmartins/upstream_merge_v1.14.10
2025-02-04 07:41:07 -03:00
Manav Darji
73e7a84851
builder, docs, packaging: update amoy dns, uncomment mainnet p2p configs ( #1428 )
...
- Add DNS entries to Amoy configs
- Uncomment p2p.discovery in Mainnet and Amoy configs
- Update Amoy bootnodes
2025-01-31 00:48:56 +05:30
Manav Darji
8a1e0ec125
Enforce parallel evm via flag ( #1425 )
...
* (feat): implement --parallelevm.enforce to force using block-stm
* core: debug log
* docs: update docs with new flag
* update all config files
* core: modify chain import test to enforce parallel processing
2025-01-30 23:01:27 +05:30
Pratik Patil
348026227f
Merge pull request #1426 from maticnetwork/master
...
v1.5.4 backport
2025-01-30 14:53:48 +05:30
Jerry
4c6169a604
Use PBSS and pebble by default ( #1412 )
...
* Use pebble db and PBSS by default
* Address CR comments
* Fix failed test
2025-01-27 10:45:33 -08:00
Jerry
230be40ae2
Bump default value of txpool global slots
...
Increase the default value in order to reduce the time spent in txpool reorg.
When txpool is saturated, txpool reorg can take more than a few seconds to run. This impacts block producer because the producer would need to get the pending txns from txpool, which is blocked by reorg.
2025-01-09 23:16:31 -08:00
Dmytrol
096b429bcb
typos server.md
2024-12-06 17:27:28 +02:00
Dmytrol
ebffd991f2
typos server.md
2024-12-06 17:27:00 +02:00
Dmytrol
104271260e
typos server.md
2024-12-06 17:24:03 +02:00
witty
c8f6d24f80
docs: fix typo ( #30740 )
...
fixes a typo on one of the postmortems
2024-11-19 14:50:11 +01:00
Jerry
19ab4720ae
Add flag discovery.dns
2024-10-15 11:04:42 -07:00
Oksana
4e17f28740
doc: update 2021-08-22-split-postmortem ( #30351 )
...
Update 2021-08-22-split-postmortem
2024-08-26 09:29:24 +08:00
anshalshukla
4a9a875738
merge: master
2024-08-13 11:48:57 +05:30
Manav Darji
dce4253605
PIP-35: enforce gas related configs for mainnet ( #1290 )
...
* enforce gas configs for all networks
* eth/gasprice: remove else if for log
* docs/cli: update example config
* fix tests
* internal/cli/server: fix tests
* miner: fix tests
2024-07-23 19:32:48 +05:30
Manav Darji
1a05223076
PIP-35 for amoy: enforce gas related configs ( #1285 )
...
* enforce gas related configs for amoy
* internal/cli/server: revert changes to default config.toml for test
* eth: check nil genesis for tests
2024-07-11 11:05:12 +05:30
Anshal Shukla
f4c41e2e70
Merge branch 'release/1.13' into upstream_merge_1.13
2024-07-10 11:19:34 +05:30
Marcello Ardizzone
d67620c8f4
core, eth, internal, miner, params: enforce 30gwei for gas related configs in bor ( #1264 )
...
* add: enforce 30gwei for gas related configs in bor
* chg: fix lint
2024-06-12 14:41:25 +05:30
Manav Darji
d95c05b98a
Enable ancient block pruning ( #1216 )
...
* core/state: typo
Signed-off-by: Delweng <delweng@gmail.com>
* core/rawdb: backport from https://github.com/bnb-chain/bsc/pull/543
Signed-off-by: Delweng <delweng@gmail.com>
* eth,ethdb,node,core/state: backport from https://github.com/bnb-chain/bsc/pull/543
Signed-off-by: Delweng <delweng@gmail.com>
* eth,core: backport from https://github.com/bnb-chain/bsc/pull/543
Signed-off-by: Delweng <delweng@gmail.com>
* cmd: open db with freeze disabled
Signed-off-by: Delweng <delweng@gmail.com>
* cli: snapshot prune-block
Signed-off-by: Delweng <delweng@gmail.com>
* fix typo
Signed-off-by: Delweng <delweng@gmail.com>
* cli/snapshot: fix the issue of dup open db error
Signed-off-by: Delweng <delweng@gmail.com>
* cli/snapshot: resolve datadir and ancient before backup
Signed-off-by: Delweng <delweng@gmail.com>
* core: more prune-block log
Signed-off-by: Delweng <delweng@gmail.com>
* core: truncatetail missing f.offset
Signed-off-by: Delweng <delweng@gmail.com>
* core/rawdb: indextx adjust offset of pruned block
Signed-off-by: Delweng <delweng@gmail.com>
* core/rawdb: freezer batch should implement the offset commit, ref https://github.com/bnb-chain/bsc/pull/1005
Signed-off-by: Delweng <delweng@gmail.com>
* core: check of ancientdb, backport https://github.com/bnb-chain/bsc/pull/817
Signed-off-by: Delweng <delweng@gmail.com>
* core/state: read raw borReceipt to backup
Signed-off-by: Delweng <delweng@gmail.com>
* core/rawdb: bor receipt maybe in []Receipt or Receipt RLP format
Signed-off-by: Delweng <delweng@gmail.com>
* core/state: typo and error msg
Signed-off-by: Delweng <delweng@gmail.com>
* core/rawdb: offSet -> offset
Signed-off-by: Delweng <delweng@gmail.com>
* cli/snapshot: comment
Signed-off-by: Delweng <delweng@gmail.com>
* cli/snapshot: add prune-block doc
Signed-off-by: Delweng <delweng@gmail.com>
* docs: add prune-block document
Signed-off-by: Delweng <delweng@gmail.com>
* core/rawdb: print wrong bor-receipt length
Signed-off-by: Delweng <delweng@gmail.com>
* internal/cli: add snapshot prune block tests (referenced from bsc's PR)
* improve errors
* cmd, core, eth, internal: fix lint
* internal/cli: refactor snapshot prune block test
* fix linters in tests
* internal/cli: add inspect-ancient-db command, update docs
* pruner: use a generic function for simplification
* internal/cli: fixes for inspect-db command
* internal/cli: improve pruning tests
* core/rawdb: update end block calculation logic in inspect command
* core/rawdb: improve checks db initialisation
* core/rawdb: remove offset check
* update mocks for span, ethdb and add command in makefile
* docs/cli: update docs with inspect command
* go mod tidy
* refactor and resolve conflicts
* resolve more conflicts
* refactor
* explicitly read node for hash scheme
* add check for hash scheme, fix tests
* fix typo
* update docs and add warning
* raise error if pbss is enabled
* revert read raw bor receipt change
* consensus/bor: handle nil header case in get root hash
* address comments
* core/rawdb: check chain continuity by matching parent hash
* core/rawdb: account for pruned ancient blocks
* go mod tidy
* fix tests
* fix tests
---------
Signed-off-by: Delweng <delweng@gmail.com>
Co-authored-by: Delweng <delweng@gmail.com>
2024-05-09 11:19:34 +05:30
Shivam Sharma
184b2d628d
Merge branch 'master' into shivam/temp-master-develop
2024-03-20 14:29:04 +05:30
Manav Darji
cb23b9baa3
eth, core: track block propagation ( #1078 )
...
* eth, core: track block announcement and import timings
* eth: track total delay
* eth: add more context and prefix in logs
* eth/fetcher: fix invalid tracking of received at time
* put logs behind log.enable-block-tracking flag
* fix lint
* improve logging
* add comments
* add comments
2024-03-05 22:30:51 +05:30
KeienWang
fc380f52ef
docs/postmortems: fix outdated link ( #28893 )
2024-01-29 16:40:57 +01:00
SHIVAM SHARMA
2a35bf8340
add : amoy flags and genesis ( #1131 )
...
* add : amoy flags and genesis
* minor fix
* add : amoy.json in internal/cli/server
* disable : peer check in mining for Amoy
* add : amoy genesis hash
* add amoy testnet deployment entries
* update : amoy genesis
* fix typos
* add : post london forks + burn contract
* add : amoy genesis hash
* bump : version meta to amoy (#1092 )
* add : amoy bootnodes
* chg : maxpeers of amoy val to 3 from 1
* bump : version to v1.1.0-amoy-2
* add : amoychain worker restriction on peercount
---------
Co-authored-by: sreevalsanmr <sreevalsan@polygon.technology>
2024-01-19 02:01:36 +05:30
Pratik Patil
923c192c7d
Added cache.blocklogs (FilterLogCacheSize) flag ( #1083 )
...
* added cache.blocklogs (FilterLogCacheSize) flag
* updated docs
* minor fix
Co-authored-by: Mael Regnery <mael@mqli.fr>
---------
Co-authored-by: Mael Regnery <mael@mqli.fr>
2023-11-20 10:18:11 +05:30
Arpit Temani
384383c1eb
Merge pull request #968 from maticnetwork/arpit/pos-1731
...
Geth Merge v1.12.2
2023-11-10 15:11:26 +05:30
Arpit Temani
3c97a5b7a0
Revert "aded blobpool related flags"
...
This reverts commit 15f0c41d2c .
2023-11-10 14:37:26 +05:30
Pratik Patil
15f0c41d2c
aded blobpool related flags
2023-11-09 15:04:28 +05:30
Pratik Patil
368ae246fd
added p2p v4 discovery flag wrt geth v1.12.2 merge
2023-11-08 17:44:35 +05:30
Pratik Patil
6aed36d9d1
removed --cache.trie.journal and --cache.trie.rejournal wrt geth v1.12.2 merge
2023-11-08 17:11:54 +05:30
Pratik Patil
ae99b47a7c
update config.toml with correct db.engine flag
2023-11-08 17:07:30 +05:30
Léo Vincent
22a2b63df6
chore: improve bor server --help ( #1063 )
...
* chore: update `txarrivalwait` flag description
* chore: update docs
* chore: update other flags
* fix: doc generation is now deterministic
* chore: remove debug
* feat: sort options in `bor server --help`
* fix: prealloc array
* fix: lint issues
* internal/cli: remove nolint
---------
Co-authored-by: marcello33 <marcelloardizzone@hotmail.it>
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2023-11-07 10:57:18 +05:30
rroblak
ebc7dc231a
Add CLI flags to config LevelDB table/total sizes ( #981 )
...
* Add CLI flags to config LevelDB table/total sizes
I wired up CLI flags to allow configuring LevelDB table and total sizes:
- `--leveldb.compaction.table.size`, LevelDB SSTable file size factor in MiB (default: 2)
- `--leveldb.compaction.table.multiplier`, multiplier on LevelDB SSTable file size (default: 1)
- `--leveldb.compaction.total.size`, total size factor in MiB of LevelDB levels (default: 10)
- `--leveldb.compaction.total.multiplier`, multiplier on LevelDB total level size (default: 10)
N.B. that the default values for these configs are exactly the same as
before this changset and so Bor behavior should not change unless these
flags are deliberately overridden. Bor/Geth inherited the default values
from [the `goleveldb`
defaults](126854af5e/leveldb/opt/options.go ).
We (Alchemy) found it necessary to override these configs as follows to
keep Bor archive nodes tracking the canonical chain:
- `--leveldb.compaction.table.size=4`
- `--leveldb.compaction.total.size=20`
These overrides double the size of LevelDB SSTable files (2 MiB -> 4
MiB) and also the total amount of data in each level (100 MiB -> 200
MiB, 1,000 MiB -> 2,000 MiB, etc.). The idea is to have LevelDB read and
write data in larger chunks while keeping the proportional frequency of
compaction operations the same as in the original defaults defined by
Dean and Ghemawat.
Without these overrides we found that our archive nodes would tend to
fall into a "LevelDB compaction loop of death" where the incoming stream
of blockchain data could not be flowed into LevelDB's structure quickly
enough, resulting in the node blocking writes for long periods of time
while LevelDB's single-threaded compaction organized the data. Over
time the nodes would fall farther and farther behind the canonical chain
head, metaphorically dying a slow node's death.
These configs can be changed on existing node databases (resyncing is
not necessary). LevelDB appears to work correctly with SSTable files of
different sizes. Note that the database does not undergo any sort of
migration when changing these configs. Only newly-written files (due to
new data or compaction) are affected by these configs.
* Update docs
* Adjust line spacing for linter
* Replace map with `ExtraDBConfig`
* Rename `LevelDbConfig` to `ExtraDBConfig`
* Regenerate docs
2023-09-12 12:09:26 +02:00
Anshal Shukla
18dd5dc643
Update docs and add default config
2023-08-17 11:38:21 +05:30
Manav Darji
cfef444909
add rpc.enabledeprecatedpersonal flag
2023-08-01 15:21:09 +05:30
marcello33
1c106dc251
dev: add: merge develop in upstream-merge
2023-06-13 12:37:20 +02:00
marcello33
a043ec6d62
dev: add: merge upstream
2023-06-09 14:34:30 +02:00
Pratik Patil
c33d12e8a0
Merge branch 'develop' of https://github.com/maticnetwork/bor into qa-copy-psp
2023-05-31 11:49:42 +05:30
SHIVAM SHARMA
5c91264143
internal/cli/server :: chg : default OpenCollectorEndpoint to empty string ( #872 )
...
* chg : default OpenCollectorEndpoint to empty string
* chg : opencollector-endpoint defaults in configs
2023-05-22 15:28:03 +05:30
SHIVAM SHARMA
0f3d965067
add : commitinterrupt flag to toml files ( #873 )
2023-05-22 15:25:02 +05:30
Jerry
5cb0d287f9
Add flag changes to docs
2023-05-17 09:51:03 -07:00