├── .eslintrc.json ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── task.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── lint.yml │ ├── main.yml │ └── npm-publish.yml ├── .gitignore ├── .prettierrc ├── CHANGELOG.md ├── LICENSE ├── README.md ├── docs ├── CONTRIBUTING.md ├── account-payment-handler.md ├── account.md ├── bank.md ├── confirmation-validator.md ├── index.md ├── primary-validator.md └── validator.md ├── jest.config.js ├── package.json ├── rollup.config.js ├── src ├── account-payment-handler.ts ├── account.ts ├── bank.ts ├── confirmation-validator.ts ├── index.ts ├── models │ ├── account-data.ts │ ├── account-payment-handler-options.ts │ ├── block-data.ts │ ├── block-message.ts │ ├── clean-data.ts │ ├── crawl-data.ts │ ├── index.ts │ ├── pagination-options.ts │ ├── payment-handler-options.ts │ ├── responses │ │ ├── bank │ │ │ ├── config.ts │ │ │ └── index.ts │ │ ├── confirmation-validator │ │ │ ├── config.ts │ │ │ └── index.ts │ │ ├── constants.ts │ │ ├── generic │ │ │ ├── account-balance-lock.ts │ │ │ ├── account-balance.ts │ │ │ ├── clean.ts │ │ │ ├── confirmation-block.ts │ │ │ ├── crawl.ts │ │ │ └── index.ts │ │ ├── index.ts │ │ ├── pagination │ │ │ ├── entries │ │ │ │ ├── account.ts │ │ │ │ ├── bank.ts │ │ │ │ ├── block.ts │ │ │ │ ├── confirmation-services.ts │ │ │ │ ├── index.ts │ │ │ │ ├── transaction.ts │ │ │ │ └── validator.ts │ │ │ ├── entry-metadata.ts │ │ │ ├── entry.ts │ │ │ ├── index.ts │ │ │ └── paginated-response.ts │ │ └── primary-validator │ │ │ ├── config.ts │ │ │ └── index.ts │ ├── server-node-options.ts │ ├── signed-data.ts │ ├── signed-message.ts │ └── transaction.ts ├── payment-handler.ts ├── primary-validator.ts ├── server-node.ts ├── utils │ ├── create-account-data.ts │ ├── format-default-options.ts │ ├── format-url.ts │ ├── hex-to-uint8array.ts │ ├── index.ts │ ├── throw-error.ts │ ├── transfer-details.ts │ └── uint8array-to-hex.ts └── validator.ts ├── tests ├── account.test.js ├── bank.test.js ├── confirmationValidator.test.js ├── data │ ├── bank │ │ ├── accounts.js │ │ ├── bank_transactions.js │ │ ├── banks.js │ │ ├── blocks.js │ │ ├── clean.js │ │ ├── config.js │ │ ├── confirmation_blocks.js │ │ ├── crawl.js │ │ ├── index.js │ │ ├── invalid_blocks.js │ │ ├── validator_confirmation_services.js │ │ └── validators.js │ ├── confirmationValidator │ │ ├── accountBalance.js │ │ ├── accountBalanceLock.js │ │ ├── accounts.js │ │ ├── bank.js │ │ ├── banks.js │ │ ├── clean.js │ │ ├── config.js │ │ ├── confirmationBlock.js │ │ ├── confirmationServices.js │ │ ├── crawl.js │ │ ├── index.js │ │ ├── validator.js │ │ └── validators.js │ └── primaryValidator │ │ ├── bank_blocks.js │ │ ├── config.js │ │ └── index.js ├── paymentHandler.test.js └── primaryValidator.test.js └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/task.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/.github/ISSUE_TEMPLATE/task.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/npm-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/.github/workflows/npm-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/README.md -------------------------------------------------------------------------------- /docs/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/docs/CONTRIBUTING.md -------------------------------------------------------------------------------- /docs/account-payment-handler.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/docs/account-payment-handler.md -------------------------------------------------------------------------------- /docs/account.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/docs/account.md -------------------------------------------------------------------------------- /docs/bank.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/docs/bank.md -------------------------------------------------------------------------------- /docs/confirmation-validator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/docs/confirmation-validator.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/primary-validator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/docs/primary-validator.md -------------------------------------------------------------------------------- /docs/validator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/docs/validator.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/account-payment-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/account-payment-handler.ts -------------------------------------------------------------------------------- /src/account.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/account.ts -------------------------------------------------------------------------------- /src/bank.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/bank.ts -------------------------------------------------------------------------------- /src/confirmation-validator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/confirmation-validator.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/models/account-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/account-data.ts -------------------------------------------------------------------------------- /src/models/account-payment-handler-options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/account-payment-handler-options.ts -------------------------------------------------------------------------------- /src/models/block-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/block-data.ts -------------------------------------------------------------------------------- /src/models/block-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/block-message.ts -------------------------------------------------------------------------------- /src/models/clean-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/clean-data.ts -------------------------------------------------------------------------------- /src/models/crawl-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/crawl-data.ts -------------------------------------------------------------------------------- /src/models/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/index.ts -------------------------------------------------------------------------------- /src/models/pagination-options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/pagination-options.ts -------------------------------------------------------------------------------- /src/models/payment-handler-options.ts: -------------------------------------------------------------------------------- 1 | export interface PaymentHandlerOptions { 2 | bankUrl: string; 3 | } 4 | -------------------------------------------------------------------------------- /src/models/responses/bank/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/bank/config.ts -------------------------------------------------------------------------------- /src/models/responses/bank/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/bank/index.ts -------------------------------------------------------------------------------- /src/models/responses/confirmation-validator/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/confirmation-validator/config.ts -------------------------------------------------------------------------------- /src/models/responses/confirmation-validator/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/confirmation-validator/index.ts -------------------------------------------------------------------------------- /src/models/responses/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/constants.ts -------------------------------------------------------------------------------- /src/models/responses/generic/account-balance-lock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/generic/account-balance-lock.ts -------------------------------------------------------------------------------- /src/models/responses/generic/account-balance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/generic/account-balance.ts -------------------------------------------------------------------------------- /src/models/responses/generic/clean.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/generic/clean.ts -------------------------------------------------------------------------------- /src/models/responses/generic/confirmation-block.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/generic/confirmation-block.ts -------------------------------------------------------------------------------- /src/models/responses/generic/crawl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/generic/crawl.ts -------------------------------------------------------------------------------- /src/models/responses/generic/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/generic/index.ts -------------------------------------------------------------------------------- /src/models/responses/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/index.ts -------------------------------------------------------------------------------- /src/models/responses/pagination/entries/account.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/pagination/entries/account.ts -------------------------------------------------------------------------------- /src/models/responses/pagination/entries/bank.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/pagination/entries/bank.ts -------------------------------------------------------------------------------- /src/models/responses/pagination/entries/block.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/pagination/entries/block.ts -------------------------------------------------------------------------------- /src/models/responses/pagination/entries/confirmation-services.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/pagination/entries/confirmation-services.ts -------------------------------------------------------------------------------- /src/models/responses/pagination/entries/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/pagination/entries/index.ts -------------------------------------------------------------------------------- /src/models/responses/pagination/entries/transaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/pagination/entries/transaction.ts -------------------------------------------------------------------------------- /src/models/responses/pagination/entries/validator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/pagination/entries/validator.ts -------------------------------------------------------------------------------- /src/models/responses/pagination/entry-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/pagination/entry-metadata.ts -------------------------------------------------------------------------------- /src/models/responses/pagination/entry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/pagination/entry.ts -------------------------------------------------------------------------------- /src/models/responses/pagination/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/pagination/index.ts -------------------------------------------------------------------------------- /src/models/responses/pagination/paginated-response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/pagination/paginated-response.ts -------------------------------------------------------------------------------- /src/models/responses/primary-validator/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/primary-validator/config.ts -------------------------------------------------------------------------------- /src/models/responses/primary-validator/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/responses/primary-validator/index.ts -------------------------------------------------------------------------------- /src/models/server-node-options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/server-node-options.ts -------------------------------------------------------------------------------- /src/models/signed-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/signed-data.ts -------------------------------------------------------------------------------- /src/models/signed-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/signed-message.ts -------------------------------------------------------------------------------- /src/models/transaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/models/transaction.ts -------------------------------------------------------------------------------- /src/payment-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/payment-handler.ts -------------------------------------------------------------------------------- /src/primary-validator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/primary-validator.ts -------------------------------------------------------------------------------- /src/server-node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/server-node.ts -------------------------------------------------------------------------------- /src/utils/create-account-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/utils/create-account-data.ts -------------------------------------------------------------------------------- /src/utils/format-default-options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/utils/format-default-options.ts -------------------------------------------------------------------------------- /src/utils/format-url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/utils/format-url.ts -------------------------------------------------------------------------------- /src/utils/hex-to-uint8array.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/utils/hex-to-uint8array.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/throw-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/utils/throw-error.ts -------------------------------------------------------------------------------- /src/utils/transfer-details.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/utils/transfer-details.ts -------------------------------------------------------------------------------- /src/utils/uint8array-to-hex.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/utils/uint8array-to-hex.ts -------------------------------------------------------------------------------- /src/validator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/src/validator.ts -------------------------------------------------------------------------------- /tests/account.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/account.test.js -------------------------------------------------------------------------------- /tests/bank.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/bank.test.js -------------------------------------------------------------------------------- /tests/confirmationValidator.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/confirmationValidator.test.js -------------------------------------------------------------------------------- /tests/data/bank/accounts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/bank/accounts.js -------------------------------------------------------------------------------- /tests/data/bank/bank_transactions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/bank/bank_transactions.js -------------------------------------------------------------------------------- /tests/data/bank/banks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/bank/banks.js -------------------------------------------------------------------------------- /tests/data/bank/blocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/bank/blocks.js -------------------------------------------------------------------------------- /tests/data/bank/clean.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/bank/clean.js -------------------------------------------------------------------------------- /tests/data/bank/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/bank/config.js -------------------------------------------------------------------------------- /tests/data/bank/confirmation_blocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/bank/confirmation_blocks.js -------------------------------------------------------------------------------- /tests/data/bank/crawl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/bank/crawl.js -------------------------------------------------------------------------------- /tests/data/bank/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/bank/index.js -------------------------------------------------------------------------------- /tests/data/bank/invalid_blocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/bank/invalid_blocks.js -------------------------------------------------------------------------------- /tests/data/bank/validator_confirmation_services.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/bank/validator_confirmation_services.js -------------------------------------------------------------------------------- /tests/data/bank/validators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/bank/validators.js -------------------------------------------------------------------------------- /tests/data/confirmationValidator/accountBalance.js: -------------------------------------------------------------------------------- 1 | module.exports = { balance: 5004 }; 2 | -------------------------------------------------------------------------------- /tests/data/confirmationValidator/accountBalanceLock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/confirmationValidator/accountBalanceLock.js -------------------------------------------------------------------------------- /tests/data/confirmationValidator/accounts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/confirmationValidator/accounts.js -------------------------------------------------------------------------------- /tests/data/confirmationValidator/bank.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/confirmationValidator/bank.js -------------------------------------------------------------------------------- /tests/data/confirmationValidator/banks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/confirmationValidator/banks.js -------------------------------------------------------------------------------- /tests/data/confirmationValidator/clean.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/confirmationValidator/clean.js -------------------------------------------------------------------------------- /tests/data/confirmationValidator/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/confirmationValidator/config.js -------------------------------------------------------------------------------- /tests/data/confirmationValidator/confirmationBlock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/confirmationValidator/confirmationBlock.js -------------------------------------------------------------------------------- /tests/data/confirmationValidator/confirmationServices.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/confirmationValidator/confirmationServices.js -------------------------------------------------------------------------------- /tests/data/confirmationValidator/crawl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/confirmationValidator/crawl.js -------------------------------------------------------------------------------- /tests/data/confirmationValidator/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/confirmationValidator/index.js -------------------------------------------------------------------------------- /tests/data/confirmationValidator/validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/confirmationValidator/validator.js -------------------------------------------------------------------------------- /tests/data/confirmationValidator/validators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/confirmationValidator/validators.js -------------------------------------------------------------------------------- /tests/data/primaryValidator/bank_blocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/primaryValidator/bank_blocks.js -------------------------------------------------------------------------------- /tests/data/primaryValidator/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/primaryValidator/config.js -------------------------------------------------------------------------------- /tests/data/primaryValidator/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/data/primaryValidator/index.js -------------------------------------------------------------------------------- /tests/paymentHandler.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/paymentHandler.test.js -------------------------------------------------------------------------------- /tests/primaryValidator.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tests/primaryValidator.test.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/thenewboston-js/HEAD/tsconfig.json --------------------------------------------------------------------------------