Gheis Mohammadi
ae578ba998
update deprecated ioutil, improve local accounts ( #4527 )
1 year ago
Gheis Mohammadi
ce2c057a64
fix decryptRaw issue for nil/empty data ( #4532 )
1 year ago
Casey Gardiner
a32a1755b3
Release Candidate hotfix: dev -> main ( #4333 )
...
* Rebase dev branch to current main branch (#4318 )
* add openssl compatibility on m2 chips using darwin (#4302 )
Adds support for OpenSSL on MacOS Ventura using m2 chips.
* [dumpdb] ensure each cross link is dumped (#4311 )
* bump libp2p to version 0.24.0 and update its dependencies and relevant tests (#4315 )
* Removed legacy syncing peer provider. (#4260 )
* Removed legacy syncing peer provider.
* Fix localnet.
* Fix migrate version.
* Rebased on main.
* Fix formatting.
* Remove blockchain dependency from engine. (#4310 )
* Consensus doesn't require anymore `Node` as a circular dependency.
* Rebased upon main.
* Removed engine beacon chain dependency.
* Fixed nil error.
* Fixed error.
* bump libp2p to version 0.24.0 and update its dependencies and relevant tests
* fix format, remove wrongly added configs
* add back wrongly deleted comment
* fix travis go checker
Co-authored-by: Konstantin <355847+Frozen@users.noreply.github.com>
Co-authored-by: “GheisMohammadi” <“Gheis.Mohammadi@gmail.com”>
* bump libp2p to version 0.24.0 and update its dependencies and relevant tests (#4315 )
* Removed legacy syncing peer provider. (#4260 )
* Removed legacy syncing peer provider.
* Fix localnet.
* Fix migrate version.
* Rebased on main.
* Fix formatting.
* Remove blockchain dependency from engine. (#4310 )
* Consensus doesn't require anymore `Node` as a circular dependency.
* Rebased upon main.
* Removed engine beacon chain dependency.
* Fixed nil error.
* Fixed error.
* bump libp2p to version 0.24.0 and update its dependencies and relevant tests
* fix format, remove wrongly added configs
* add back wrongly deleted comment
* fix travis go checker
Co-authored-by: Konstantin <355847+Frozen@users.noreply.github.com>
Co-authored-by: “GheisMohammadi” <“Gheis.Mohammadi@gmail.com”>
* Fix for consensus stuck. (#4307 )
* Added check for block validity.
* Starts new view change if block invalid.
* Revert "Starts new view change if block invalid."
This reverts commit e889fa5da2e0780f087ab7dae5106b96287706db.
* staged dns sync v1.0 (#4316 )
* staged dns sync v1.0
* enabled stream downloader for localnet
* fix code review issues
* remove extra lock
Co-authored-by: “GheisMohammadi” <“Gheis.Mohammadi@gmail.com”>
* add description for closing client and change randomize process to ma… (#4276 )
* add description for closing client and change randomize process to make sure only online nodes are added to sync config
* fix sync test
* fix legacy limitNumPeers test
* add WaitForEachPeerToConnect to node configs to make parallel peer connection optional
Co-authored-by: “GheisMohammadi” <“Gheis.Mohammadi@gmail.com”>
* Small fixes and code cleanup for network stack. (#4320 )
* staged dns sync v1.0
* enabled stream downloader for localnet
* fix code review issues
* remove extra lock
* staged dns sync v1.0
* Fixed, code clean up and other.
* Fixed, code clean up and other.
* Fixed, code clean up and other.
* Fix config.
Co-authored-by: “GheisMohammadi” <“Gheis.Mohammadi@gmail.com”>
* Fix not disable cache in archival mode (#4322 )
* Feature registry (#4324 )
* Registry for services.
* Test.
* Reverted comment.
* Fix.
* Slash fix (#4284 )
* Implementation of new slashing rate calculation
* Write tests for then new slashing rate calculation
* Add engine.applySlashing tests
* fix #4059
Co-authored-by: Alex Brezas <abresas@gmail.com>
Co-authored-by: Dimitris Lamprinos <pkakelas@gmail.com>
* Bump github.com/aws/aws-sdk-go from 1.30.1 to 1.33.0 (#4325 ) (#4328 )
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.30.1 to 1.33.0.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/v1.33.0/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.30.1...v1.33.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump github.com/btcsuite/btcd from 0.21.0-beta to 0.23.2 (#4327 ) (#4329 )
Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd ) from 0.21.0-beta to 0.23.2.
- [Release notes](https://github.com/btcsuite/btcd/releases )
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES )
- [Commits](https://github.com/btcsuite/btcd/compare/v0.21.0-beta...v0.23.2 )
---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix epoch chain initialization issue (#4331 )
* Fix getting epoch number. (#4279 )
* feat: update dockerfile with some enhacement (#4250 )
* feat: update dockerfile with some enhancement
* [docker] fix: update golang version
Co-authored-by: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com>
* [build] github action update (#4336 )
* [ops] update github action files
* [ops] add debug message in github action
* [ops] fix GPG action variable
* [ops] fix macos-12 build
* [ops] fix macos-12 build
* [ops] fix macos-12 build
* [ops] fix macos-12 build
* [ops] fix macos-12 build
* [ops] fix macos-12 build
* [cmd] update year version (#4334 )
* chore(build): upgrade golang to 1.19 (#4335 )
* chore(build): upgrade golang to 1.19
* chore(build): run `go mod tidy`
* chore(build): run `goimports -w -e ${file}`
* chore(build): revert github ci changes
* chore(build): pin golang version to 1.19.5
* chore(build): fix protoc version on gen files
* chore(build): fix protoc-gen-go to v1.26.0 (#4337 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Max <82761650+MaxMustermann2@users.noreply.github.com>
Co-authored-by: Gheis <36589218+GheisMohammadi@users.noreply.github.com>
Co-authored-by: Konstantin <355847+Frozen@users.noreply.github.com>
Co-authored-by: “GheisMohammadi” <“Gheis.Mohammadi@gmail.com”>
Co-authored-by: Danny Willis <102543677+dannyposi@users.noreply.github.com>
Co-authored-by: PeekPI <894646171@QQ.COM>
Co-authored-by: Alex Brezas <abresas@gmail.com>
Co-authored-by: Dimitris Lamprinos <pkakelas@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gheis Mohammadi <Gheis.Mohammadi@gmail.com>
Co-authored-by: Jason Yi <90701258+jasonyic@users.noreply.github.com>
Co-authored-by: Soph <35721420+sophoah@users.noreply.github.com>
2 years ago
Max
b300a4ec4d
chore(build): upgrade golang to 1.19 ( #4335 )
...
* chore(build): upgrade golang to 1.19
* chore(build): run `go mod tidy`
* chore(build): run `goimports -w -e ${file}`
* chore(build): revert github ci changes
* chore(build): pin golang version to 1.19.5
* chore(build): fix protoc version on gen files
2 years ago
Jacky Wang
8aa9351ddf
[cmd] removed some dead code in blsgen
4 years ago
Jacky Wang
200b0ca9e0
[cmd] changed consensus to option field, removed consensus flags, changed broadcast invalid transaction to option fields
4 years ago
Jacky Wang
1578e13b24
[cmd] fix the bls test in docker issue
4 years ago
Jacky Wang
9013f160cc
[cmd] increase timeout in TestPromptACProvider_prompt ( #3270 )
4 years ago
Jacky Wang
5db7bef959
[node.sh] changed tempdir for compatibility with docker
4 years ago
Jacky Wang
d1d8faad6d
[node.sh] fix a lot of formatting problems
4 years ago
Jacky Wang
ea9921d2f7
[node.sh] further extend the prompt timeout and added input
4 years ago
Jacky Wang
24b9578a20
[node.sh] fix some formatting problem, extend the default timeout for prompt to 60 seconds
4 years ago
Jacky Wang
e692368bfc
[node.sh] added learning test TestKMSEncryption
4 years ago
Jacky Wang
22e9b5ebec
[node.sh] fix kms_test
4 years ago
Jacky Wang
df30fb5b64
[node.sh] revert back to previous json config file
4 years ago
Jacky Wang
25c583ca8c
[node.sh] more updates on node.sh. Switched aws config to aws option interface
4 years ago
Jacky Wang
f973125011
[node.sh] bug fixes in node.sh. Restore the previous readPassword
4 years ago
Jacky Wang
bb58c85256
[node.sh] fixed some errors in according to test results
4 years ago
Jacky Wang
7327e906d0
[node.sh] add singleton to setupConsensusKeys, fixed some bug relative to backward compatibility
4 years ago
Jacky Wang
1c48b5eeaa
[node.sh] added command line main file
4 years ago
Jacky Wang
fb953742c4
[node.sh] enable the static passfile can live without .pass extension
4 years ago
Jacky Wang
87e0e099c5
[node.sh] moved blsloader folder to internal/blsgen
4 years ago
Jacky Wang
761cceb53d
[node.sh] removed some unused code
4 years ago
Jacky Wang
89e4c1bf03
[node.sh] finsihed helper.go for blsLoader
4 years ago
Jacky Wang
7842d0ea34
added BLS loader
4 years ago
Edgar Aroutiounian
2afd8a54c4
[p2p] Throttle receive with constant cost function ( #2819 )
...
* [node] Unused package level big.Int
* [p2p] Throttle receives to a max of 100
* [project] Remove msgq
* [node][p2p] Only allow 100 max message handling at time
* [node][p2p] Throttle max message handler with Weighted Semaphore - init w/ uniform weight
* [node] Use go routine for passing handled block
* [p2p] Leftover commented out
* [node] Add log for when cannot pay semaphore cost
* [node] Bump max message handlers
* [internal] Remove file_embed
* [project] Remove unused file, unused function
* [consensus] Unused values
* [config] Unused field & function
* [internal] Unused address & hash
* [project] More unused tests, values, types
* [project] Move conn logger just to bootnode
* [rpc] Remove dead functions
* [internal] More unused functions
* [project] Remove dead keystore dir package
* [p2p] Need lock to grab all Topics
* [node] Force side effect of topic join, give each topic own weighted semaphore
5 years ago
coolcottontail
4c15caa9f2
fix issue2689 error loading blspass ( #2695 )
5 years ago
Edgar Aroutiounian
dfceae3691
[blsgen] LoadFromKey with passphrase more robustly ( #2675 )
5 years ago
coolcottontail
a6929dd32f
Added support for using AWS encrypted BLS key files ( #2650 )
...
* added bls support, cleaned the code
* fixed code per review
5 years ago
Edgar Aroutiounian
f8cbd880bb
[project] Bls -> BLS & remove dead Stake solidity contract ( #2652 )
5 years ago
Eugene Kim
543fdbb9bc
Try to decode BLS key as hex and binary forms
...
If both forms fail, return the error from the hexadecimal attempt,
because hexadecimal is the canonical form and binary is only a fallback.
6 years ago
Minh Doan
d68a54366e
get passphrase by reading file
6 years ago
Minh Doan
52855ebfa3
convert non-human readable to human-readable key
6 years ago
Minh Doan
39ae16ee86
remove panic in lib
6 years ago
Minh Doan
d80892da32
fix passphrase when it is trailed with whitespace
6 years ago
Minh Doan
4ccaca9b7e
clean up unused code and remove panic
6 years ago
Minh Doan
61bcdd5847
add new public keys and lib to load the keys
6 years ago
Minh Doan
c7eb8e4aec
add lib to find key from bls keystore
6 years ago
Minh Doan
810c4eaf29
make the private key file human-readable
6 years ago
Minh Doan
d4817dbc05
wip
6 years ago
Minh Doan
4047bbfc25
add library to encrypt a private key and write into a file
6 years ago
Rongjian Lan
2f295f892b
merge master
6 years ago
Rongjian Lan
9a74575bae
change all string utility for bls
6 years ago
Minh Doan
56e0b83df1
use serialized public key instead of standard public key
6 years ago
Minh Doan
bc49564d17
remove address out of the filename
6 years ago
Minh Doan
e1f4f0906a
add blsgen lib
6 years ago