trac-msb 0.0.86 → 0.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Whitelist/pubkeys.csv +7 -1
- package/package.json +1 -1
- package/src/index.js +4 -0
- package/src/network.js +1 -0
package/Whitelist/pubkeys.csv
CHANGED
|
@@ -12,4 +12,10 @@ e74ea17cc6e05f0b09588a70d8573fca63de715a763420ff7e14b68a0c1d1d14
|
|
|
12
12
|
9dedf2e9f8f63c2ffbdccba6a3e28ace22c3788fbdbcf71b030b8574eeaa92c1
|
|
13
13
|
656c9a53cbed98f9e783b6fd53667a2793c4fd74975cd26971582ea3ab9955f1
|
|
14
14
|
1184e8f926a2f76f12685c9e3fa6b3cd542277ab6c7a09fd02a7391240ceeb18
|
|
15
|
-
744ac7add47923135928bd69a3bf448845338122ece2b9d86b1c53b025028fd1
|
|
15
|
+
744ac7add47923135928bd69a3bf448845338122ece2b9d86b1c53b025028fd1
|
|
16
|
+
7bc277890f992bd006eb0609c61e2c35529baf65765e3e4310f99aa18205a7c6
|
|
17
|
+
8888df74fe541631cedfcf27531d309a02a7915b7680bead4301c342082980b8
|
|
18
|
+
e18e2f57285018c8521aee085fdbbb0a69cf2484a9eadd9022cc25913716427a
|
|
19
|
+
b97c37985cc087d2512a97e00c3432542a2c874fb31543ba6a0c23ea7758cf39
|
|
20
|
+
0ddf2d7b7144873a2027b784529a9f60d48d0aab859f691faf39fce338e123a2
|
|
21
|
+
73f3dd2bda6d5904570751fad19c251186e04e18acaaf5a893404addcdabd9aa
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -724,6 +724,7 @@ export class MainSettlementBus extends ReadyResource {
|
|
|
724
724
|
console.log('- /add_admin: register admin entry with bootstrap key.');
|
|
725
725
|
console.log('- /add_whitelist: add a list of Trac public keys. Nodes that own these public keys can become writers.');
|
|
726
726
|
console.log('- /add_indexer <trac_public_key>: change a role of the selected writer node to indexer role');
|
|
727
|
+
console.log('- /push_writer_add: try to enforce adding this peer as writer after whitelisting.');
|
|
727
728
|
console.log('- /remove_indexer <trac_public_key>: change a role of the selected indexer node to default role');
|
|
728
729
|
console.log('- /get_node_info <trac_public_key>: get information about a node with the given Trac public key');
|
|
729
730
|
console.log('- /dag: check system properties such as writing key, DAG, etc.');
|
|
@@ -737,6 +738,9 @@ export class MainSettlementBus extends ReadyResource {
|
|
|
737
738
|
await this.close();
|
|
738
739
|
typeof process !== "undefined" ? process.exit(0) : Pear.exit(0);
|
|
739
740
|
break;
|
|
741
|
+
case '/push_writer_add':
|
|
742
|
+
await this.#requestWriterRole(true)
|
|
743
|
+
break;
|
|
740
744
|
case '/add_admin':
|
|
741
745
|
await this.#handleAdminOperations();
|
|
742
746
|
break;
|