100 Commits
Author SHA1 Message Date
Patrick O'GradyandGitHub 11b74dc142 Set minimum golang version to go1.19.6 (#551) 2023-03-01 09:53:24 -08:00
Patrick O'GradyandGitHub 96272d3c54 Cache headers and logs using accepted depth instead of LRU (#387)
* save progress

* save progress

* saving more progress

* add more context

* more comments

* fix items

* fix removal

* passs config

* add additional comment

* move cache init

* remove TODO

* fix logs format

* nits

* insert into cache oldest first

* make bounded buffer generic

* cleanup FIFO cache

* cleanup comments

* simplify bounded buffer

* fix `Last`

* nits

* more comment nits

* fix min size of FIFOCache

* add NoOpFIFOCache

* move `FlattenLogs` to `types`

* fix off by 1

* revert LastBloomIndex

* fifo cache nits

* simplify bounded buffer

* move acceptedHeaderCache to headerchain

* remove unnecessary comment
2022-12-05 17:15:21 -05:00
Patrick O'GradyandGitHub 7aad9bc5bd Improved eth_getLogs caching (#386)
* change filter system

* pipe through indexing

* pipe config

* add more logs

* fix incorrect usage

* fix indexed usage

* fix light client logs

* add LastBloomIndex

* fix tests

* nits
2022-12-01 13:47:02 -08:00
Patrick O'GradyandGitHub 97d0a599e8 Improve Cache Performance (#343)
* fix trie metrics

* add new prefetcher metrics

* use flush item pointer

* add warn if anything unexpected found in cache

* simplify trieproc tracking

* make DEBUG

* nits
2022-11-03 11:46:31 -04:00
Patrick O'GradyandGitHub 6c9308f11a Block Acceptor from Flattening during Verification (#330)
* add more timing metrics

* nits

* add trie ops

* migrate to counters

* add logging for trie fallback

* nits

* log correct error

* limit error logging

* fix acceptor

* add logging for loading cache

* nits
2022-11-02 08:58:05 -04:00
Patrick O'GradyandGitHub e794f5f52c Add block processing metrics (#327)
* add block processing metrics

