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

Future compatibility with multi-hop routing #150

Merged
merged 8 commits into from
Jul 28, 2019

Conversation

cwgoes
Copy link
Contributor

@cwgoes cwgoes commented Jul 16, 2019

@cwgoes cwgoes added tao Transport, authentication, & ordering layer. wip Issues or pull requests which are in progress. stage-draft labels Jul 16, 2019
@cwgoes
Copy link
Contributor Author

cwgoes commented Jul 16, 2019

  • Loopback
  • Avoid duplicate key / value data on channels
  • Read through logic again

@cwgoes
Copy link
Contributor Author

cwgoes commented Jul 16, 2019

Split off loopback - #151

@cwgoes cwgoes marked this pull request as ready for review July 16, 2019 11:58
@cwgoes cwgoes added ready-for-review Pull requests which are ready for review. and removed wip Issues or pull requests which are in progress. labels Jul 16, 2019
spec/ics-004-channel-and-packet-semantics/README.md Outdated Show resolved Hide resolved
spec/ics-004-channel-and-packet-semantics/README.md Outdated Show resolved Hide resolved
assert(connection.state === OPEN)
assert(packet.destConnection === connection.counterpartyConnectionIdentifier)
assert(packet.connectionHops === channel.connectionHops)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this be true with number of connection hops > 2? Is the plan to have all hops in the packet?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not necessary; it depends on the details of how we store the routing table.

For now it is true though.

@cwgoes cwgoes merged commit 595ba36 into master Jul 28, 2019
@cwgoes cwgoes deleted the cwgoes/multi-hop-future-compatibility branch July 28, 2019 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review Pull requests which are ready for review. tao Transport, authentication, & ordering layer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants