-
Notifications
You must be signed in to change notification settings - Fork 846
Block library refactoring #883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
c053761
block -> refactor: reworked header class with static factory instanti…
holgerd77 ff46c55
block -> refactoring: added new static factory helpers to block class
holgerd77 dd228bc
block -> refactor: fix build errors, remove unused imports, unpad num…
jochem-brouwer 608d804
block -> rename Header to BlockHeader
jochem-brouwer 17a33a8
block/tx -> fix block tests
jochem-brouwer 72b5b78
block -> enforce BNs on fields which are interpreted as numbers
jochem-brouwer 8adcdf9
block -> edge case in toBN
jochem-brouwer 8987003
ethash -> make ethash compatible with block
jochem-brouwer 5f5e9f2
Merge branch 'master' into refactor-block-library
ryanio 5351fb8
have validateTransactions return a string[] (https://github.com/ether…
ryanio ce1dac1
let => const
ryanio 526f986
set default param to resolve js runtime check
ryanio 75689e6
continue refactoring and simplifying methods
ryanio 8923f71
api updates
ryanio 6a2c193
continuing work
ryanio 381f5e1
inline buffer validations. add checks for extraData, mixHash and nonce
ryanio 7eecf80
various fixups
ryanio 395c6f8
continuing various work
ryanio be5c8d2
continuing work and refactoring
ryanio 7fa486d
Merge branch 'master' into refactor-block-library
ryanio 91d45d7
re-add timestamp to genesis (for rinkeby)
ryanio 7e788c3
last fixups
ryanio bc459e8
update readme, benchmarks
ryanio ea8a401
update vm readme, simplify validate
ryanio b694010
fix timestamp validation
ryanio 1f66378
use native eq
ryanio 9f9bab0
make blockchain optional in block.validate()
ryanio 7ce9132
fixups
ryanio a5d3d14
remove BLOCK_difficulty_GivenAsList from skip list (https://github.co…
ryanio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.