Commit Graph

9049 Commits

Author SHA1 Message Date
William Banfield 78fbb5db08 further consolidation 2022-10-20 13:02:46 -04:00
William Banfield 7e5f932402 reduce extra vars 2022-10-20 12:57:41 -04:00
William Banfield b1145cf769 simplify invalid cons code 2022-10-20 12:54:26 -04:00
William Banfield eda5595a11 simplify byzantine code 2022-10-20 12:32:59 -04:00
William Banfield 7fb6cef26a re-add error to proto convert 2022-10-20 12:29:53 -04:00
William Banfield 5dea81f2ac rename statesync wrap function 2022-10-20 12:19:14 -04:00
William Banfield ef17093bb4 add todo for log line related to unmarshal in mconn receive 2022-10-20 12:16:02 -04:00
William Banfield 41df563982 clean up TrySend comment 2022-10-20 12:08:43 -04:00
William Banfield eef513acf8 clean up consensus package use of conversion to proto 2022-10-20 11:41:37 -04:00
William Banfield 5e513fbb4f clean up blocksync proto wrap func 2022-10-20 11:34:56 -04:00
William Banfield d677121ae0 pex tests passing 2022-10-19 22:25:56 -04:00
William Banfield d2fb6835c8 mempool v1 tests pass 2022-10-19 22:04:40 -04:00
William Banfield ae266b2da6 mempool v0 tests pass 2022-10-19 21:58:48 -04:00
William Banfield 3e9223ba79 evidence reactor works 2022-10-19 21:52:21 -04:00
William Banfield d2fe1d3b36 cons reactor works 2022-10-19 21:52:08 -04:00
William Banfield 396e3d80ac add message type to channel descriptor 2022-10-19 21:21:58 -04:00
William Banfield 1919727904 add tmcons message as message type 2022-10-19 21:13:09 -04:00
William Banfield 0dcec4b545 shim receive bytes metric 2022-10-19 21:07:55 -04:00
William Banfield 4daee74d9c create new map of channel id to message type 2022-10-19 21:05:04 -04:00
William Banfield 1053a49b4e improve NewReceive on cons reactor 2022-10-19 20:52:20 -04:00
William Banfield 7b41c03409 shim in new receive to the reactor interface 2022-10-19 20:51:42 -04:00
William Banfield e20d28429d receive start 2022-10-19 17:27:23 -04:00
William Banfield 14510c4eb0 fix evidence tests 2022-10-19 17:21:50 -04:00
William Banfield c529a902eb sync any passes 2022-10-19 14:57:37 -04:00
William Banfield adbcd0c450 fix statesync test 2022-10-19 14:50:35 -04:00
William Banfield 8644f69aa4 pex suite passing 2022-10-19 14:20:12 -04:00
William Banfield fd234903b6 fix non-wrapped proto messages in statesync 2022-10-19 14:10:27 -04:00
William Banfield cfe2ca68da consensus test passed 2022-10-19 14:07:01 -04:00
William Banfield 2786e3db55 tests compile 2022-10-19 13:13:52 -04:00
William Banfield 7e107c45fb remove old TrySends 2022-10-19 13:10:49 -04:00
William Banfield 64c18a4406 remove old Sends 2022-10-19 13:10:11 -04:00
William Banfield 73d0f8116a compiles after NewBroadcast change 2022-10-19 13:05:05 -04:00
William Banfield 01db5dc019 tests compile 2022-10-19 12:28:39 -04:00
William Banfield 5795877dbc update test mocks to include new sends 2022-10-19 11:44:21 -04:00
William Banfield 7f9e609720 broadcast and sends updated in consensus reactor 2022-10-19 11:39:53 -04:00
William Banfield 833e4a15d4 experiment continued 2022-10-19 11:14:18 -04:00
William Banfield 8989fb4a79 broken version of send 2022-10-19 11:07:46 -04:00
William Banfield 6c81ecb1b5 basic envelope type 2022-10-19 10:54:24 -04:00
William Banfield 069f460e16 add type to channel description 2022-10-19 10:48:33 -04:00
William Banfield c77898aad9 add the initial message metric 2022-10-18 17:09:46 -04:00
Sergio Mena b42c439776 Fix TX payload for DO testnets (#9540)
* Added print

* Fix unmarshall

* Fix unmarshalling

* Simplified steps to unmarshall

* minor

* Use 'encoding/hex'

* Forget about C, this is Go!

* gosec warning

* Set maximum payload size

* nosec annotation
2022-10-12 19:58:50 +02:00
omahs 387bf6795a Fix: typos (#9536)
* Fix: typos

Fix: typos

* Fix: minor typo

Fix: minor typo
2022-10-11 07:54:03 -04:00
Sergio Mena 4f3e87b2e4 Add changelog entry (#9535) 2022-10-10 16:21:06 +02:00
William Banfield a371b1e3a8 blocksync: retry requests after timeout (#9518)
* blocksync: retry requests after timeout

* Minimize changes to re-send block request after timeout

* TO REVERT: reduce queue capacity

* Add reset

* Revert "TO REVERT: reduce queue capacity"

This reverts commit dd0fee56924c958bed2ab7733e1917eb88fb5957.

* 30 seconds

* don't reset the timer

* Update blocksync/pool.go

Co-authored-by: Callum Waters <cmwaters19@gmail.com>

Co-authored-by: Sergio Mena <sergio@informal.systems>
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
2022-10-10 14:58:24 +02:00
dependabot[bot] 9dd99e9294 build(deps): Bump google.golang.org/grpc from 1.49.0 to 1.50.0 (#9529) 2022-10-10 10:59:44 +02:00
Callum Waters 4fd19a275e indexer: move deduplication functionality purely to the kvindexer (#9473) 2022-10-07 15:54:44 +02:00
Callum Waters 8d26460f9d rename blockchain to blocksync in certain areas (#9512) 2022-10-06 10:44:12 +02:00
Jasmina Malicevic c0bdb2423a security/p2p: prevent peers who errored being added to the peer_set (#9500)
* Mark failed removal of peer to address security bug

Co-authored-by: Callum Waters <cmwaters19@gmail.com>
2022-10-06 09:02:08 +02:00
Sergio Mena cdd3479f20 Extend the load report tool to include transactions' hashes (#9509)
* Add transaction hash to raw data

* Add hash in formatted output

* Cosmetic
2022-10-05 21:16:45 +02:00
Giuliano b1dc5a6def fix wrong axioms (#9511)
Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com>
2022-10-05 11:38:21 +02:00