├── .editorconfig ├── .flake8 ├── .github └── workflows │ ├── master.yml │ └── pr.yml ├── .gitignore ├── .pre-commit-config.yaml ├── Dockerfile ├── INSTALL.linux.rst ├── INSTALL.macos.rst ├── INSTALL.sentry.rst ├── LICENSE ├── Makefile ├── README.rst ├── conftest.py ├── docker-compose.dev.yml ├── docker-compose.yml ├── node ├── __init__.py ├── blockchain │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── constants.py │ ├── facade.py │ ├── inner_models │ │ ├── __init__.py │ │ ├── account_state.py │ │ ├── base.py │ │ ├── block.py │ │ ├── block_confirmation.py │ │ ├── block_message │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── coin_transfer.py │ │ │ ├── genesis.py │ │ │ ├── node_declaration.py │ │ │ └── pv_schedule_update.py │ │ ├── node.py │ │ ├── signed_change_request │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── coin_transfer.py │ │ │ ├── genesis.py │ │ │ ├── node_declaration.py │ │ │ └── pv_schedule_update.py │ │ ├── signed_change_request_message │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── coin_transfer.py │ │ │ ├── genesis.py │ │ │ ├── node_declaration.py │ │ │ └── pv_schedule_update.py │ │ └── type_map.py │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── __init__.py │ │ │ ├── add_signed_change_request.py │ │ │ ├── assert_is_not_locked.py │ │ │ ├── clear_blockchain.py │ │ │ ├── ensure_node_declared.py │ │ │ ├── generate_signing_key.py │ │ │ ├── genesis.py │ │ │ ├── list_nodes.py │ │ │ ├── print_own_address.py │ │ │ └── sync_blockchain_with_network.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_schedule.py │ │ ├── 0003_node.py │ │ ├── 0004_pendingblock.py │ │ ├── 0005_blockconfirmation.py │ │ └── __init__.py │ ├── mixins │ │ ├── __init__.py │ │ ├── crypto.py │ │ └── validatable.py │ ├── models │ │ ├── __init__.py │ │ ├── account_state.py │ │ ├── block.py │ │ ├── block_confirmation.py │ │ ├── node.py │ │ ├── pending_block.py │ │ └── schedule.py │ ├── serializers │ │ ├── __init__.py │ │ ├── account_state.py │ │ ├── block.py │ │ ├── block_confirmation.py │ │ ├── node.py │ │ └── signed_change_request.py │ ├── tasks │ │ ├── __init__.py │ │ ├── process_block_confirmations.py │ │ ├── process_pending_blocks.py │ │ └── send_new_block.py │ ├── tests │ │ ├── __init__.py │ │ ├── base.py │ │ ├── factories │ │ │ ├── __init__.py │ │ │ ├── block.py │ │ │ ├── block_message │ │ │ │ ├── __init__.py │ │ │ │ ├── genesis.py │ │ │ │ └── node_declaration.py │ │ │ ├── node.py │ │ │ ├── signed_change_request │ │ │ │ ├── __init__.py │ │ │ │ ├── coin_transfer.py │ │ │ │ ├── genesis.py │ │ │ │ ├── node_declaration.py │ │ │ │ └── pv_schedule_update.py │ │ │ └── signed_change_request_message │ │ │ │ ├── __init__.py │ │ │ │ ├── coin_transfer.py │ │ │ │ ├── genesis.py │ │ │ │ ├── node_declaration.py │ │ │ │ └── pv_schedule_update.py │ │ ├── fixtures │ │ │ ├── __init__.py │ │ │ ├── account.py │ │ │ ├── account_root_file.py │ │ │ ├── blockchain.py │ │ │ ├── blockchain_structure │ │ │ │ ├── __init__.py │ │ │ │ ├── coin_transfer.py │ │ │ │ ├── genesis.py │ │ │ │ ├── node_declaration.py │ │ │ │ └── pv_schedule_update.py │ │ │ ├── misc.py │ │ │ ├── mocks.py │ │ │ ├── node.py │ │ │ ├── pending_block.py │ │ │ └── roles.py │ │ ├── test_blockchain_facade │ │ │ ├── __init__.py │ │ │ ├── test_account_lock.py │ │ │ ├── test_add_block_validation.py │ │ │ ├── test_get_node_role.py │ │ │ ├── test_get_primary_validator.py │ │ │ └── test_update_write_through_cache.py │ │ ├── test_management │ │ │ ├── __init__.py │ │ │ ├── test_generate_signing_key.py │ │ │ ├── test_list_nodes.py │ │ │ └── test_send_signed_change_request.py │ │ ├── test_managers │ │ │ ├── __init__.py │ │ │ └── test_node_manager.py │ │ ├── test_models │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── test_account_state.py │ │ │ ├── test_block │ │ │ │ ├── __init__.py │ │ │ │ ├── test_base.py │ │ │ │ ├── test_coin_transfer.py │ │ │ │ ├── test_genesis.py │ │ │ │ ├── test_lock_blockchain.py │ │ │ │ ├── test_node_declaration.py │ │ │ │ └── test_pv_schedule_update.py │ │ │ ├── test_block_message │ │ │ │ ├── __init__.py │ │ │ │ ├── test_base.py │ │ │ │ ├── test_coin_transfer.py │ │ │ │ ├── test_genesis.py │ │ │ │ ├── test_node_declaration.py │ │ │ │ └── test_pv_schedule_update.py │ │ │ ├── test_block_message_update │ │ │ │ ├── __init__.py │ │ │ │ ├── test_coin_transfer.py │ │ │ │ ├── test_genesis.py │ │ │ │ ├── test_node_declaration.py │ │ │ │ └── test_pv_schedule_update.py │ │ │ ├── test_crypto_mixins.py │ │ │ ├── test_signed_change_request │ │ │ │ ├── __init__.py │ │ │ │ ├── test_coin_transfer.py │ │ │ │ ├── test_genesis.py │ │ │ │ ├── test_node_declaration.py │ │ │ │ └── test_pv_schedule_update.py │ │ │ ├── test_signed_change_request_message │ │ │ │ ├── __init__.py │ │ │ │ ├── test_coin_transfer.py │ │ │ │ ├── test_genesis.py │ │ │ │ ├── test_node_declaration.py │ │ │ │ └── test_pv_schedule_update.py │ │ │ └── test_type_map.py │ │ ├── test_rest_api │ │ │ ├── __init__.py │ │ │ ├── test_account_state.py │ │ │ ├── test_block │ │ │ │ ├── __init__.py │ │ │ │ ├── test_create_block.py │ │ │ │ └── test_read_blocks.py │ │ │ ├── test_block_confirmation.py │ │ │ ├── test_node.py │ │ │ └── test_signed_change_request │ │ │ │ ├── __init__.py │ │ │ │ ├── test_coin_transfer.py │ │ │ │ ├── test_node_declaration.py │ │ │ │ └── test_unsupported_types.py │ │ ├── test_tasks │ │ │ ├── __init__.py │ │ │ ├── test_process_block_confirmations.py │ │ │ └── test_send_new_block.py │ │ └── test_utils │ │ │ ├── __init__.py │ │ │ ├── test_blockchain_sync.py │ │ │ ├── test_lock.py │ │ │ └── test_network.py │ ├── types.py │ ├── urls.py │ ├── utils │ │ ├── __init__.py │ │ ├── blockchain_sync.py │ │ ├── lock.py │ │ └── network.py │ ├── validators.py │ └── views │ │ ├── __init__.py │ │ ├── account_state.py │ │ ├── block.py │ │ ├── block_confirmation.py │ │ ├── node.py │ │ └── signed_change_request.py ├── config │ ├── __init__.py │ ├── asgi.py │ ├── celery.py │ ├── settings │ │ ├── __init__.py │ │ ├── base.py │ │ ├── celery.py │ │ ├── custom.py │ │ ├── docker.py │ │ ├── envvars.py │ │ ├── logging.py │ │ ├── rest_framework.py │ │ ├── sentry.py │ │ └── templates │ │ │ ├── nginx.conf │ │ │ ├── sentry.env.custom │ │ │ ├── sentry.nginx.conf │ │ │ ├── settings.dev.py │ │ │ └── settings.unittests.py │ ├── tests │ │ ├── __init__.py │ │ └── test_settings.py │ ├── urls.py │ └── wsgi.py ├── core │ ├── __init__.py │ ├── clients │ │ ├── __init__.py │ │ └── node.py │ ├── commands.py │ ├── custom_djongo │ │ ├── __init__.py │ │ ├── base.py │ │ ├── features.py │ │ └── query.py │ ├── database.py │ ├── exceptions.py │ ├── fields.py │ ├── logging.py │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── __init__.py │ │ │ └── check_replica_set.py │ ├── managers.py │ ├── middleware.py │ ├── models.py │ ├── pagination.py │ ├── serializers.py │ ├── tests │ │ ├── __init__.py │ │ ├── fixtures │ │ │ ├── __init__.py │ │ │ ├── clients.py │ │ │ └── misc.py │ │ ├── test_collections.py │ │ ├── test_node_client.py │ │ └── test_transactions.py │ └── utils │ │ ├── __init__.py │ │ ├── collections.py │ │ ├── cryptography.py │ │ ├── formatters.py │ │ ├── misc.py │ │ ├── network.py │ │ ├── pytest.py │ │ ├── settings.py │ │ └── types.py ├── manage.py └── web │ ├── __init__.py │ ├── apps.py │ ├── static │ └── web │ │ └── img │ │ └── favicon.ico │ ├── templates │ └── web │ │ └── index.html │ ├── templatetags │ ├── __init__.py │ └── node_extras.py │ ├── tests │ ├── __init__.py │ └── test_web.py │ └── urls.py ├── poetry.lock ├── pyproject.toml └── scripts ├── deploy.sh ├── docker-entrypoint.sh.patch ├── dockerized-node-run.sh └── extra-lint.sh /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/.editorconfig -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/workflows/master.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/.github/workflows/master.yml -------------------------------------------------------------------------------- /.github/workflows/pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/.github/workflows/pr.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/Dockerfile -------------------------------------------------------------------------------- /INSTALL.linux.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/INSTALL.linux.rst -------------------------------------------------------------------------------- /INSTALL.macos.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/INSTALL.macos.rst -------------------------------------------------------------------------------- /INSTALL.sentry.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/INSTALL.sentry.rst -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/Makefile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/README.rst -------------------------------------------------------------------------------- /conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/conftest.py -------------------------------------------------------------------------------- /docker-compose.dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/docker-compose.dev.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /node/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/__init__.py -------------------------------------------------------------------------------- /node/blockchain/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/admin.py -------------------------------------------------------------------------------- /node/blockchain/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/apps.py -------------------------------------------------------------------------------- /node/blockchain/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/constants.py -------------------------------------------------------------------------------- /node/blockchain/facade.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/facade.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/__init__.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/account_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/account_state.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/base.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/block.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/block_confirmation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/block_confirmation.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/block_message/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/block_message/__init__.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/block_message/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/block_message/base.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/block_message/coin_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/block_message/coin_transfer.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/block_message/genesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/block_message/genesis.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/block_message/node_declaration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/block_message/node_declaration.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/block_message/pv_schedule_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/block_message/pv_schedule_update.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/node.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/signed_change_request/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/signed_change_request/__init__.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/signed_change_request/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/signed_change_request/base.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/signed_change_request/coin_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/signed_change_request/coin_transfer.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/signed_change_request/genesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/signed_change_request/genesis.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/signed_change_request/node_declaration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/signed_change_request/node_declaration.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/signed_change_request/pv_schedule_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/signed_change_request/pv_schedule_update.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/signed_change_request_message/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/signed_change_request_message/__init__.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/signed_change_request_message/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/signed_change_request_message/base.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/signed_change_request_message/coin_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/signed_change_request_message/coin_transfer.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/signed_change_request_message/genesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/signed_change_request_message/genesis.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/signed_change_request_message/node_declaration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/signed_change_request_message/node_declaration.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/signed_change_request_message/pv_schedule_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/signed_change_request_message/pv_schedule_update.py -------------------------------------------------------------------------------- /node/blockchain/inner_models/type_map.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/inner_models/type_map.py -------------------------------------------------------------------------------- /node/blockchain/management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/management/commands/add_signed_change_request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/management/commands/add_signed_change_request.py -------------------------------------------------------------------------------- /node/blockchain/management/commands/assert_is_not_locked.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/management/commands/assert_is_not_locked.py -------------------------------------------------------------------------------- /node/blockchain/management/commands/clear_blockchain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/management/commands/clear_blockchain.py -------------------------------------------------------------------------------- /node/blockchain/management/commands/ensure_node_declared.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/management/commands/ensure_node_declared.py -------------------------------------------------------------------------------- /node/blockchain/management/commands/generate_signing_key.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/management/commands/generate_signing_key.py -------------------------------------------------------------------------------- /node/blockchain/management/commands/genesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/management/commands/genesis.py -------------------------------------------------------------------------------- /node/blockchain/management/commands/list_nodes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/management/commands/list_nodes.py -------------------------------------------------------------------------------- /node/blockchain/management/commands/print_own_address.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/management/commands/print_own_address.py -------------------------------------------------------------------------------- /node/blockchain/management/commands/sync_blockchain_with_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/management/commands/sync_blockchain_with_network.py -------------------------------------------------------------------------------- /node/blockchain/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/migrations/0001_initial.py -------------------------------------------------------------------------------- /node/blockchain/migrations/0002_schedule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/migrations/0002_schedule.py -------------------------------------------------------------------------------- /node/blockchain/migrations/0003_node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/migrations/0003_node.py -------------------------------------------------------------------------------- /node/blockchain/migrations/0004_pendingblock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/migrations/0004_pendingblock.py -------------------------------------------------------------------------------- /node/blockchain/migrations/0005_blockconfirmation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/migrations/0005_blockconfirmation.py -------------------------------------------------------------------------------- /node/blockchain/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/mixins/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/mixins/crypto.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/mixins/crypto.py -------------------------------------------------------------------------------- /node/blockchain/mixins/validatable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/mixins/validatable.py -------------------------------------------------------------------------------- /node/blockchain/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/models/__init__.py -------------------------------------------------------------------------------- /node/blockchain/models/account_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/models/account_state.py -------------------------------------------------------------------------------- /node/blockchain/models/block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/models/block.py -------------------------------------------------------------------------------- /node/blockchain/models/block_confirmation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/models/block_confirmation.py -------------------------------------------------------------------------------- /node/blockchain/models/node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/models/node.py -------------------------------------------------------------------------------- /node/blockchain/models/pending_block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/models/pending_block.py -------------------------------------------------------------------------------- /node/blockchain/models/schedule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/models/schedule.py -------------------------------------------------------------------------------- /node/blockchain/serializers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/serializers/account_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/serializers/account_state.py -------------------------------------------------------------------------------- /node/blockchain/serializers/block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/serializers/block.py -------------------------------------------------------------------------------- /node/blockchain/serializers/block_confirmation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/serializers/block_confirmation.py -------------------------------------------------------------------------------- /node/blockchain/serializers/node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/serializers/node.py -------------------------------------------------------------------------------- /node/blockchain/serializers/signed_change_request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/serializers/signed_change_request.py -------------------------------------------------------------------------------- /node/blockchain/tasks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tasks/__init__.py -------------------------------------------------------------------------------- /node/blockchain/tasks/process_block_confirmations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tasks/process_block_confirmations.py -------------------------------------------------------------------------------- /node/blockchain/tasks/process_pending_blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tasks/process_pending_blocks.py -------------------------------------------------------------------------------- /node/blockchain/tasks/send_new_block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tasks/send_new_block.py -------------------------------------------------------------------------------- /node/blockchain/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/base.py -------------------------------------------------------------------------------- /node/blockchain/tests/factories/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/factories/block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/factories/block.py -------------------------------------------------------------------------------- /node/blockchain/tests/factories/block_message/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/factories/block_message/genesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/factories/block_message/genesis.py -------------------------------------------------------------------------------- /node/blockchain/tests/factories/block_message/node_declaration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/factories/block_message/node_declaration.py -------------------------------------------------------------------------------- /node/blockchain/tests/factories/node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/factories/node.py -------------------------------------------------------------------------------- /node/blockchain/tests/factories/signed_change_request/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/factories/signed_change_request/coin_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/factories/signed_change_request/coin_transfer.py -------------------------------------------------------------------------------- /node/blockchain/tests/factories/signed_change_request/genesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/factories/signed_change_request/genesis.py -------------------------------------------------------------------------------- /node/blockchain/tests/factories/signed_change_request/node_declaration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/factories/signed_change_request/node_declaration.py -------------------------------------------------------------------------------- /node/blockchain/tests/factories/signed_change_request/pv_schedule_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/factories/signed_change_request/pv_schedule_update.py -------------------------------------------------------------------------------- /node/blockchain/tests/factories/signed_change_request_message/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/factories/signed_change_request_message/coin_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/factories/signed_change_request_message/coin_transfer.py -------------------------------------------------------------------------------- /node/blockchain/tests/factories/signed_change_request_message/genesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/factories/signed_change_request_message/genesis.py -------------------------------------------------------------------------------- /node/blockchain/tests/factories/signed_change_request_message/node_declaration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/factories/signed_change_request_message/node_declaration.py -------------------------------------------------------------------------------- /node/blockchain/tests/factories/signed_change_request_message/pv_schedule_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/factories/signed_change_request_message/pv_schedule_update.py -------------------------------------------------------------------------------- /node/blockchain/tests/fixtures/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/fixtures/__init__.py -------------------------------------------------------------------------------- /node/blockchain/tests/fixtures/account.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/fixtures/account.py -------------------------------------------------------------------------------- /node/blockchain/tests/fixtures/account_root_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/fixtures/account_root_file.py -------------------------------------------------------------------------------- /node/blockchain/tests/fixtures/blockchain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/fixtures/blockchain.py -------------------------------------------------------------------------------- /node/blockchain/tests/fixtures/blockchain_structure/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/fixtures/blockchain_structure/__init__.py -------------------------------------------------------------------------------- /node/blockchain/tests/fixtures/blockchain_structure/coin_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/fixtures/blockchain_structure/coin_transfer.py -------------------------------------------------------------------------------- /node/blockchain/tests/fixtures/blockchain_structure/genesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/fixtures/blockchain_structure/genesis.py -------------------------------------------------------------------------------- /node/blockchain/tests/fixtures/blockchain_structure/node_declaration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/fixtures/blockchain_structure/node_declaration.py -------------------------------------------------------------------------------- /node/blockchain/tests/fixtures/blockchain_structure/pv_schedule_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/fixtures/blockchain_structure/pv_schedule_update.py -------------------------------------------------------------------------------- /node/blockchain/tests/fixtures/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/fixtures/misc.py -------------------------------------------------------------------------------- /node/blockchain/tests/fixtures/mocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/fixtures/mocks.py -------------------------------------------------------------------------------- /node/blockchain/tests/fixtures/node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/fixtures/node.py -------------------------------------------------------------------------------- /node/blockchain/tests/fixtures/pending_block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/fixtures/pending_block.py -------------------------------------------------------------------------------- /node/blockchain/tests/fixtures/roles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/fixtures/roles.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_blockchain_facade/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/test_blockchain_facade/test_account_lock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_blockchain_facade/test_account_lock.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_blockchain_facade/test_add_block_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_blockchain_facade/test_add_block_validation.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_blockchain_facade/test_get_node_role.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_blockchain_facade/test_get_node_role.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_blockchain_facade/test_get_primary_validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_blockchain_facade/test_get_primary_validator.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_blockchain_facade/test_update_write_through_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_blockchain_facade/test_update_write_through_cache.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/test_management/test_generate_signing_key.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_management/test_generate_signing_key.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_management/test_list_nodes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_management/test_list_nodes.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_management/test_send_signed_change_request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_management/test_send_signed_change_request.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_managers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/test_managers/test_node_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_managers/test_node_manager.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/base.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_account_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_account_state.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block/test_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block/test_base.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block/test_coin_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block/test_coin_transfer.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block/test_genesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block/test_genesis.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block/test_lock_blockchain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block/test_lock_blockchain.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block/test_node_declaration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block/test_node_declaration.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block/test_pv_schedule_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block/test_pv_schedule_update.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block_message/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block_message/test_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block_message/test_base.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block_message/test_coin_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block_message/test_coin_transfer.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block_message/test_genesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block_message/test_genesis.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block_message/test_node_declaration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block_message/test_node_declaration.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block_message/test_pv_schedule_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block_message/test_pv_schedule_update.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block_message_update/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block_message_update/test_coin_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block_message_update/test_coin_transfer.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block_message_update/test_genesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block_message_update/test_genesis.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block_message_update/test_node_declaration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block_message_update/test_node_declaration.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_block_message_update/test_pv_schedule_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_block_message_update/test_pv_schedule_update.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_crypto_mixins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_crypto_mixins.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_signed_change_request/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_signed_change_request/test_coin_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_signed_change_request/test_coin_transfer.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_signed_change_request/test_genesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_signed_change_request/test_genesis.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_signed_change_request/test_node_declaration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_signed_change_request/test_node_declaration.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_signed_change_request/test_pv_schedule_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_signed_change_request/test_pv_schedule_update.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_signed_change_request_message/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_signed_change_request_message/test_coin_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_signed_change_request_message/test_coin_transfer.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_signed_change_request_message/test_genesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_signed_change_request_message/test_genesis.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_signed_change_request_message/test_node_declaration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_signed_change_request_message/test_node_declaration.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_signed_change_request_message/test_pv_schedule_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_signed_change_request_message/test_pv_schedule_update.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_models/test_type_map.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_models/test_type_map.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_rest_api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/test_rest_api/test_account_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_rest_api/test_account_state.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_rest_api/test_block/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/test_rest_api/test_block/test_create_block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_rest_api/test_block/test_create_block.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_rest_api/test_block/test_read_blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_rest_api/test_block/test_read_blocks.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_rest_api/test_block_confirmation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_rest_api/test_block_confirmation.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_rest_api/test_node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_rest_api/test_node.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_rest_api/test_signed_change_request/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/test_rest_api/test_signed_change_request/test_coin_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_rest_api/test_signed_change_request/test_coin_transfer.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_rest_api/test_signed_change_request/test_node_declaration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_rest_api/test_signed_change_request/test_node_declaration.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_rest_api/test_signed_change_request/test_unsupported_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_rest_api/test_signed_change_request/test_unsupported_types.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_tasks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/test_tasks/test_process_block_confirmations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_tasks/test_process_block_confirmations.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_tasks/test_send_new_block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_tasks/test_send_new_block.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/tests/test_utils/test_blockchain_sync.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_utils/test_blockchain_sync.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_utils/test_lock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_utils/test_lock.py -------------------------------------------------------------------------------- /node/blockchain/tests/test_utils/test_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/tests/test_utils/test_network.py -------------------------------------------------------------------------------- /node/blockchain/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/types.py -------------------------------------------------------------------------------- /node/blockchain/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/urls.py -------------------------------------------------------------------------------- /node/blockchain/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/utils/blockchain_sync.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/utils/blockchain_sync.py -------------------------------------------------------------------------------- /node/blockchain/utils/lock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/utils/lock.py -------------------------------------------------------------------------------- /node/blockchain/utils/network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/utils/network.py -------------------------------------------------------------------------------- /node/blockchain/validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/validators.py -------------------------------------------------------------------------------- /node/blockchain/views/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/blockchain/views/account_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/views/account_state.py -------------------------------------------------------------------------------- /node/blockchain/views/block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/views/block.py -------------------------------------------------------------------------------- /node/blockchain/views/block_confirmation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/views/block_confirmation.py -------------------------------------------------------------------------------- /node/blockchain/views/node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/views/node.py -------------------------------------------------------------------------------- /node/blockchain/views/signed_change_request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/blockchain/views/signed_change_request.py -------------------------------------------------------------------------------- /node/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/config/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/asgi.py -------------------------------------------------------------------------------- /node/config/celery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/celery.py -------------------------------------------------------------------------------- /node/config/settings/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/settings/__init__.py -------------------------------------------------------------------------------- /node/config/settings/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/settings/base.py -------------------------------------------------------------------------------- /node/config/settings/celery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/settings/celery.py -------------------------------------------------------------------------------- /node/config/settings/custom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/settings/custom.py -------------------------------------------------------------------------------- /node/config/settings/docker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/settings/docker.py -------------------------------------------------------------------------------- /node/config/settings/envvars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/settings/envvars.py -------------------------------------------------------------------------------- /node/config/settings/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/settings/logging.py -------------------------------------------------------------------------------- /node/config/settings/rest_framework.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/settings/rest_framework.py -------------------------------------------------------------------------------- /node/config/settings/sentry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/settings/sentry.py -------------------------------------------------------------------------------- /node/config/settings/templates/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/settings/templates/nginx.conf -------------------------------------------------------------------------------- /node/config/settings/templates/sentry.env.custom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/settings/templates/sentry.env.custom -------------------------------------------------------------------------------- /node/config/settings/templates/sentry.nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/settings/templates/sentry.nginx.conf -------------------------------------------------------------------------------- /node/config/settings/templates/settings.dev.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/settings/templates/settings.dev.py -------------------------------------------------------------------------------- /node/config/settings/templates/settings.unittests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/settings/templates/settings.unittests.py -------------------------------------------------------------------------------- /node/config/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/config/tests/test_settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/tests/test_settings.py -------------------------------------------------------------------------------- /node/config/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/urls.py -------------------------------------------------------------------------------- /node/config/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/config/wsgi.py -------------------------------------------------------------------------------- /node/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/core/clients/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/core/clients/node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/clients/node.py -------------------------------------------------------------------------------- /node/core/commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/commands.py -------------------------------------------------------------------------------- /node/core/custom_djongo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/custom_djongo/__init__.py -------------------------------------------------------------------------------- /node/core/custom_djongo/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/custom_djongo/base.py -------------------------------------------------------------------------------- /node/core/custom_djongo/features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/custom_djongo/features.py -------------------------------------------------------------------------------- /node/core/custom_djongo/query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/custom_djongo/query.py -------------------------------------------------------------------------------- /node/core/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/database.py -------------------------------------------------------------------------------- /node/core/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/exceptions.py -------------------------------------------------------------------------------- /node/core/fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/fields.py -------------------------------------------------------------------------------- /node/core/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/logging.py -------------------------------------------------------------------------------- /node/core/management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/core/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/core/management/commands/check_replica_set.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/management/commands/check_replica_set.py -------------------------------------------------------------------------------- /node/core/managers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/managers.py -------------------------------------------------------------------------------- /node/core/middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/middleware.py -------------------------------------------------------------------------------- /node/core/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/models.py -------------------------------------------------------------------------------- /node/core/pagination.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/pagination.py -------------------------------------------------------------------------------- /node/core/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/serializers.py -------------------------------------------------------------------------------- /node/core/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/core/tests/fixtures/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/tests/fixtures/__init__.py -------------------------------------------------------------------------------- /node/core/tests/fixtures/clients.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/tests/fixtures/clients.py -------------------------------------------------------------------------------- /node/core/tests/fixtures/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/tests/fixtures/misc.py -------------------------------------------------------------------------------- /node/core/tests/test_collections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/tests/test_collections.py -------------------------------------------------------------------------------- /node/core/tests/test_node_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/tests/test_node_client.py -------------------------------------------------------------------------------- /node/core/tests/test_transactions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/tests/test_transactions.py -------------------------------------------------------------------------------- /node/core/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/core/utils/collections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/utils/collections.py -------------------------------------------------------------------------------- /node/core/utils/cryptography.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/utils/cryptography.py -------------------------------------------------------------------------------- /node/core/utils/formatters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/utils/formatters.py -------------------------------------------------------------------------------- /node/core/utils/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/utils/misc.py -------------------------------------------------------------------------------- /node/core/utils/network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/utils/network.py -------------------------------------------------------------------------------- /node/core/utils/pytest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/utils/pytest.py -------------------------------------------------------------------------------- /node/core/utils/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/utils/settings.py -------------------------------------------------------------------------------- /node/core/utils/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/core/utils/types.py -------------------------------------------------------------------------------- /node/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/manage.py -------------------------------------------------------------------------------- /node/web/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/web/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/web/apps.py -------------------------------------------------------------------------------- /node/web/static/web/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/web/static/web/img/favicon.ico -------------------------------------------------------------------------------- /node/web/templates/web/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/web/templates/web/index.html -------------------------------------------------------------------------------- /node/web/templatetags/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/web/templatetags/node_extras.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/web/templatetags/node_extras.py -------------------------------------------------------------------------------- /node/web/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node/web/tests/test_web.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/web/tests/test_web.py -------------------------------------------------------------------------------- /node/web/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/node/web/urls.py -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/scripts/deploy.sh -------------------------------------------------------------------------------- /scripts/docker-entrypoint.sh.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/scripts/docker-entrypoint.sh.patch -------------------------------------------------------------------------------- /scripts/dockerized-node-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/scripts/dockerized-node-run.sh -------------------------------------------------------------------------------- /scripts/extra-lint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenewboston-blockchain/Node/HEAD/scripts/extra-lint.sh --------------------------------------------------------------------------------