0.1.4 • Published 5 years ago

@phantomchain/core-transaction-pool-mem v0.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Phantom Core - Transaction Pool (Mem)

Installation

yarn add @phantomchain/core-transaction-pool-mem

Configuration

module.exports = {
  enabled: !process.env.PHANTOM_TRANSACTION_POOL_DISABLED,
  syncInterval: 512,
  storage: `${process.env.PHANTOM_PATH_DATA}/database/transaction-pool-${
    process.env.PHANTOM_NETWORK_NAME
  }.sqlite`,
  maxTransactionsPerSender:
    process.env.PHANTOM_TRANSACTION_POOL_MAX_PER_SENDER || 300,
  whitelist: [],
  allowedSenders: [],
  maxTransactionsPerRequest: 40,
  maxTransactionAge: 2700,
}

Security

If you discover a security vulnerability within this package, please send an e-mail to security@ark.io. All security vulnerabilities will be promptly addressed.

Credits

License

MIT © ArkEcosystem