Skip to content
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

[P2P] Integrate background router #732

Merged
merged 70 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from 62 commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
fe24824
refactor: unicast router
bryanchriswhite Jun 19, 2023
1277859
chore: cleanup TODOs
bryanchriswhite Jun 22, 2023
871af48
chore: add background message
bryanchriswhite Jun 16, 2023
013c433
chore: add `Router#Close()`
bryanchriswhite Jun 22, 2023
4f998ee
chore: separate raintree & bg protocol IDs
bryanchriswhite Jun 22, 2023
1c9c18c
chore: generate `PocketEnvelope` nonce in `PackMessage()`
bryanchriswhite Jun 22, 2023
f9a0c10
refactor: add `Handler` to router config validation
bryanchriswhite Jun 22, 2023
0bdffbd
refactor: raintree router
bryanchriswhite Jun 22, 2023
2b40776
refactor: background router
bryanchriswhite Jun 22, 2023
213f294
refactor: integrate bg router
bryanchriswhite Jun 22, 2023
437afc8
refactor: staked actor router peer discovery
bryanchriswhite Jun 22, 2023
43cf671
test: post-refactor updates
bryanchriswhite Jun 22, 2023
4b19d8f
Merge remote-tracking branch 'pokt/main' into refactor/unicast-router
bryanchriswhite Jun 22, 2023
cf886a7
Merge branch 'refactor/unicast-router' into feat/integrate-bg-router
bryanchriswhite Jun 22, 2023
048e306
fix: gofmt
bryanchriswhite Jun 23, 2023
d7278b8
Merge remote-tracking branch 'pokt/main' into refactor/unicast-router
bryanchriswhite Jun 23, 2023
acc1d59
Merge branch 'refactor/unicast-router' into feat/integrate-bg-router
bryanchriswhite Jun 23, 2023
9ab2a5d
chore: fix typo in comment
bryanchriswhite Jun 26, 2023
dce1bac
chore: add debug log
bryanchriswhite Jun 26, 2023
8dc2852
chore: fix field comment out of place
bryanchriswhite Jun 26, 2023
a6d4b52
fix: imports
bryanchriswhite Jun 26, 2023
87d1fa9
Merge branch 'refactor/unicast-router' into feat/integrate-bg-router
bryanchriswhite Jun 26, 2023
d24407b
chore: bootstrap refactor / TECHDEBT
bryanchriswhite Jun 26, 2023
70ca573
fix: imports
bryanchriswhite Jun 26, 2023
8467f3a
chore: remove unused field
bryanchriswhite Jun 26, 2023
c3bc4c7
chore: cleanup unused test utils
bryanchriswhite Jun 27, 2023
3fdada6
chore: comment cleanup
bryanchriswhite Jun 28, 2023
39a7877
chore: add submodule TECHDEBT comments
bryanchriswhite Jun 28, 2023
049cbf5
chore: add missing godoc comments
bryanchriswhite Jun 28, 2023
79a1c6e
chore: cleanup unused garbage
bryanchriswhite Jun 28, 2023
a7c4bf6
fix: return error
bryanchriswhite Jun 28, 2023
904f17b
Merge remote-tracking branch 'pokt/main' into refactor/unicast-router
bryanchriswhite Jun 28, 2023
70b020b
Merge branch 'refactor/unicast-router' into feat/integrate-bg-router
bryanchriswhite Jun 28, 2023
8a54f1a
chore: router logging improvements
bryanchriswhite Jun 28, 2023
6795c96
fix: interim background router bootstrapping
bryanchriswhite Jun 28, 2023
0a3fac1
fix: `p2pModule#Send()` routing logic
bryanchriswhite Jun 28, 2023
b8f9a1a
chore: improve variable naming
bryanchriswhite Jun 28, 2023
de63d6d
chore: improve comments
bryanchriswhite Jun 28, 2023
1282e1a
chore: improve debug logging
bryanchriswhite Jun 28, 2023
5793b7f
chore: return early
bryanchriswhite Jun 28, 2023
95a3948
chore: add TECHDEBT comment
bryanchriswhite Jun 29, 2023
7cdc9e7
Merge remote-tracking branch 'pokt/main' into HEAD
bryanchriswhite Jun 29, 2023
fe42ab3
test: fix raintree message target test
bryanchriswhite Jun 29, 2023
60cd2bd
docs: update P2P readme
bryanchriswhite Jun 29, 2023
8354d79
docs: update table of contents
bryanchriswhite Jun 29, 2023
f7b0202
docs: tweak P2P readme
bryanchriswhite Jun 29, 2023
d2f33a4
chore: add godoc comment
bryanchriswhite Jun 29, 2023
b527d91
chore: remove warning log
bryanchriswhite Jun 29, 2023
73da86c
chore: convert `DISCUSS_THIS_COMMIT` to `TECHDEBT`
bryanchriswhite Jun 29, 2023
bf96542
Merge remote-tracking branch 'pokt/main' into feat/integrate-bg-router
bryanchriswhite Jun 30, 2023
4602283
fix: typo
bryanchriswhite Jul 3, 2023
65a8c94
chore: review suggestion improvements
bryanchriswhite Jul 4, 2023
519db25
fix: gofmt
bryanchriswhite Jul 4, 2023
7e7e6e7
docs: README improvements (review feedback)
bryanchriswhite Jul 4, 2023
f3437cb
docs: add architecture design language section
bryanchriswhite Jul 4, 2023
4f87921
chore: background router comment and var name cleanup
bryanchriswhite Jul 4, 2023
c113a36
chore: review feedback improvements
bryanchriswhite Jul 6, 2023
3356f63
chore: add issue # to TECHDEBT comment
bryanchriswhite Jul 6, 2023
157ecb6
docs: update TOC
bryanchriswhite Jul 6, 2023
30cf145
chore: add TODO README
bryanchriswhite Jul 6, 2023
40628c4
docs: improve legend definitions
bryanchriswhite Jul 6, 2023
8c0b8c3
docs: clarify broadcast table
bryanchriswhite Jul 6, 2023
5a4cc80
docs: fix mistake in peer discovery section
bryanchriswhite Jul 7, 2023
3e997f5
test: improve background router validation test
bryanchriswhite Jul 7, 2023
abd4789
chore: add error log
bryanchriswhite Jul 7, 2023
8c6ac68
fix: unstaked actor bootstrapping FSM transition
bryanchriswhite Jul 7, 2023
b76efdf
fix: goimports
bryanchriswhite Jul 7, 2023
66afa18
Merge remote-tracking branch 'pokt/main' into feat/integrate-bg-router
bryanchriswhite Jul 7, 2023
5aa0a5c
docs: update unicast/broadcast table
bryanchriswhite Jul 11, 2023
6fde86f
Merge branch 'main' into feat/integrate-bg-router
bryanchriswhite Jul 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ protogen_local: go_protoc-go-inject-tag ## Generate go structures for all of the
$(PROTOC_SHARED) -I=./consensus/types/proto --go_out=./consensus/types ./consensus/types/proto/*.proto

# P2P
$(PROTOC_SHARED) -I=./p2p/raintree/types/proto --go_out=./p2p/types ./p2p/raintree/types/proto/*.proto
$(PROTOC_SHARED) -I=./p2p/types/proto --go_out=./p2p/types ./p2p/types/proto/*.proto

# echo "View generated proto files by running: make protogen_show"

Expand Down
1 change: 1 addition & 0 deletions app/client/cli/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package cli

import (
"fmt"

"github.com/spf13/cobra"

"github.com/pokt-network/pocket/app/client/cli/flags"
Expand Down
Loading