Rm done comments

This commit is contained in:
Wietse Wind
2023-10-02 00:45:14 +02:00
parent c148de2f8d
commit 128a413022
2 changed files with 0 additions and 7 deletions

View File

@@ -17,7 +17,6 @@ process.env.NODES.split(',').map(h => h.trim())
/** /**
* TODO: Auto disconnect if no messages for X * TODO: Auto disconnect if no messages for X
* TODO: Generate xPOPs for matching transactions * TODO: Generate xPOPs for matching transactions
* based on FIELDSREQUIRED="Fee,OperationLimit"
*/ */
c.send({ command: "subscribe", streams: [ c.send({ command: "subscribe", streams: [

View File

@@ -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) 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 ({ const onTransaction = async ({
networkId, networkId,
transaction, transaction,