-
Notifications
You must be signed in to change notification settings - Fork 1
/
eventNames.js
43 lines (43 loc) · 1.58 KB
/
eventNames.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
module.exports = {
canals: {
subscribeBlockRoom: "subscribeBlockRoom",
subscribeBlockHashRoom: "subscribeBlockHashRoom",
subscribeAddressRoom: "subscribeAddressRoom"
},
subscriptions: {
subscribeBlockHash: "subscribeBlockHash",
subscribeBlock: "subscribeBlock",
subscribeAddress: "subscribeAddress",
subscribeBloom: "subscribeBloom",
unsubscribeAll: "unsubscribeAll",
},
rpc: {
getblock: "getblock",
getrawtransaction: "getrawtransaction",
},
redis: {
blocknotify: 'blocknotify',
mempoolnotify: 'mempoolnotify',
},
includeTransactionType: {
// IncludeAllTransactions - Include both confirmed and mempool transactions
include_all: 0,
// IncludeMempoolTransactions - Include only mempool transactions
only_mempool_not_confirmed: 1,
// IncludeConfirmedTransactions - Include only confirmed transaction
only_confirmed: 2
},
bloomUpdateType: {
// BloomUpdateNone indicates the filter is not adjusted when a match is found.
None: 0,
// BloomUpdateAll indicates if the filter matches any data element in a
// public key script, the outpoint is serialized and inserted into the
// filter.
All: 1,
// BloomUpdateP2PubkeyOnly indicates if the filter matches a data
// element in a public key script and the script is of the standard
// pay-to-pubkey or multisig, the outpoint is serialized and inserted
// into the filter.
P2PubkeyOnly: 2
}
};