Skip to content

Less memory - #14

Closed
lukads12345 wants to merge 186 commits into
mainfrom
less_memory
Closed

Less memory#14
lukads12345 wants to merge 186 commits into
mainfrom
less_memory

Conversation

@lukads12345

Copy link
Copy Markdown
Collaborator

Description

core: use less memory during reorgs

lukads12345 and others added 28 commits December 26, 2024 11:17
1. Modified configuration of chain parameters
2. Modified some api interfaces

### New Functions and Features

Updated the parameters of the Genesis block, users need to update the next version

### New Updates and Enhancements

Enhanced eth.getBlockReward interface to get different block rewards on the main and test nets

### Fixed Issues

### Acknowledged Issues and Suggestions

### How to Update

Recompile the client according to the latest code
1. add new bootnode peer

### New Functions and Features

### New Updates and Enhancements

### Fixed Issues

### Acknowledged Issues and Suggestions

### How to Update

Recompile the client according to the latest code
1. Fixed a pause in coin hitting caused when a transaction from a faucet was lost during a block rollback

### New Functions and Features

### New Updates and Enhancements

### Fixed Issues

### Acknowledged Issues and Suggestions

### How to Update

Recompile the client according to the latest code
1. Fixed a pause in coin hitting caused when a transaction from a faucet was lost during a block rollback

### New Functions and Features

### New Updates and Enhancements

### Fixed Issues

### Acknowledged Issues and Suggestions

### How to Update

Recompile the client according to the latest code
1. Fixed a pause in coin hitting caused when a transaction from a faucet was lost during a block rollback

### New Functions and Features

### New Updates and Enhancements

### Fixed Issues

### Acknowledged Issues and Suggestions

### How to Update

Recompile the client according to the latest code
1. Fixed a pause in coin hitting caused when a transaction from a faucet was lost during a block rollback

### New Functions and Features

### New Updates and Enhancements

### Fixed Issues

### Acknowledged Issues and Suggestions

### How to Update

Recompile the client according to the latest code
1. change default http write timeout

### New Functions and Features

### New Updates and Enhancements

### Fixed Issues

### Acknowledged Issues and Suggestions

### How to Update

Recompile the client according to the latest code
Add usage examples
Modify atomic usage
updates the
internal/guide tests to use lighter scrypt parameters.

Co-authored-by: lukads12345 <lukads12345>
remove unused function.
core/consensus: fix incorrect uncle block error msg
inihash/api: remove unused comments

Co-authored-by: lukads12345 <lukads12345>
* inihash/consensus: fix incorrect comments.
remove unused function.
core/consensus: fix incorrect uncle block error msg
inihash/api: remove unused comments

* graphql: add query timeout
This PR adds a 60 second timeout to graphql queries.

---------

Co-authored-by: lukads12345 <lukads12345>
Many of the other types have a function to convert the type to a big.Int,
but Address was missing this function.

It is useful to be able to turn an Address into a big.Int when doing
EVM-like computations natively in Go. Sometimes a Solidity address
type is casted to a uint256 and having a Big method on the Address
type makes this easy.

Co-authored-by: lukads12345 <lukads12345>
* common/types: add Address.Big
Many of the other types have a function to convert the type to a big.Int,
but Address was missing this function.

It is useful to be able to turn an Address into a big.Int when doing
EVM-like computations natively in Go. Sometimes a Solidity address
type is casted to a uint256 and having a Big method on the Address
type makes this easy.

* all: Modify the package name

* cmd/clef: list accounts at startup
Reports accounts known to Clef during startup, after master seed is provided by the user.

---------

Co-authored-by: lukads12345 <lukads12345>
This is the initial step for support of Solidity errors in contract bindings.
As of this change, errors can be decoded, but are not supported in
bindings yet.
# Conflicts:
#	.github/workflows/build.yml
This PR significantly reduces the memory consumption of a long reorg
@lukads12345
lukads12345 deleted the less_memory branch June 16, 2025 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants