Skip to content

Commit

Permalink
Merge pull request #146 from FabricLabs/feature/zmq-cleanup
Browse files Browse the repository at this point in the history
ZMQ Cleanup
  • Loading branch information
martindale authored Feb 20, 2024
2 parents d5db2dc + 843038f commit 59b7d26
Show file tree
Hide file tree
Showing 13 changed files with 426 additions and 164 deletions.
6 changes: 3 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Installing Fabric
## Prerequisites
- Node.js 16.17.1
- Node.js 18.19.0

## Quick Start
You can install Fabric by running:
Expand All @@ -24,8 +24,8 @@ By default, the Fabric CLI connects to `playnet` for an initial set of peers. Y
## Notes
If you don't have Node.js, or an incorrect version, we recommend [installing NVM][installing-nvm]. Once complete, you can install and set the default node version:
```
nvm install 16.17.1
nvm alias default 16.17.1 # optional
nvm install 18.19.0
nvm alias default 18.19.0 # optional
```

[installing-nvm]: https://nvm.sh
2 changes: 1 addition & 1 deletion QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Prerequisites
0. (optional) Install NVM: `https://nvm.sh`
1. Install Node 16.17.1 (use `nvm install 16.17.1` if using `nvm`)
1. Install Node 18.19.0 (use `nvm install 18.19.0` if using `nvm`)

## Instructions
0. Meet the prerequisites (above)
Expand Down
4 changes: 4 additions & 0 deletions constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ const BITCOIN_GENESIS = '000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b
const BITCOIN_GENESIS_ROOT = '4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b';
const FABRIC_KEY_DERIVATION_PATH = "m/44'/7777'/0'/0/0";
const FIXTURE_SEED = 'abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about';
const FIXTURE_XPUB = 'xpub661MyMwAqRbcF6GygV6Q6XAg8dqhPvDuhYHGniequi6HMbYhNNH5XC13Np3qRANHVD2mmnNGtMGBfDT69s2ovpHLr7q8syoAuyWqtRGEsYQ';
const FIXTURE_XPRV = 'xprv9s21ZrQH143K2cCWaTZPjPDwac1CzTW4LKMfzLFEMNZJUoDYppxpyPgZXY7CZkjefGJTrTyqKnMrM4RG6nGn7Q9cwjHggCtn3CdFGJahaWY';

// Message Constants
const MAGIC_BYTES = 0xC0D3F33D;
Expand Down Expand Up @@ -126,6 +128,8 @@ module.exports = {
FABRIC_KEY_DERIVATION_PATH,
FABRIC_USER_AGENT,
FIXTURE_SEED,
FIXTURE_XPUB,
FIXTURE_XPRV,
HEADER_SIZE,
GENERIC_MESSAGE_TYPE,
LOG_MESSAGE_TYPE,
Expand Down
2 changes: 1 addition & 1 deletion contracts/mount.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function OP_MOUNT (command) {
});

filesystem.on('log', log => {
console.log('log:', log);
console.log('[FILESYSTEM]', 'log:', log);
});

filesystem.on('message', message => {
Expand Down
Loading

0 comments on commit 59b7d26

Please sign in to comment.