@mainsail/contracts 0.0.1-evm.5 → 0.0.1-evm.50
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/distribution/contracts/api/api.d.ts +7 -14
- package/distribution/contracts/api/api.d.ts.map +1 -1
- package/distribution/contracts/api/rpc.d.ts +9 -13
- package/distribution/contracts/api/rpc.d.ts.map +1 -1
- package/distribution/contracts/api-sync.d.ts +7 -3
- package/distribution/contracts/api-sync.d.ts.map +1 -1
- package/distribution/contracts/blockchain-utilities.d.ts +19 -0
- package/distribution/contracts/blockchain-utilities.d.ts.map +1 -0
- package/distribution/contracts/cli/application.d.ts +15 -0
- package/distribution/contracts/cli/application.d.ts.map +1 -0
- package/distribution/contracts/cli/cli.d.ts +22 -0
- package/distribution/contracts/cli/cli.d.ts.map +1 -0
- package/distribution/contracts/cli/commands.d.ts +26 -0
- package/distribution/contracts/cli/commands.d.ts.map +1 -0
- package/distribution/contracts/cli/index.d.ts +6 -0
- package/distribution/contracts/cli/index.d.ts.map +1 -0
- package/distribution/contracts/cli/paths.d.ts +2 -0
- package/distribution/contracts/cli/paths.d.ts.map +1 -0
- package/distribution/contracts/cli/services.d.ts +106 -0
- package/distribution/contracts/cli/services.d.ts.map +1 -0
- package/distribution/contracts/consensus/consensus.d.ts +25 -22
- package/distribution/contracts/consensus/consensus.d.ts.map +1 -1
- package/distribution/contracts/consensus/enums.d.ts +3 -10
- package/distribution/contracts/consensus/enums.d.ts.map +1 -1
- package/distribution/contracts/consensus/processor.d.ts +4 -7
- package/distribution/contracts/consensus/processor.d.ts.map +1 -1
- package/distribution/contracts/consensus-storage.d.ts +8 -9
- package/distribution/contracts/consensus-storage.d.ts.map +1 -1
- package/distribution/contracts/crypto/block.d.ts +54 -53
- package/distribution/contracts/crypto/block.d.ts.map +1 -1
- package/distribution/contracts/crypto/commit-handler.d.ts +5 -0
- package/distribution/contracts/crypto/commit-handler.d.ts.map +1 -0
- package/distribution/contracts/crypto/commit.d.ts +11 -9
- package/distribution/contracts/crypto/commit.d.ts.map +1 -1
- package/distribution/contracts/crypto/config.d.ts +10 -7
- package/distribution/contracts/crypto/config.d.ts.map +1 -1
- package/distribution/contracts/crypto/crypto.d.ts +0 -1
- package/distribution/contracts/crypto/crypto.d.ts.map +1 -1
- package/distribution/contracts/crypto/hash.d.ts +4 -4
- package/distribution/contracts/crypto/hash.d.ts.map +1 -1
- package/distribution/contracts/crypto/identities.d.ts +15 -8
- package/distribution/contracts/crypto/identities.d.ts.map +1 -1
- package/distribution/contracts/crypto/index.d.ts +2 -1
- package/distribution/contracts/crypto/index.d.ts.map +1 -1
- package/distribution/contracts/crypto/messages.d.ts +17 -106
- package/distribution/contracts/crypto/messages.d.ts.map +1 -1
- package/distribution/contracts/crypto/networks.d.ts +17 -12
- package/distribution/contracts/crypto/networks.d.ts.map +1 -1
- package/distribution/contracts/crypto/proposal.d.ts +48 -0
- package/distribution/contracts/crypto/proposal.d.ts.map +1 -0
- package/distribution/contracts/crypto/transactions.d.ts +72 -113
- package/distribution/contracts/crypto/transactions.d.ts.map +1 -1
- package/distribution/contracts/crypto/validator.d.ts +5 -5
- package/distribution/contracts/crypto/validator.d.ts.map +1 -1
- package/distribution/contracts/crypto/worker.d.ts +23 -14
- package/distribution/contracts/crypto/worker.d.ts.map +1 -1
- package/distribution/contracts/database.d.ts +20 -9
- package/distribution/contracts/database.d.ts.map +1 -1
- package/distribution/contracts/evm/contract-service.d.ts +32 -0
- package/distribution/contracts/evm/contract-service.d.ts.map +1 -0
- package/distribution/contracts/evm/evm.d.ts +102 -37
- package/distribution/contracts/evm/evm.d.ts.map +1 -1
- package/distribution/contracts/evm/index.d.ts +3 -1
- package/distribution/contracts/evm/index.d.ts.map +1 -1
- package/distribution/contracts/evm/instance.d.ts +30 -0
- package/distribution/contracts/evm/instance.d.ts.map +1 -0
- package/distribution/contracts/evm/storage.d.ts +58 -0
- package/distribution/contracts/evm/storage.d.ts.map +1 -0
- package/distribution/contracts/evm/worker.d.ts +7 -10
- package/distribution/contracts/evm/worker.d.ts.map +1 -1
- package/distribution/contracts/forger.d.ts +15 -0
- package/distribution/contracts/forger.d.ts.map +1 -0
- package/distribution/contracts/index.d.ts +8 -5
- package/distribution/contracts/index.d.ts.map +1 -1
- package/distribution/contracts/kernel/application.d.ts +13 -17
- package/distribution/contracts/kernel/application.d.ts.map +1 -1
- package/distribution/contracts/kernel/cache.d.ts +1 -0
- package/distribution/contracts/kernel/cache.d.ts.map +1 -1
- package/distribution/contracts/kernel/container.d.ts +1 -1
- package/distribution/contracts/kernel/container.d.ts.map +1 -1
- package/distribution/contracts/kernel/events.d.ts +14 -19
- package/distribution/contracts/kernel/events.d.ts.map +1 -1
- package/distribution/contracts/kernel/filesystem.d.ts +7 -6
- package/distribution/contracts/kernel/filesystem.d.ts.map +1 -1
- package/distribution/contracts/kernel/index.d.ts +3 -2
- package/distribution/contracts/kernel/index.d.ts.map +1 -1
- package/distribution/contracts/kernel/ipc.d.ts +19 -19
- package/distribution/contracts/kernel/ipc.d.ts.map +1 -1
- package/distribution/contracts/kernel/log.d.ts +7 -8
- package/distribution/contracts/kernel/log.d.ts.map +1 -1
- package/distribution/contracts/kernel/pipeline.d.ts +7 -6
- package/distribution/contracts/kernel/pipeline.d.ts.map +1 -1
- package/distribution/contracts/kernel/providers.d.ts +13 -0
- package/distribution/contracts/kernel/providers.d.ts.map +1 -0
- package/distribution/contracts/kernel/queue.d.ts +3 -2
- package/distribution/contracts/kernel/queue.d.ts.map +1 -1
- package/distribution/contracts/kernel/repository.d.ts +2 -2
- package/distribution/contracts/kernel/repository.d.ts.map +1 -1
- package/distribution/contracts/kernel/trigger.d.ts +2 -0
- package/distribution/contracts/kernel/trigger.d.ts.map +1 -0
- package/distribution/contracts/network-generator.d.ts +22 -2
- package/distribution/contracts/network-generator.d.ts.map +1 -1
- package/distribution/contracts/p2p/api-node-discoverer.d.ts +2 -2
- package/distribution/contracts/p2p/api-node-discoverer.d.ts.map +1 -1
- package/distribution/contracts/p2p/api-node-processor.d.ts +1 -1
- package/distribution/contracts/p2p/api-node-processor.d.ts.map +1 -1
- package/distribution/contracts/p2p/api-node-repository.d.ts +1 -1
- package/distribution/contracts/p2p/api-node-repository.d.ts.map +1 -1
- package/distribution/contracts/p2p/api-node-verifier.d.ts +1 -1
- package/distribution/contracts/p2p/api-node-verifier.d.ts.map +1 -1
- package/distribution/contracts/p2p/api-node.d.ts +1 -1
- package/distribution/contracts/p2p/api-node.d.ts.map +1 -1
- package/distribution/contracts/p2p/broadcaster.d.ts +2 -3
- package/distribution/contracts/p2p/broadcaster.d.ts.map +1 -1
- package/distribution/contracts/p2p/downloader.d.ts +1 -1
- package/distribution/contracts/p2p/downloader.d.ts.map +1 -1
- package/distribution/contracts/p2p/endpoints.d.ts +15 -22
- package/distribution/contracts/p2p/endpoints.d.ts.map +1 -1
- package/distribution/contracts/p2p/enums.d.ts +2 -4
- package/distribution/contracts/p2p/enums.d.ts.map +1 -1
- package/distribution/contracts/p2p/header-service.d.ts +2 -2
- package/distribution/contracts/p2p/header-service.d.ts.map +1 -1
- package/distribution/contracts/p2p/header.d.ts +4 -4
- package/distribution/contracts/p2p/header.d.ts.map +1 -1
- package/distribution/contracts/p2p/index.d.ts +4 -3
- package/distribution/contracts/p2p/index.d.ts.map +1 -1
- package/distribution/contracts/p2p/log.d.ts +4 -11
- package/distribution/contracts/p2p/log.d.ts.map +1 -1
- package/distribution/contracts/p2p/nes.d.ts +3 -3
- package/distribution/contracts/p2p/nes.d.ts.map +1 -1
- package/distribution/contracts/p2p/peer-communicator.d.ts +5 -7
- package/distribution/contracts/p2p/peer-communicator.d.ts.map +1 -1
- package/distribution/contracts/p2p/peer-connector.d.ts +5 -3
- package/distribution/contracts/p2p/peer-connector.d.ts.map +1 -1
- package/distribution/contracts/p2p/peer-discoverer.d.ts +1 -1
- package/distribution/contracts/p2p/peer-discoverer.d.ts.map +1 -1
- package/distribution/contracts/p2p/peer-disposer.d.ts +1 -1
- package/distribution/contracts/p2p/peer-disposer.d.ts.map +1 -1
- package/distribution/contracts/p2p/peer-processor.d.ts +4 -3
- package/distribution/contracts/p2p/peer-processor.d.ts.map +1 -1
- package/distribution/contracts/p2p/peer-repository.d.ts +1 -1
- package/distribution/contracts/p2p/peer-repository.d.ts.map +1 -1
- package/distribution/contracts/p2p/peer-verifier.d.ts +1 -1
- package/distribution/contracts/p2p/peer-verifier.d.ts.map +1 -1
- package/distribution/contracts/p2p/peer.d.ts +12 -13
- package/distribution/contracts/p2p/peer.d.ts.map +1 -1
- package/distribution/contracts/p2p/server.d.ts +27 -3
- package/distribution/contracts/p2p/server.d.ts.map +1 -1
- package/distribution/contracts/p2p/service.d.ts +1 -1
- package/distribution/contracts/p2p/service.d.ts.map +1 -1
- package/distribution/contracts/p2p/state.d.ts +1 -1
- package/distribution/contracts/p2p/state.d.ts.map +1 -1
- package/distribution/contracts/p2p/statistic.d.ts +85 -0
- package/distribution/contracts/p2p/statistic.d.ts.map +1 -0
- package/distribution/contracts/processor/block-processor-result.d.ts +8 -0
- package/distribution/contracts/processor/block-processor-result.d.ts.map +1 -0
- package/distribution/contracts/processor/block-processor.d.ts +7 -0
- package/distribution/contracts/processor/block-processor.d.ts.map +1 -0
- package/distribution/contracts/processor/handler.d.ts +5 -0
- package/distribution/contracts/processor/handler.d.ts.map +1 -0
- package/distribution/contracts/processor/index.d.ts +7 -0
- package/distribution/contracts/processor/index.d.ts.map +1 -0
- package/distribution/contracts/processor/processable-unit.d.ts +16 -0
- package/distribution/contracts/processor/processable-unit.d.ts.map +1 -0
- package/distribution/contracts/processor/transaction-processor.d.ts +7 -0
- package/distribution/contracts/processor/transaction-processor.d.ts.map +1 -0
- package/distribution/contracts/processor/verifier.d.ts +5 -0
- package/distribution/contracts/processor/verifier.d.ts.map +1 -0
- package/distribution/contracts/serializer.d.ts +4 -5
- package/distribution/contracts/serializer.d.ts.map +1 -1
- package/distribution/contracts/shared/dynamic-fee.d.ts +1 -1
- package/distribution/contracts/shared/dynamic-fee.d.ts.map +1 -1
- package/distribution/contracts/snapshot.d.ts +59 -0
- package/distribution/contracts/snapshot.d.ts.map +1 -0
- package/distribution/contracts/state/store.d.ts +4 -4
- package/distribution/contracts/state/store.d.ts.map +1 -1
- package/distribution/contracts/state/wallets.d.ts +11 -8
- package/distribution/contracts/state/wallets.d.ts.map +1 -1
- package/distribution/contracts/transaction-pool/broadcaster.d.ts +4 -15
- package/distribution/contracts/transaction-pool/broadcaster.d.ts.map +1 -1
- package/distribution/contracts/transaction-pool/client.d.ts +1 -2
- package/distribution/contracts/transaction-pool/client.d.ts.map +1 -1
- package/distribution/contracts/transaction-pool/index.d.ts +1 -2
- package/distribution/contracts/transaction-pool/index.d.ts.map +1 -1
- package/distribution/contracts/transaction-pool/mempool.d.ts +2 -2
- package/distribution/contracts/transaction-pool/mempool.d.ts.map +1 -1
- package/distribution/contracts/transaction-pool/processor.d.ts +1 -2
- package/distribution/contracts/transaction-pool/processor.d.ts.map +1 -1
- package/distribution/contracts/transaction-pool/query.d.ts +2 -6
- package/distribution/contracts/transaction-pool/query.d.ts.map +1 -1
- package/distribution/contracts/transaction-pool/selector.d.ts +15 -0
- package/distribution/contracts/transaction-pool/selector.d.ts.map +1 -0
- package/distribution/contracts/transaction-pool/sender-mempool.d.ts +5 -3
- package/distribution/contracts/transaction-pool/sender-mempool.d.ts.map +1 -1
- package/distribution/contracts/transaction-pool/sender-state.d.ts +4 -2
- package/distribution/contracts/transaction-pool/sender-state.d.ts.map +1 -1
- package/distribution/contracts/transaction-pool/service.d.ts +2 -2
- package/distribution/contracts/transaction-pool/service.d.ts.map +1 -1
- package/distribution/contracts/transaction-pool/storage.d.ts +5 -6
- package/distribution/contracts/transaction-pool/storage.d.ts.map +1 -1
- package/distribution/contracts/transaction-pool/worker.d.ts +12 -14
- package/distribution/contracts/transaction-pool/worker.d.ts.map +1 -1
- package/distribution/contracts/transactions.d.ts +6 -31
- package/distribution/contracts/transactions.d.ts.map +1 -1
- package/distribution/contracts/types/index.d.ts +3 -7
- package/distribution/contracts/types/index.d.ts.map +1 -1
- package/distribution/contracts/validator-set.d.ts +3 -3
- package/distribution/contracts/validator-set.d.ts.map +1 -1
- package/distribution/contracts/validator.d.ts +3 -4
- package/distribution/contracts/validator.d.ts.map +1 -1
- package/distribution/contracts/webhooks.d.ts +8 -1
- package/distribution/contracts/webhooks.d.ts.map +1 -1
- package/distribution/index.d.ts +1 -6
- package/distribution/index.d.ts.map +1 -1
- package/distribution/{utils.d.ts → utilities.d.ts} +1 -1
- package/distribution/utilities.d.ts.map +1 -0
- package/package.json +16 -13
- package/distribution/constants/channels.d.ts +0 -2
- package/distribution/constants/channels.d.ts.map +0 -1
- package/distribution/constants/channels.js +0 -2
- package/distribution/constants/channels.js.map +0 -1
- package/distribution/constants/environment-variables.d.ts +0 -3
- package/distribution/constants/environment-variables.d.ts.map +0 -1
- package/distribution/constants/environment-variables.js +0 -136
- package/distribution/constants/environment-variables.js.map +0 -1
- package/distribution/constants/index.d.ts +0 -4
- package/distribution/constants/index.d.ts.map +0 -1
- package/distribution/constants/index.js +0 -4
- package/distribution/constants/index.js.map +0 -1
- package/distribution/constants/units.d.ts +0 -8
- package/distribution/constants/units.d.ts.map +0 -1
- package/distribution/constants/units.js +0 -9
- package/distribution/constants/units.js.map +0 -1
- package/distribution/contracts/api/api.js +0 -6
- package/distribution/contracts/api/api.js.map +0 -1
- package/distribution/contracts/api/index.js +0 -3
- package/distribution/contracts/api/index.js.map +0 -1
- package/distribution/contracts/api/rpc.js +0 -9
- package/distribution/contracts/api/rpc.js.map +0 -1
- package/distribution/contracts/api-sync.js +0 -2
- package/distribution/contracts/api-sync.js.map +0 -1
- package/distribution/contracts/consensus/consensus.js +0 -2
- package/distribution/contracts/consensus/consensus.js.map +0 -1
- package/distribution/contracts/consensus/enums.js +0 -13
- package/distribution/contracts/consensus/enums.js.map +0 -1
- package/distribution/contracts/consensus/index.js +0 -4
- package/distribution/contracts/consensus/index.js.map +0 -1
- package/distribution/contracts/consensus/processor.js +0 -2
- package/distribution/contracts/consensus/processor.js.map +0 -1
- package/distribution/contracts/consensus-storage.js +0 -2
- package/distribution/contracts/consensus-storage.js.map +0 -1
- package/distribution/contracts/crypto/block.js +0 -2
- package/distribution/contracts/crypto/block.js.map +0 -1
- package/distribution/contracts/crypto/commit.js +0 -2
- package/distribution/contracts/crypto/commit.js.map +0 -1
- package/distribution/contracts/crypto/config.js +0 -2
- package/distribution/contracts/crypto/config.js.map +0 -1
- package/distribution/contracts/crypto/crypto.js +0 -2
- package/distribution/contracts/crypto/crypto.js.map +0 -1
- package/distribution/contracts/crypto/enums.d.ts +0 -17
- package/distribution/contracts/crypto/enums.d.ts.map +0 -1
- package/distribution/contracts/crypto/enums.js +0 -20
- package/distribution/contracts/crypto/enums.js.map +0 -1
- package/distribution/contracts/crypto/hash.js +0 -2
- package/distribution/contracts/crypto/hash.js.map +0 -1
- package/distribution/contracts/crypto/identities.js +0 -2
- package/distribution/contracts/crypto/identities.js.map +0 -1
- package/distribution/contracts/crypto/index.js +0 -14
- package/distribution/contracts/crypto/index.js.map +0 -1
- package/distribution/contracts/crypto/messages.js +0 -6
- package/distribution/contracts/crypto/messages.js.map +0 -1
- package/distribution/contracts/crypto/networks.js +0 -2
- package/distribution/contracts/crypto/networks.js.map +0 -1
- package/distribution/contracts/crypto/signatures.js +0 -2
- package/distribution/contracts/crypto/signatures.js.map +0 -1
- package/distribution/contracts/crypto/transactions.js +0 -2
- package/distribution/contracts/crypto/transactions.js.map +0 -1
- package/distribution/contracts/crypto/validator.js +0 -2
- package/distribution/contracts/crypto/validator.js.map +0 -1
- package/distribution/contracts/crypto/worker.js +0 -2
- package/distribution/contracts/crypto/worker.js.map +0 -1
- package/distribution/contracts/database.js +0 -2
- package/distribution/contracts/database.js.map +0 -1
- package/distribution/contracts/evm/evm.js +0 -13
- package/distribution/contracts/evm/evm.js.map +0 -1
- package/distribution/contracts/evm/gas-fee.d.ts +0 -10
- package/distribution/contracts/evm/gas-fee.d.ts.map +0 -1
- package/distribution/contracts/evm/gas-fee.js +0 -2
- package/distribution/contracts/evm/gas-fee.js.map +0 -1
- package/distribution/contracts/evm/index.js +0 -5
- package/distribution/contracts/evm/index.js.map +0 -1
- package/distribution/contracts/evm/state.js +0 -2
- package/distribution/contracts/evm/state.js.map +0 -1
- package/distribution/contracts/evm/worker.js +0 -2
- package/distribution/contracts/evm/worker.js.map +0 -1
- package/distribution/contracts/index.js +0 -22
- package/distribution/contracts/index.js.map +0 -1
- package/distribution/contracts/kernel/application.js +0 -2
- package/distribution/contracts/kernel/application.js.map +0 -1
- package/distribution/contracts/kernel/cache.js +0 -2
- package/distribution/contracts/kernel/cache.js.map +0 -1
- package/distribution/contracts/kernel/config.js +0 -2
- package/distribution/contracts/kernel/config.js.map +0 -1
- package/distribution/contracts/kernel/container.js +0 -2
- package/distribution/contracts/kernel/container.js.map +0 -1
- package/distribution/contracts/kernel/environment-variables.d.ts +0 -3
- package/distribution/contracts/kernel/environment-variables.d.ts.map +0 -1
- package/distribution/contracts/kernel/environment-variables.js +0 -2
- package/distribution/contracts/kernel/environment-variables.js.map +0 -1
- package/distribution/contracts/kernel/events.js +0 -2
- package/distribution/contracts/kernel/events.js.map +0 -1
- package/distribution/contracts/kernel/filesystem.js +0 -2
- package/distribution/contracts/kernel/filesystem.js.map +0 -1
- package/distribution/contracts/kernel/index.js +0 -15
- package/distribution/contracts/kernel/index.js.map +0 -1
- package/distribution/contracts/kernel/ipc.js +0 -2
- package/distribution/contracts/kernel/ipc.js.map +0 -1
- package/distribution/contracts/kernel/lock.js +0 -2
- package/distribution/contracts/kernel/lock.js.map +0 -1
- package/distribution/contracts/kernel/log.js +0 -2
- package/distribution/contracts/kernel/log.js.map +0 -1
- package/distribution/contracts/kernel/pipeline.js +0 -2
- package/distribution/contracts/kernel/pipeline.js.map +0 -1
- package/distribution/contracts/kernel/queue.js +0 -2
- package/distribution/contracts/kernel/queue.js.map +0 -1
- package/distribution/contracts/kernel/repository.js +0 -2
- package/distribution/contracts/kernel/repository.js.map +0 -1
- package/distribution/contracts/kernel/validation.js +0 -2
- package/distribution/contracts/kernel/validation.js.map +0 -1
- package/distribution/contracts/network-generator.js +0 -2
- package/distribution/contracts/network-generator.js.map +0 -1
- package/distribution/contracts/p2p/api-node-discoverer.js +0 -2
- package/distribution/contracts/p2p/api-node-discoverer.js.map +0 -1
- package/distribution/contracts/p2p/api-node-processor.js +0 -2
- package/distribution/contracts/p2p/api-node-processor.js.map +0 -1
- package/distribution/contracts/p2p/api-node-repository.js +0 -2
- package/distribution/contracts/p2p/api-node-repository.js.map +0 -1
- package/distribution/contracts/p2p/api-node-verifier.js +0 -2
- package/distribution/contracts/p2p/api-node-verifier.js.map +0 -1
- package/distribution/contracts/p2p/api-node.js +0 -2
- package/distribution/contracts/p2p/api-node.js.map +0 -1
- package/distribution/contracts/p2p/broadcaster.js +0 -2
- package/distribution/contracts/p2p/broadcaster.js.map +0 -1
- package/distribution/contracts/p2p/downloader.js +0 -2
- package/distribution/contracts/p2p/downloader.js.map +0 -1
- package/distribution/contracts/p2p/endpoints.js +0 -2
- package/distribution/contracts/p2p/endpoints.js.map +0 -1
- package/distribution/contracts/p2p/enums.js +0 -6
- package/distribution/contracts/p2p/enums.js.map +0 -1
- package/distribution/contracts/p2p/header-service.js +0 -2
- package/distribution/contracts/p2p/header-service.js.map +0 -1
- package/distribution/contracts/p2p/header.js +0 -2
- package/distribution/contracts/p2p/header.js.map +0 -1
- package/distribution/contracts/p2p/index.js +0 -26
- package/distribution/contracts/p2p/index.js.map +0 -1
- package/distribution/contracts/p2p/log.js +0 -2
- package/distribution/contracts/p2p/log.js.map +0 -1
- package/distribution/contracts/p2p/nes.js +0 -2
- package/distribution/contracts/p2p/nes.js.map +0 -1
- package/distribution/contracts/p2p/peer-communicator.js +0 -2
- package/distribution/contracts/p2p/peer-communicator.js.map +0 -1
- package/distribution/contracts/p2p/peer-connector.js +0 -2
- package/distribution/contracts/p2p/peer-connector.js.map +0 -1
- package/distribution/contracts/p2p/peer-discoverer.js +0 -2
- package/distribution/contracts/p2p/peer-discoverer.js.map +0 -1
- package/distribution/contracts/p2p/peer-disposer.js +0 -2
- package/distribution/contracts/p2p/peer-disposer.js.map +0 -1
- package/distribution/contracts/p2p/peer-processor.js +0 -2
- package/distribution/contracts/p2p/peer-processor.js.map +0 -1
- package/distribution/contracts/p2p/peer-repository.js +0 -2
- package/distribution/contracts/p2p/peer-repository.js.map +0 -1
- package/distribution/contracts/p2p/peer-verifier.js +0 -2
- package/distribution/contracts/p2p/peer-verifier.js.map +0 -1
- package/distribution/contracts/p2p/peer.js +0 -2
- package/distribution/contracts/p2p/peer.js.map +0 -1
- package/distribution/contracts/p2p/server.js +0 -2
- package/distribution/contracts/p2p/server.js.map +0 -1
- package/distribution/contracts/p2p/service.js +0 -2
- package/distribution/contracts/p2p/service.js.map +0 -1
- package/distribution/contracts/p2p/state.js +0 -2
- package/distribution/contracts/p2p/state.js.map +0 -1
- package/distribution/contracts/p2p/tx-pool-node.js +0 -2
- package/distribution/contracts/p2p/tx-pool-node.js.map +0 -1
- package/distribution/contracts/processor.d.ts +0 -33
- package/distribution/contracts/processor.d.ts.map +0 -1
- package/distribution/contracts/processor.js +0 -2
- package/distribution/contracts/processor.js.map +0 -1
- package/distribution/contracts/proposer.d.ts +0 -5
- package/distribution/contracts/proposer.d.ts.map +0 -1
- package/distribution/contracts/proposer.js +0 -2
- package/distribution/contracts/proposer.js.map +0 -1
- package/distribution/contracts/serializer.js +0 -2
- package/distribution/contracts/serializer.js.map +0 -1
- package/distribution/contracts/shared/dynamic-fee.js +0 -2
- package/distribution/contracts/shared/dynamic-fee.js.map +0 -1
- package/distribution/contracts/shared/index.js +0 -3
- package/distribution/contracts/shared/index.js.map +0 -1
- package/distribution/contracts/shared/rounds.js +0 -2
- package/distribution/contracts/shared/rounds.js.map +0 -1
- package/distribution/contracts/state/index.js +0 -4
- package/distribution/contracts/state/index.js.map +0 -1
- package/distribution/contracts/state/state.js +0 -2
- package/distribution/contracts/state/state.js.map +0 -1
- package/distribution/contracts/state/store.js +0 -2
- package/distribution/contracts/state/store.js.map +0 -1
- package/distribution/contracts/state/wallets.js +0 -2
- package/distribution/contracts/state/wallets.js.map +0 -1
- package/distribution/contracts/transaction-pool/broadcaster.js +0 -6
- package/distribution/contracts/transaction-pool/broadcaster.js.map +0 -1
- package/distribution/contracts/transaction-pool/client.js +0 -2
- package/distribution/contracts/transaction-pool/client.js.map +0 -1
- package/distribution/contracts/transaction-pool/dynamic-fee-matcher.d.ts +0 -6
- package/distribution/contracts/transaction-pool/dynamic-fee-matcher.d.ts.map +0 -1
- package/distribution/contracts/transaction-pool/dynamic-fee-matcher.js +0 -2
- package/distribution/contracts/transaction-pool/dynamic-fee-matcher.js.map +0 -1
- package/distribution/contracts/transaction-pool/expiration-service.d.ts +0 -7
- package/distribution/contracts/transaction-pool/expiration-service.d.ts.map +0 -1
- package/distribution/contracts/transaction-pool/expiration-service.js +0 -2
- package/distribution/contracts/transaction-pool/expiration-service.js.map +0 -1
- package/distribution/contracts/transaction-pool/index.js +0 -13
- package/distribution/contracts/transaction-pool/index.js.map +0 -1
- package/distribution/contracts/transaction-pool/mempool.js +0 -2
- package/distribution/contracts/transaction-pool/mempool.js.map +0 -1
- package/distribution/contracts/transaction-pool/processor.js +0 -2
- package/distribution/contracts/transaction-pool/processor.js.map +0 -1
- package/distribution/contracts/transaction-pool/query.js +0 -2
- package/distribution/contracts/transaction-pool/query.js.map +0 -1
- package/distribution/contracts/transaction-pool/sender-mempool.js +0 -2
- package/distribution/contracts/transaction-pool/sender-mempool.js.map +0 -1
- package/distribution/contracts/transaction-pool/sender-state.js +0 -2
- package/distribution/contracts/transaction-pool/sender-state.js.map +0 -1
- package/distribution/contracts/transaction-pool/service.js +0 -2
- package/distribution/contracts/transaction-pool/service.js.map +0 -1
- package/distribution/contracts/transaction-pool/storage.js +0 -2
- package/distribution/contracts/transaction-pool/storage.js.map +0 -1
- package/distribution/contracts/transaction-pool/worker.js +0 -2
- package/distribution/contracts/transaction-pool/worker.js.map +0 -1
- package/distribution/contracts/transactions.js +0 -2
- package/distribution/contracts/transactions.js.map +0 -1
- package/distribution/contracts/types/container.d.ts +0 -4
- package/distribution/contracts/types/container.d.ts.map +0 -1
- package/distribution/contracts/types/container.js +0 -2
- package/distribution/contracts/types/container.js.map +0 -1
- package/distribution/contracts/types/index.js +0 -2
- package/distribution/contracts/types/index.js.map +0 -1
- package/distribution/contracts/validator-set.js +0 -2
- package/distribution/contracts/validator-set.js.map +0 -1
- package/distribution/contracts/validator.js +0 -2
- package/distribution/contracts/validator.js.map +0 -1
- package/distribution/contracts/webhooks.js +0 -2
- package/distribution/contracts/webhooks.js.map +0 -1
- package/distribution/events.d.ts +0 -85
- package/distribution/events.d.ts.map +0 -1
- package/distribution/events.js +0 -100
- package/distribution/events.js.map +0 -1
- package/distribution/exceptions/base.d.ts +0 -4
- package/distribution/exceptions/base.d.ts.map +0 -1
- package/distribution/exceptions/base.js +0 -15
- package/distribution/exceptions/base.js.map +0 -1
- package/distribution/exceptions/cli.d.ts +0 -8
- package/distribution/exceptions/cli.d.ts.map +0 -1
- package/distribution/exceptions/cli.js +0 -12
- package/distribution/exceptions/cli.js.map +0 -1
- package/distribution/exceptions/config.d.ts +0 -19
- package/distribution/exceptions/config.d.ts.map +0 -1
- package/distribution/exceptions/config.js +0 -25
- package/distribution/exceptions/config.js.map +0 -1
- package/distribution/exceptions/consensus.d.ts +0 -5
- package/distribution/exceptions/consensus.d.ts.map +0 -1
- package/distribution/exceptions/consensus.js +0 -7
- package/distribution/exceptions/consensus.js.map +0 -1
- package/distribution/exceptions/container.d.ts +0 -18
- package/distribution/exceptions/container.d.ts.map +0 -1
- package/distribution/exceptions/container.js +0 -22
- package/distribution/exceptions/container.js.map +0 -1
- package/distribution/exceptions/crypto.d.ts +0 -202
- package/distribution/exceptions/crypto.d.ts.map +0 -1
- package/distribution/exceptions/crypto.js +0 -335
- package/distribution/exceptions/crypto.js.map +0 -1
- package/distribution/exceptions/filesystem.d.ts +0 -12
- package/distribution/exceptions/filesystem.d.ts.map +0 -1
- package/distribution/exceptions/filesystem.js +0 -16
- package/distribution/exceptions/filesystem.js.map +0 -1
- package/distribution/exceptions/index.d.ts +0 -17
- package/distribution/exceptions/index.d.ts.map +0 -1
- package/distribution/exceptions/index.js +0 -17
- package/distribution/exceptions/index.js.map +0 -1
- package/distribution/exceptions/logic.d.ts +0 -28
- package/distribution/exceptions/logic.d.ts.map +0 -1
- package/distribution/exceptions/logic.js +0 -36
- package/distribution/exceptions/logic.js.map +0 -1
- package/distribution/exceptions/p2p.d.ts +0 -24
- package/distribution/exceptions/p2p.d.ts.map +0 -1
- package/distribution/exceptions/p2p.js +0 -37
- package/distribution/exceptions/p2p.js.map +0 -1
- package/distribution/exceptions/plugins.d.ts +0 -27
- package/distribution/exceptions/plugins.d.ts.map +0 -1
- package/distribution/exceptions/plugins.js +0 -43
- package/distribution/exceptions/plugins.js.map +0 -1
- package/distribution/exceptions/pool.d.ts +0 -50
- package/distribution/exceptions/pool.d.ts.map +0 -1
- package/distribution/exceptions/pool.js +0 -74
- package/distribution/exceptions/pool.js.map +0 -1
- package/distribution/exceptions/processor.d.ts +0 -26
- package/distribution/exceptions/processor.d.ts.map +0 -1
- package/distribution/exceptions/processor.js +0 -39
- package/distribution/exceptions/processor.js.map +0 -1
- package/distribution/exceptions/rpc.d.ts +0 -6
- package/distribution/exceptions/rpc.d.ts.map +0 -1
- package/distribution/exceptions/rpc.js +0 -8
- package/distribution/exceptions/rpc.js.map +0 -1
- package/distribution/exceptions/runtime.d.ts +0 -9
- package/distribution/exceptions/runtime.d.ts.map +0 -1
- package/distribution/exceptions/runtime.js +0 -11
- package/distribution/exceptions/runtime.js.map +0 -1
- package/distribution/exceptions/state.d.ts +0 -8
- package/distribution/exceptions/state.d.ts.map +0 -1
- package/distribution/exceptions/state.js +0 -12
- package/distribution/exceptions/state.js.map +0 -1
- package/distribution/exceptions/validation.d.ts +0 -5
- package/distribution/exceptions/validation.d.ts.map +0 -1
- package/distribution/exceptions/validation.js +0 -7
- package/distribution/exceptions/validation.js.map +0 -1
- package/distribution/identifiers.d.ts +0 -298
- package/distribution/identifiers.d.ts.map +0 -1
- package/distribution/identifiers.js +0 -298
- package/distribution/identifiers.js.map +0 -1
- package/distribution/index.js +0 -8
- package/distribution/index.js.map +0 -1
- package/distribution/utils.d.ts.map +0 -1
- package/distribution/utils.js +0 -2
- package/distribution/utils.js.map +0 -1
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BigNumber } from "@mainsail/utils";
|
|
2
|
-
import { Transaction } from "../crypto/transactions.js";
|
|
3
|
-
export interface GasFeeCalculator {
|
|
4
|
-
calculate(transaction: Transaction): BigNumber;
|
|
5
|
-
calculateConsumed(gasFee: BigNumber, gasUsed: number): BigNumber;
|
|
6
|
-
}
|
|
7
|
-
export interface GasLimits {
|
|
8
|
-
of(transaction: Transaction): number;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=gas-fee.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gas-fee.d.ts","sourceRoot":"","sources":["../../../source/contracts/evm/gas-fee.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,MAAM,WAAW,gBAAgB;IAChC,SAAS,CAAC,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IAC/C,iBAAiB,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CACjE;AAED,MAAM,WAAW,SAAS;IACzB,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAAC;CACrC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gas-fee.js","sourceRoot":"","sources":["../../../source/contracts/evm/gas-fee.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/contracts/evm/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../source/contracts/evm/state.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"worker.js","sourceRoot":"","sources":["../../../source/contracts/evm/worker.ts"],"names":[],"mappings":""}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export * as Api from "./api/index.js";
|
|
2
|
-
export * as ApiSync from "./api-sync.js";
|
|
3
|
-
export * as Consensus from "./consensus/index.js";
|
|
4
|
-
export * as ConsensusStorage from "./consensus-storage.js";
|
|
5
|
-
export * as Crypto from "./crypto/index.js";
|
|
6
|
-
export * as Database from "./database.js";
|
|
7
|
-
export * as Evm from "./evm/index.js";
|
|
8
|
-
export * as Kernel from "./kernel/index.js";
|
|
9
|
-
export * as NetworkGenerator from "./network-generator.js";
|
|
10
|
-
export * as P2P from "./p2p/index.js";
|
|
11
|
-
export * as Processor from "./processor.js";
|
|
12
|
-
export * as Proposer from "./proposer.js";
|
|
13
|
-
export * as Serializer from "./serializer.js";
|
|
14
|
-
export * as Shared from "./shared/index.js";
|
|
15
|
-
export * as State from "./state/index.js";
|
|
16
|
-
export * as TransactionPool from "./transaction-pool/index.js";
|
|
17
|
-
export * as Transactions from "./transactions.js";
|
|
18
|
-
export * as Types from "./types/index.js";
|
|
19
|
-
export * as Validator from "./validator.js";
|
|
20
|
-
export * as ValidatorSet from "./validator-set.js";
|
|
21
|
-
export * as Webhooks from "./webhooks.js";
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../source/contracts/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,YAAY,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"application.js","sourceRoot":"","sources":["../../../source/contracts/kernel/application.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cache.js","sourceRoot":"","sources":["../../../source/contracts/kernel/cache.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../source/contracts/kernel/config.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../../source/contracts/kernel/container.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"environment-variables.d.ts","sourceRoot":"","sources":["../../../source/contracts/kernel/environment-variables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"environment-variables.js","sourceRoot":"","sources":["../../../source/contracts/kernel/environment-variables.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../../source/contracts/kernel/events.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filesystem.js","sourceRoot":"","sources":["../../../source/contracts/kernel/filesystem.ts"],"names":[],"mappings":""}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export * from "./application.js";
|
|
2
|
-
export * from "./cache.js";
|
|
3
|
-
export * from "./config.js";
|
|
4
|
-
export * from "./container.js";
|
|
5
|
-
export * from "./environment-variables.js";
|
|
6
|
-
export * from "./events.js";
|
|
7
|
-
export * from "./filesystem.js";
|
|
8
|
-
export * as IPC from "./ipc.js";
|
|
9
|
-
export * from "./lock.js";
|
|
10
|
-
export * from "./log.js";
|
|
11
|
-
export * from "./pipeline.js";
|
|
12
|
-
export * from "./queue.js";
|
|
13
|
-
export * from "./repository.js";
|
|
14
|
-
export * from "./validation.js";
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/contracts/kernel/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ipc.js","sourceRoot":"","sources":["../../../source/contracts/kernel/ipc.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lock.js","sourceRoot":"","sources":["../../../source/contracts/kernel/lock.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log.js","sourceRoot":"","sources":["../../../source/contracts/kernel/log.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../../source/contracts/kernel/pipeline.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../../source/contracts/kernel/queue.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"repository.js","sourceRoot":"","sources":["../../../source/contracts/kernel/repository.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../../source/contracts/kernel/validation.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"network-generator.js","sourceRoot":"","sources":["../../source/contracts/network-generator.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-node-discoverer.js","sourceRoot":"","sources":["../../../source/contracts/p2p/api-node-discoverer.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-node-processor.js","sourceRoot":"","sources":["../../../source/contracts/p2p/api-node-processor.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-node-repository.js","sourceRoot":"","sources":["../../../source/contracts/p2p/api-node-repository.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-node-verifier.js","sourceRoot":"","sources":["../../../source/contracts/p2p/api-node-verifier.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-node.js","sourceRoot":"","sources":["../../../source/contracts/p2p/api-node.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"broadcaster.js","sourceRoot":"","sources":["../../../source/contracts/p2p/broadcaster.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"downloader.js","sourceRoot":"","sources":["../../../source/contracts/p2p/downloader.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../source/contracts/p2p/endpoints.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../source/contracts/p2p/enums.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,YAGX;AAHD,WAAY,YAAY;IACvB,+CAAQ,CAAA;IACR,iDAAS,CAAA;AACV,CAAC,EAHW,YAAY,KAAZ,YAAY,QAGvB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header-service.js","sourceRoot":"","sources":["../../../source/contracts/p2p/header-service.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header.js","sourceRoot":"","sources":["../../../source/contracts/p2p/header.ts"],"names":[],"mappings":""}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export * from "./api-node.js";
|
|
2
|
-
export * from "./api-node-discoverer.js";
|
|
3
|
-
export * from "./api-node-processor.js";
|
|
4
|
-
export * from "./api-node-repository.js";
|
|
5
|
-
export * from "./api-node-verifier.js";
|
|
6
|
-
export * from "./broadcaster.js";
|
|
7
|
-
export * from "./downloader.js";
|
|
8
|
-
export * from "./endpoints.js";
|
|
9
|
-
export * from "./enums.js";
|
|
10
|
-
export * from "./header.js";
|
|
11
|
-
export * from "./header-service.js";
|
|
12
|
-
export * from "./log.js";
|
|
13
|
-
export * from "./nes.js";
|
|
14
|
-
export * from "./peer.js";
|
|
15
|
-
export * from "./peer-communicator.js";
|
|
16
|
-
export * from "./peer-connector.js";
|
|
17
|
-
export * from "./peer-discoverer.js";
|
|
18
|
-
export * from "./peer-disposer.js";
|
|
19
|
-
export * from "./peer-processor.js";
|
|
20
|
-
export * from "./peer-repository.js";
|
|
21
|
-
export * from "./peer-verifier.js";
|
|
22
|
-
export * from "./server.js";
|
|
23
|
-
export * from "./service.js";
|
|
24
|
-
export * from "./state.js";
|
|
25
|
-
export * from "./tx-pool-node.js";
|
|
26
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/contracts/p2p/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log.js","sourceRoot":"","sources":["../../../source/contracts/p2p/log.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nes.js","sourceRoot":"","sources":["../../../source/contracts/p2p/nes.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"peer-communicator.js","sourceRoot":"","sources":["../../../source/contracts/p2p/peer-communicator.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"peer-connector.js","sourceRoot":"","sources":["../../../source/contracts/p2p/peer-connector.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"peer-discoverer.js","sourceRoot":"","sources":["../../../source/contracts/p2p/peer-discoverer.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"peer-disposer.js","sourceRoot":"","sources":["../../../source/contracts/p2p/peer-disposer.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"peer-processor.js","sourceRoot":"","sources":["../../../source/contracts/p2p/peer-processor.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"peer-repository.js","sourceRoot":"","sources":["../../../source/contracts/p2p/peer-repository.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"peer-verifier.js","sourceRoot":"","sources":["../../../source/contracts/p2p/peer-verifier.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"peer.js","sourceRoot":"","sources":["../../../source/contracts/p2p/peer.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../../source/contracts/p2p/server.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../source/contracts/p2p/service.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../source/contracts/p2p/state.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tx-pool-node.js","sourceRoot":"","sources":["../../../source/contracts/p2p/tx-pool-node.ts"],"names":[],"mappings":""}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Block, Commit, Transaction } from "./crypto/index.js";
|
|
2
|
-
import { AccountUpdate, TransactionReceipt } from "./evm/evm.js";
|
|
3
|
-
export interface ProcessableUnit {
|
|
4
|
-
readonly height: number;
|
|
5
|
-
readonly round: number;
|
|
6
|
-
readonly persist: boolean;
|
|
7
|
-
hasProcessorResult(): boolean;
|
|
8
|
-
getProcessorResult(): BlockProcessorResult;
|
|
9
|
-
setProcessorResult(processorResult: BlockProcessorResult): void;
|
|
10
|
-
setAccountUpdates(accounts: Array<AccountUpdate>): void;
|
|
11
|
-
getAccountUpdates(): Array<AccountUpdate>;
|
|
12
|
-
getBlock(): Block;
|
|
13
|
-
getCommit(): Promise<Commit>;
|
|
14
|
-
}
|
|
15
|
-
export interface Handler {
|
|
16
|
-
execute(unit: ProcessableUnit): Promise<void>;
|
|
17
|
-
}
|
|
18
|
-
export interface BlockProcessor {
|
|
19
|
-
process(unit: ProcessableUnit): Promise<BlockProcessorResult>;
|
|
20
|
-
commit(unit: ProcessableUnit): Promise<void>;
|
|
21
|
-
}
|
|
22
|
-
export interface BlockProcessorResult {
|
|
23
|
-
success: boolean;
|
|
24
|
-
receipts: Map<string, TransactionReceipt>;
|
|
25
|
-
gasUsed: number;
|
|
26
|
-
}
|
|
27
|
-
export interface TransactionProcessor {
|
|
28
|
-
process(unit: ProcessableUnit, transaction: Transaction): Promise<TransactionReceipt>;
|
|
29
|
-
}
|
|
30
|
-
export interface Verifier {
|
|
31
|
-
verify(unit: ProcessableUnit): Promise<void>;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=processor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"processor.d.ts","sourceRoot":"","sources":["../../source/contracts/processor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEjE,MAAM,WAAW,eAAe;IAC/B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,kBAAkB,IAAI,OAAO,CAAC;IAC9B,kBAAkB,IAAI,oBAAoB,CAAC;IAC3C,kBAAkB,CAAC,eAAe,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAChE,iBAAiB,CAAC,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC;IACxD,iBAAiB,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC;IAC1C,QAAQ,IAAI,KAAK,CAAC;IAClB,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC7B;AAED,MAAM,WAAW,OAAO;IACvB,OAAO,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9C;AAED,MAAM,WAAW,cAAc;IAC9B,OAAO,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAC9D,MAAM,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7C;AAED,MAAM,WAAW,oBAAoB;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,oBAAoB;IACpC,OAAO,CAAC,IAAI,EAAE,eAAe,EAAE,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACtF;AAED,MAAM,WAAW,QAAQ;IACxB,MAAM,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"processor.js","sourceRoot":"","sources":["../../source/contracts/processor.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"proposer.d.ts","sourceRoot":"","sources":["../../source/contracts/proposer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,WAAW,QAAS,SAAQ,aAAa;IAC9C,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACzC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"proposer.js","sourceRoot":"","sources":["../../source/contracts/proposer.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serializer.js","sourceRoot":"","sources":["../../source/contracts/serializer.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-fee.js","sourceRoot":"","sources":["../../../source/contracts/shared/dynamic-fee.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/contracts/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rounds.js","sourceRoot":"","sources":["../../../source/contracts/shared/rounds.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/contracts/state/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../source/contracts/state/state.ts"],"names":[],"mappings":""}
|