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

feat: Implement gateway interface to generate cargoes #64

Merged
merged 14 commits into from
Apr 23, 2020
Merged

Conversation

gnarea
Copy link
Member

@gnarea gnarea commented Apr 21, 2020

To be used by the private and public gateways. Implementing now because relaycorp/awala-gateway-internet#2 needs this.

@gnarea gnarea self-assigned this Apr 21, 2020
@codecov
Copy link

codecov bot commented Apr 22, 2020

Codecov Report

Merging #64 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #64   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           24        28    +4     
  Lines          613       669   +56     
  Branches        84        89    +5     
=========================================
+ Hits           613       669   +56     
Impacted Files Coverage Δ
src/lib/messages/Cargo.ts 100.00% <ø> (ø)
src/lib/messages/Message.ts 100.00% <ø> (ø)
src/lib/keyStores/PublicKeyStoreError.ts 100.00% <100.00%> (ø)
src/lib/keyStores/privateKeyStore.ts 100.00% <100.00%> (ø)
src/lib/keyStores/publicKeyStore.ts 100.00% <100.00%> (ø)
src/lib/messages/payloads/CargoMessageSet.ts 100.00% <100.00%> (ø)
src/lib/nodes/baseNode.ts 100.00% <100.00%> (ø)
src/lib/nodes/gateway.ts 100.00% <100.00%> (ø)
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 73d7b45...118a1a8. Read the comment docs.

@gnarea gnarea changed the title feat: Implement gateway interface feat: Implement gateway interface to generate cargoes Apr 23, 2020
@gnarea gnarea marked this pull request as ready for review April 23, 2020 11:44
@gnarea gnarea merged commit 49eacb1 into master Apr 23, 2020
@gnarea gnarea deleted the gateway branch April 23, 2020 12:54
@github-actions
Copy link

🎉 This PR is included in version 1.24.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

gnarea added a commit that referenced this pull request Apr 23, 2020
* Implement BaseNode class

* wip to switch computers

* Refactor

* Implement public key store

* Integrate public key store

* Declare tests

* Include date of last message in cargo batches

* Include session key id in PublicKeyData

* Complete implementation -- refactoring love still needed

* Fix bug

* Refactor

* Refactor

* Complete refactoring of tests

* FINAL Final refactor [skip ci] 49eacb1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant