1. May 24, 2018
  2. May 07, 2018
    • Gav Wood's avatar
      Fixes and improvements for PoC-1 Testnet (#143) · 0647b3bf
      Gav Wood authored
      * Fix initialisations and add a test.
      
      * Fix test.
      
      * Fix overflow bug.
      
      * Minor refactoring and fixes.
      
      * Fix vote threshold.
      
      * Add note.
      
      * Fixes for latest rust and the readme.
      
      * Better readme.
      
      * An extra validator for PoC-1
      
      * Update README.
      
      * PoC-1 bootnodes.
      
      * don't return async::notready for messages without scheduling wakeup
      
      * Fix endowed account
      
      * give polkadot control over round proposer based on random seed
      
      * address grumbles.
      0647b3bf
  3. Apr 06, 2018
    • Arkadiy Paronyan's avatar
      Consensus message buffering and more (#114) · 7519c2b2
      Arkadiy Paronyan authored
      * CLI options and keystore integration
      
      * Replace multiqueue with future::mpsc
      
      * BFT gossip
      
      * Revert to app_dirs
      
      * generate_from_seed commented
      
      * Refactor event loop
      
      * Start consensus by timer
      
      * Message buffering
      
      * Minor fixes
      
      * Work around duty-roster issue.
      
      * some more minor fixes
      
      * fix compilation
      
      * more consistent formatting
      
      * make bft input stream never conclude
      
      * Minor fixes
      
      * add timestamp module to executive
      
      * more cleanups and logging
      
      * Fixed message propagation
      7519c2b2
  4. Apr 05, 2018
    • Gav Wood's avatar
      Make Polkadot use the Substrate traity libraries (#105) · ef9a426a
      Gav Wood authored and asynchronous rob's avatar asynchronous rob committed
      * Initial stuff.
      
      * Various fixes.
      
      * Fix tests.
      
      * Fix another test
      
      * Fix another test.
      
      * Docs in polkadot runtime.
      
      * Fix up ser/de tests.
      
      * Update god keys
      
      * Syntax
      
      * Fix
      
      * Merge remote-tracking branch 'origin/master' into gav-merge-runtime
      
      * Permissions on init.sh
      
      * Port-over the whitespace from @rphmeier
      
      * Rename
      
      * Merge branch 'master' into gav-merge-runtime
      
      * Fix typo.
      
      * Fix grumbles.
      
      * Make more idiomatic.
      
      * Move `Ed25519Signature` out of traits.
      ef9a426a
  5. Mar 13, 2018
    • asynchronous rob's avatar
      Slash Authorities for irrefutable misbehavior (#84) · ec7a4402
      asynchronous rob authored
      * double-commit and prepare misbehavior
      
      * get misbehavior on completion
      
      * collect misbehavior on drop, not only on success
      
      * kill unused transaction_index field
      
      * add primitive misbehavior report type
      
      * add misbehavior report transaction
      
      * store prior session
      
      * fix set_items
      
      * basic checks for misbehavior reports
      
      * crate for substrate bft misbehavior checking
      
      * integrate misbehavior check crate
      
      * fix comment
      
      * new wasm binaries
      
      * fix hash in test
      
      * import misbehavior transactions into queue
      
      * fix test build
      
      * sign on digest and full proposal when proposing
      
      * detect proposal misbehavior
      
      * fix fallout
      
      * restore balance/bondage types
      ec7a4402
  6. Mar 02, 2018
    • asynchronous rob's avatar
      Integrate transaction pool to the proposal logic (#80) · 239acade
      asynchronous rob authored
      * reshuffle consensus libraries
      
      * polkadot-useful type definitions for statement table
      
      * begin BftService
      
      * primary selection logic
      
      * bft service implementation without I/O
      
      * extract out `BlockImport` trait
      
      * allow bft primitives to compile on wasm
      
      * Block builder (substrate)
      
      * take polkadot-consensus down to the core.
      
      * test for preemption
      
      * fix test build
      
      * Fix wasm build
      
      * Bulid on any block
      
      * Test for block builder.
      
      * Block import tests for client.
      
      * Tidy ups
      
      * clean up block builder instantiation
      
      * justification verification logic
      
      * JustifiedHeader and import
      
      * Propert block generation for tests
      
      * network and tablerouter trait
      
      * use statement import to drive creation of further statements
      
      * Fixed rpc tests
      
      * custom error type for consensus
      
      * create proposer
      
      * asynchronous proposal evaluation
      
      * inherent transactions in polkadot runtime
      
      * fix tests to match real polkadot block constraints
      
      * implicitly generate inherent functions
      
      * add inherent transaction functionality to block body
      
      * block builder logic for polkadot
      
      * some tests for the polkadot API
      
      * avoid redundancy in native code compatibility check
      
      * helper for extracting nonce
      
      * transaction pool implementation
      
      * transaction pool
      
      * integrate transaction pool with proposer
      
      * indentation
      
      * kill storage keys module
      
      * accept new transactions to replace old
      239acade
  7. Feb 25, 2018
    • asynchronous rob's avatar
      Proposal creation and evaluation to plug into BFT (#77) · 4fbd3e2b
      asynchronous rob authored
      * reshuffle consensus libraries
      
      * polkadot-useful type definitions for statement table
      
      * begin BftService
      
      * primary selection logic
      
      * bft service implementation without I/O
      
      * extract out `BlockImport` trait
      
      * allow bft primitives to compile on wasm
      
      * Block builder (substrate)
      
      * take polkadot-consensus down to the core.
      
      * test for preemption
      
      * fix test build
      
      * Fix wasm build
      
      * Bulid on any block
      
      * Test for block builder.
      
      * Block import tests for client.
      
      * Tidy ups
      
      * clean up block builder instantiation
      
      * justification verification logic
      
      * JustifiedHeader and import
      
      * Propert block generation for tests
      
      * network and tablerouter trait
      
      * use statement import to drive creation of further statements
      
      * Fixed rpc tests
      
      * custom error type for consensus
      
      * create proposer
      
      * asynchronous proposal evaluation
      
      * inherent transactions in polkadot runtime
      
      * fix tests to match real polkadot block constraints
      
      * implicitly generate inherent functions
      
      * add inherent transaction functionality to block body
      
      * block builder logic for polkadot
      
      * some tests for the polkadot API
      4fbd3e2b
  8. Feb 12, 2018
    • Gav Wood's avatar
      Additional runtime tests for the test-runtime (#69) · 8629e4a1
      Gav Wood authored and asynchronous rob's avatar asynchronous rob committed
      * Remove rustc dependency from ed25519 and refactor a little.
      
      * Runtime support provides more extensive test-key functionality.
      
      * Additional APIs for ed25519 stuff.
      
      * Extensive test for test-runtime.
      
      * Fixes for the new test key API.
      
      * Additional convenience for tests
      
      * Take advantage of more convenient API.
      
      * Redo formating.
      
      * Remove old test identities.
      
      * Remove boilerplate, add test.
      
      * Refactor out unneeded code.
      
      * Clean up algo for determining authorities.
      
      * Remove unneeded API.
      
      * Make `to_*` consume
      
      * Only export keyring when testing
      
      * Fix build & warning
      
      * Extract Keyring into separate library.
      
      * Add tests for Keyring and a trait-based API.
      
      * Address grumbles.
      8629e4a1
  9. Feb 09, 2018
    • Gav Wood's avatar
      Introduce toy runtime for testing inside substrate. (#66) · 74a897df
      Gav Wood authored
      * Introduce simple blockchain runtime for substrate tests.
      
      * Remove bad files.
      
      * Add needed wasm binaries.
      
      * Refactoring.
      
      - Repot files in test-runtime.
      - Rename troublesome `Joiner::join` to `Joiner::and`.
      - Rework `Slicable` to dedup code.
      
      * More fixes and refactoring
      
      * Rebuild substrate test wasm.
      
      * Fix merge errors.
      
      * Rename the disasterously named `to_vec` to `encode`.
      
      Also rename `as_slice_then` to `with_encoded`.
      
      * Tests for toy runtime.
      
      * Fix doc nit
      74a897df
  10. Feb 08, 2018
    • asynchronous rob's avatar
      Re-introduce zero copy codec and add minimal polkadot client API which uses... · 064c01e8
      asynchronous rob authored
      Re-introduce zero copy codec and add minimal polkadot client API which uses linked native runtime (#65)
      
      * client-api type and move duty roster types to primitives
      
      * tuple implementation for slicable
      
      * mild cleanup of deserialization code
      
      * stubs which handle encoding and decoding themselves
      
      * fancier impl_stubs macro
      
      * zero-copy slicable API
      
      * minimal polkadot-client API
      
      * fix WASM API generation
      
      * move native environment stuff to substrate executor
      
      * fix warnings and grumbles
      064c01e8
    • Gav's avatar
      Fix warning and directory restructure. · 71e1b17a
      Gav authored
      71e1b17a
  11. Feb 07, 2018
  12. Feb 06, 2018
  13. Feb 05, 2018
  14. Feb 04, 2018
  15. Jan 31, 2018
  16. Jan 30, 2018
  17. Jan 28, 2018
  18. Jan 27, 2018
  19. Jan 26, 2018
  20. Jan 25, 2018
  21. Jan 23, 2018
    • Gav's avatar
    • asynchronous rob's avatar
      reorganize native-support exports · 944743c2
      asynchronous rob authored
      944743c2
    • Gav Wood's avatar
      Introduce basic skeleton for Polkadot runtime. (#32) · 0039a32e
      Gav Wood authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * Introduce basic skeleton for Polkador runtime.
      
      * Clean up the runtime skeleton.
      
      * Make initial runtime skeleton compile.
      
      * Compile polkadot-runtime both for Wasm ad native, allowing for testing and direct usage.
      
      * More fleshing out on runtime.
      
      * Update native support.
      
      * Fix warning.
      
      * Update gitignore
      
      * Update path.
      
      * Fix path.
      
      * Remove accidentally committed files.
      
      * Add wasm binaries.
      
      * Fix test.
      
      * Native storage support API.
      
      * Add environmental module
      
      * Add native environment to make native source-code compatible with wasm.
      
      Also tests.
      
      * Finish up & polish environment stuff.
      
      * Avoid using reentrancy issues.
      
      * Add some docs and a test.
      
      * Remove unneeded function.
      
      * Documentation
      
      * Tweak docs
      
      * Remove TODOs.
      
      * Balance transfers + util methods.
      
      * Rejig tests and ensure authorities are addressed consistently.
      
      * Add marshaller for xfer function
      
      * Transaction dispatch test.
      
      * Minor fix.
      
      * Add test for ser/de transaction.
      
      * Add ser/de for header.
      
      * Add tests for header ser/de
      
      * Introduce basic block decoding/execution framework.
      
      * Introduce block decoding/execution framework (p2)
      
      * Big refactor.
      
      * Split out joiner.
      
      * Hide away support modules.
      
      * Fix up wasm runtime.
      
      * use externalities for chain_id
      
      * Clean up (Test)Externalities.
      
      * Repot and introduce keccak-256 external.
      
      * Signing with crypto.
      
      * fix unsafety hole in environmental using function
      
      * Introduce Ed25519 crypto.
      
      * Repotting.
      
      * Add ed25519_verify external.
      
      * Introduce Ed25519 verify as an external.
      
      * fix unsafety hole around unwinding
      
      * Compile fixes.
      
      * use new environmental API
      
      * Tests for ed25519 verify.
      
      * Polish
      
      * Introduce UncheckedTransaction & test.
      
      * Implement basic block and tx processing
      
      * Introduce static hex and valid signature for block test.
      
      * Repot session.
      
      * comments.
      
      * Refactor and timestamp test
      
      * Remove fluff
      
      * Remove fluff.
      
      * Staking eras and tests.
      
      * Implement sessions.
      
      * Polish
      
      * Test sessions.
      
      * Introduce better hashing.
      
      - Blake2 for secure hashing
      - XX for fast hashing
      
      * Fix tests.
      
      * Introduce staking.
      
      * Tests for simple staking system.
      
      * Build fix for wasm.
      
      * Fix tests.
      
      * Repotting and docs.
      
      * Docs and licence.
      
      * Documentation.
      
      * Remove superfluous code.
      
      * Remove dummy key.
      
      * Remove other superfluous file.
      
      * Optimise with swap_remove
      0039a32e