Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
five-bells-notary
Advanced tools
Consensus-capable Byzantine fault tolerant cryptographic notary
Server application that notarizes receipt of crypto-condition fulfillments by an expiry date
A standard Interledger payment relies on connectors to relay transfer data within a time limit. This works fine in most cases, but when participants can agree on some trusted parties we can do better.
In order to decide whether to commit or rollback a transfer, the participants to a transfer may choose to use a witness. Using a witness, we can guarantee atomicity for the transfer, as long as the witness promises only to publish the commit or the rollback message, but not both.
Of course, now the transactional semantics depend on safety and liveness of the witness. In order to minimize the risk of failure, we use not a single witness, but a consensus group of witnesses. (Consensus feature is not implemented yet.)
To run with sqlite,
NOTARY_DB_SYNC=1 NOTARY_DB_URI=sqlite://:memory: npm start
To run with postgres, create a database, then
NOTARY_DB_SYNC=1 NOTARY_UNIT_DB_URI=postgres://user:password@host:port/db_name npm start
To run with Oracle, first, install Oracle Instant Client, e.g, in /opt/oracle/instantclient. Then run an Oracle database in a docker container (example), and specify NOTARY_DB_URI
:
NOTARY_DB_SYNC=1 NOTARY_DB_URI='oracle://user:password@docker-machine-ip:port/' DYLD_LIBRARY_PATH=/opt/oracle/instantclient LD_LIBRARY_PATH=/opt/oracle/instantclient npm start
NOTARY_DB_SYNC
is a test setting that creates the database by running the SQL scripts in ./src/sql
. These scripts are not re-runnable. You must drop the database or set NOTARY_DB_SYNC=0
after the initial run.
Configuring log level
NOTARY_LOG_LEVEL
(default: info
) the allowed levels in order of verbosity are fatal
, error
, warn
, info
, debug
, and trace
FAQs
Consensus-capable Byzantine fault tolerant cryptographic notary
The npm package five-bells-notary receives a total of 65 weekly downloads. As such, five-bells-notary popularity was classified as not popular.
We found that five-bells-notary demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.