* change naming
2022-11-01 09:42:47 -04:00
Patrick O'GradyandGitHub c3ec1b9654 Don't write cache on shutdown (#317)
* don't save on shutdown

* remove test
2022-10-25 13:01:07 -04:00
0ad28c292b [email protected] (#213)
* update avalanchego

* Avalanchego bump anr (#214)

* bump ANR

* add todo

* Clean up logger and use commit from PR (#215)

* Clean up logger and use commit from PR

* Bump anr version

* Remove TODO

* Add comment to logging off

Co-authored-by: aaronbuchwald <[email protected]>

Co-authored-by: Darioush Jalali <[email protected]>
Co-authored-by: aaronbuchwald <[email protected]>
2022-08-19 12:26:38 -04:00
Patrick O'GradyandGitHub 9dbb4d219e ensure build finishes if tests fail (#163) 2022-07-23 12:07:50 -07:00
Patrick O'GradyandGitHub fed525f572 [email protected] (#162) 2022-07-23 09:47:53 -07:00
Patrick O'GradyandGitHub 616fe271f8 Update AvalancheGo (#157)
* update simulator

* update AvalancheGo

* update all versions

* remove flaky tests

* more badges
2022-07-21 17:29:34 -07:00
a4fd1b5a8e [AV-1898] Update [email protected] (#147)
* update versions

* Fix updated version

* use bumped ANR branch

* dep from ANR main now

* nits

Co-authored-by: Aaron Buchwald <[email protected]>
Co-authored-by: Felipe Madero <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
2022-07-13 18:09:16 -04:00
Patrick O'GradyandGitHub 5afa4a9092 final cleanup (#150) 2022-07-13 15:04:26 -04:00
Patrick O'GradyandGitHub 09f5497526 [email protected] (#134) 2022-06-14 10:19:32 -07:00
Patrick O'GradyandGitHub f8faa0993e Merge branch 'master' into e2eV3 2022-06-14 07:26:47 -07:00
Patrick O'GradyandGitHub 5ea4ffe046 Bump AvalancheGo Version (#131)
* update versions

* update README

* fix breaking changes

* fix

* bump test version

* update README

* bump again
2022-06-09 18:04:48 -05:00
Patrick O'GradyandGitHub 9b0f118f3c Merge pull request #119 from ava-labs/simplify-shutdown
one-liner shutdown
2022-05-31 09:49:25 -07:00
Patrick O'Grady ca04abe3b0 one-liner shutdown 2022-05-31 09:44:28 -07:00
Patrick O'GradyandGitHub 7d9870cd77 Merge pull request #94 from ava-labs/automated-release
Automated release
2022-05-25 16:29:00 -07:00
Patrick O'GradyandGitHub f6b55ec253 Merge pull request #110 from ava-labs/metrics-pkg
add metrics pkg
2022-05-25 14:40:33 -07:00
Patrick O'GradyandGitHub 003b877fcf Merge pull request #108 from ava-labs/coreth-0.8.10-nofastsync
merge coreth 0.8.10-rc5 without fastsync & metrics package
2022-05-24 22:48:44 -07:00
Patrick O'GradyandGitHub 4d69414fbb Merge branch 'master' into coreth-0.8.10-nofastsync 2022-05-24 22:47:52 -07:00
Patrick O'GradyandGitHub 510a2ea5bf Merge pull request #104 from ava-labs/add-priority-regossip-to-locals
[AV-1596] Add priority regossip addresses to locals
2022-05-13 10:08:18 -07:00
Patrick O'Grady 0e7cf30611 add priority regossip to locals 2022-05-13 09:42:22 -07:00
Patrick O'GradyandGitHub ebdf503c69 Merge pull request #101 from ava-labs/docs
update README
2022-05-13 09:29:17 -07:00
Patrick O'GradyandGitHub bfb46aeb0e Merge pull request #100 from ava-labs/priority-regossip-addresses
update priority-regossip-addresses
2022-05-12 22:25:27 -07:00
Patrick O'GradyandGitHub 4ead192ee8 Merge pull request #90 from ava-labs/readme
scripts/run.sh: add back "parser/main.go" commands
2022-04-30 14:24:40 -07:00
Patrick O'GradyandGitHub 684d9061a4 Merge pull request #85 from ava-labs/extended-scanning
Update codeql-analysis.yml
2022-04-29 10:51:20 -07:00
Patrick O'GradyandGitHub 4d118b6360 Update codeql-analysis.yml
revert branch changes
2022-04-29 10:34:36 -07:00
Patrick O'GradyandGitHub e687ecd19b Update codeql-analysis.yml 2022-04-27 11:13:33 -07:00
Patrick O'Grady 6ab27d9cde fix gobindings test 2022-04-13 15:56:21 -07:00
Patrick O'Grady 5205d6aa99 fix go.mod 2022-04-13 15:34:11 -07:00
Patrick O'Grady 2fe739c4b3 Update version 2022-04-13 15:30:33 -07:00
Patrick O'GradyandGitHub 21dd82d6dd Merge pull request #78 from ava-labs/avalanchego-v1.7.10-rc.2
[email protected] Dependency
2022-04-13 15:29:39 -07:00
Patrick O'Grady 0783a2ebbb update script version 2022-04-13 15:28:00 -07:00
Patrick O'Grady ac885ddcec update simulator 2022-04-13 15:28:00 -07:00
Patrick O'Grady bed587da1a use default serve 2022-04-13 15:28:00 -07:00
Patrick O'Grady 81b955cf3a update to v1.7.10 2022-04-13 15:27:59 -07:00
Patrick O'Grady aa495c559c update all versions 2022-04-13 15:27:59 -07:00
Patrick O'Grady 990cbf615c rely on [email protected] 2022-04-13 15:27:59 -07:00
Patrick O'GradyandGitHub 0a3cc0c0c6 Merge pull request #72 from ava-labs/coreth-0.8.9-rc.0
merge coreth 0.8.9-rc.0
2022-04-13 15:27:32 -07:00
Patrick O'Grady 8a881fa909 typo 2022-04-13 15:23:48 -07:00
Patrick O'GradyandGitHub 44810b0fb5 Merge branch 'master' into coreth-0.8.9-rc.0 2022-04-13 15:07:38 -07:00
Patrick O'GradyandGitHub 60b365f05e Merge pull request #76 from ava-labs/go-min-v1.17.9
Go min v1.17.9
2022-04-13 15:07:24 -07:00
Patrick O'GradyandGitHub 311db42148 Merge branch 'master' into go-min-v1.17.9 2022-04-13 15:07:08 -07:00
Patrick O'GradyandGitHub 06ca814e4d Merge pull request #79 from ava-labs/limit-build-size
Reduce max mempool size
2022-04-13 15:06:47 -07:00
Patrick O'Grady bb12b4ce33 limit build size 2022-04-12 08:41:15 -07:00
8bfd8d2633 Priority Regossip (#75)
* first pass

* regossip cleanup

* gossip aggressively

* add logging

* increase regossip size

* printing gap

* increase to 32

* print missing nonce

* increase slots

* more speed

* cleanup core

* update config

* moving in right direction

* increase shared logic

* update README

* add basic test

* updating config

* rewrite gossiper tx handling

* nits

* pop all txs

* make test more interesting

* fix tests

* wording cleanup

* nits

* Add PendingFrom for priority re-gossip

* Nits

* fix test

* regossip priority in normal

Co-authored-by: Aaron Buchwald <[email protected]>
2022-04-07 12:59:59 -04:00
Patrick O'GradyandGitHub ba16c3bfc2 Merge pull request #73 from ava-labs/update-WAGMI-RPC-URL
update WAGMI RPC URL
2022-04-06 09:09:00 -07:00
Patrick O'GradyandGitHub 754720cb04 Merge pull request #74 from tacoo/master
fixed typo
2022-04-04 07:19:47 -07:00
Patrick O'GradyandGitHub acef3328f8 Merge pull request #64 from ava-labs/update-wagmi-info
update API
2022-03-20 16:30:59 -07:00
Patrick O'Grady ab85e1d041 update API 2022-03-20 16:28:01 -07:00
Patrick O'Grady a51aa15fe1 fix underline 2022-03-16 22:20:40 -07:00
Patrick O'GradyandGitHub d00f20ea15 Merge pull request #63 from ava-labs/ensure-consistent-gasLimit
Ensure gas limit in genesis is consistent
2022-03-16 18:50:19 -07:00
Patrick O'Grady 4d991457fb chain passing 2022-03-16 14:29:47 -07:00
Patrick O'Grady 602c915270 remove unnecessary print 2022-03-16 14:04:50 -07:00
Patrick O'Grady 454f888da5 passing plugin 2022-03-16 14:03:29 -07:00
Patrick O'Grady 404f6fb683 core passing 2022-03-16 13:36:50 -07:00
Patrick O'Grady 7f7c9de936 nits 2022-03-16 13:01:02 -07:00
Patrick O'Grady 6843d0d6ac ensure gas limit in genesis is consistent 2022-03-16 12:35:26 -07:00
Patrick O'GradyandGitHub 1b8cc5ce45 Merge pull request #62 from ava-labs/add-pk
Add pk
2022-03-14 17:08:01 -07:00
Patrick O'Grady d015076bd6 add 0x 2022-03-14 17:05:34 -07:00
Patrick O'Grady 8c9059567a add priv 2022-03-14 17:03:34 -07:00
Patrick O'GradyandGitHub 44471582a4 Merge pull request #61 from ava-labs/release-nits
v0.2.0 Release Nits
2022-03-14 13:51:15 -07:00
Patrick O'Grady d331331ca7 release nits 2022-03-14 13:32:27 -07:00
Patrick O'GradyandGitHub 526feaf692 Merge pull request #59 from ava-labs/print-gpc
Print GPS
2022-03-14 11:07:34 -07:00
Patrick O'Grady 9b95587448 typo 2022-03-14 10:58:17 -07:00
Patrick O'Grady c78fb13ece add config to ignore 2022-03-14 10:57:16 -07:00
Patrick O'Grady 160692ab9e better logging 2022-03-14 10:56:07 -07:00
Patrick O'GradyandGitHub 06db754c55 Merge pull request #57 from ava-labs/simulator
Simple Load Simulator
2022-03-14 10:39:04 -07:00
Patrick O'Grady 1e19e4e288 remove comments 2022-03-14 10:38:47 -07:00
Patrick O'Grady 3f4214174b ignore new keys 2022-03-14 09:22:17 -07:00
Patrick O'Grady 5f152e89e4 nits 2022-03-14 09:18:40 -07:00
Patrick O'Grady 132457d414 add ewoq key 2022-03-14 09:02:36 -07:00
Patrick O'Grady 708cec4777 update spacing 2022-03-14 08:21:02 -07:00
Patrick O'Grady 623459bcf0 nits 2022-03-14 08:20:27 -07:00
Patrick O'Grady 7f436ae8d4 nits 2022-03-14 07:55:23 -07:00
Patrick O'Grady b140dac011 update README 2022-03-14 07:49:38 -07:00
Patrick O'Grady bb8b182802 add license 2022-03-14 07:39:39 -07:00
Patrick O'Grady b43ac39408 comments 2022-03-14 07:36:56 -07:00
Patrick O'Grady 268b85ccb7 key refactor 2022-03-14 07:32:40 -07:00
Patrick O'Grady ebab2ec301 refactor Config 2022-03-14 07:15:16 -07:00
Patrick O'GradyandGitHub 1aa89b1825 Merge branch 'master' into simulator 2022-03-13 13:41:48 -07:00
Patrick O'GradyandGitHub f730618683 Merge pull request #45 from ava-labs/minter-precompile
AV-1296: add minter precompile
2022-03-13 13:41:36 -07:00
Patrick O'Grady 3330d25316 update links 2022-03-13 13:39:05 -07:00
Patrick O'Grady 223fdb4c9d update accordingly 2022-03-13 13:37:40 -07:00
Patrick O'Grady 751686c095 add base key 2022-03-13 13:20:15 -07:00
Patrick O'Grady 8063dfacc9 auto fetch chainId 2022-03-13 13:19:05 -07:00
Patrick O'Grady 4185e04994 cleanup 2022-03-13 13:15:54 -07:00
Patrick O'Grady dd9b639588 cleanup continues 2022-03-13 12:31:27 -07:00
Patrick O'Grady dc36df3144 move simulator 2022-03-13 12:05:13 -07:00
Patrick O'Grady de8bc8bdc0 input parsing 2022-03-13 11:49:26 -07:00
Patrick O'GradyandGitHub a5e654d1eb Merge pull request #54 from ava-labs/set-precompile-code
Set precompile code
2022-03-13 11:39:58 -07:00
Patrick O'GradyandGitHub cbe7493e10 Merge pull request #56 from ava-labs/shutdown-debugging
Shutdown Debugging
2022-03-13 11:38:31 -07:00
Patrick O'Grady 7c366f0737 nit 2022-03-13 11:38:06 -07:00
Patrick O'Grady 9e61f621a6 laying groundwork 2022-03-13 11:37:19 -07:00
Patrick O'Grady e5f96d6896 shorter timeout 2022-03-13 11:33:10 -07:00
Patrick O'Grady a59efdabcd improved shutdown debugging 2022-03-13 11:15:32 -07:00
Patrick O'GradyandGitHub b4865eefb8 Merge pull request #51 from ava-labs/genesis-alloc-readme
Add docs on genesis allocation
2022-03-13 10:20:30 -07:00
Patrick O'Grady 2dd9695735 moar nits 2022-03-13 10:19:48 -07:00