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

[Feature]: Signer network in-process implementation #108

Closed
3 tasks
netrome opened this issue May 2, 2024 · 0 comments
Closed
3 tasks

[Feature]: Signer network in-process implementation #108

netrome opened this issue May 2, 2024 · 0 comments
Assignees
Labels
sbtc bootstrap signer The sBTC Bootstrap Signer. signer communication Communication across sBTC bootstrap signers.

Comments

@netrome
Copy link
Contributor

netrome commented May 2, 2024

Feature - Signer network in-process implementation

1. Description

Implement an in-process implementation of the signer network usable for unit tests.

1.1 Context & Purpose

To allow signer operations to be easily unit-testable, we should have an implementation of the signer network interface which operates entirely in-process without any I/O. This implementation should allow unit tests to broadcast messages between thread boundaries, and support interfering with the network process such as delaying the delivery of a message or blocking a message from being delivered. It should also support making assertions over messages being sent and received.

2.1 Acceptance Criteria:

  • There is an implementation of the Signer network which runs entirely in-process.
  • The implementation supports delaying or blocking messages.
  • The implementation allows inspection of sent and received messages for different consumers.
@netrome netrome added sbtc bootstrap signer The sBTC Bootstrap Signer. signer communication Communication across sBTC bootstrap signers. labels May 2, 2024
@netrome netrome self-assigned this May 13, 2024
@netrome netrome closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sbtc bootstrap signer The sBTC Bootstrap Signer. signer communication Communication across sBTC bootstrap signers.
Projects
None yet
Development

No branches or pull requests

1 participant