mirror of
https://github.com/Xahau/Validation-Ledger-Tx-Store-to-xPOP.git
synced 2025-11-19 11:15:50 +00:00
Rm done comments
This commit is contained in:
@@ -17,7 +17,6 @@ process.env.NODES.split(',').map(h => h.trim())
|
||||
/**
|
||||
* TODO: Auto disconnect if no messages for X
|
||||
* TODO: Generate xPOPs for matching transactions
|
||||
* based on FIELDSREQUIRED="Fee,OperationLimit"
|
||||
*/
|
||||
|
||||
c.send({ command: "subscribe", streams: [
|
||||
|
||||
@@ -16,12 +16,6 @@ const fieldsRequired = fields.length === 1 && fields[0] === ''
|
||||
|
||||
const hasRequiredFields = tx => fieldsRequired.map(f => Object.keys(tx).includes(f)).every(f => !!f)
|
||||
|
||||
/**
|
||||
* TODO: FIELDSREQUIRED ENV VAR (so: decode tx) - if empty store all
|
||||
* » Store transactions
|
||||
* » Generate xPOP
|
||||
*/
|
||||
|
||||
const onTransaction = async ({
|
||||
networkId,
|
||||
transaction,
|
||||
|
||||
Reference in New Issue
Block a user