-
Notifications
You must be signed in to change notification settings - Fork 9
Merge dev into master #1237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Merge dev into master #1237
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add ConfigValueParser tests * Add test on empty config * remove unused imports
* Benchmarks added * Non-allocating extensions added * A few usages of ToByteArray replaced with the new extensions for hashing * ICryptoContext got extensions to directly work on messages * Tests amended to use the proper Verify method * File headers * Tests use now IMessage based overloads * Review remarks amended. * API span field * KeySigner just lost two more ToByteArray * Benchmarks amended to comply to code rules * C# bumped up to 8.0 which allows using ref struct for scoping lifetime of serialized messages.
…e config to the SharpRepository
…one under one lock now
Co-authored-by: sudhirtibrewal <sudhirtibrewal@gmail.com>
Adds functionality for batch verification of signatures
* Use dfs for PoaConsensusTest * Correct dfs directory structure * Remove hash provider inside dfs * Fix receiving blocks with correct hash format * Add hash provider to add file to dfs test * Connecting successfully to IPFS and receiving files :) * Fix AddFile unit test * Add license header to files * Update rust submodule * Update POA Concensus test to remove time barrier * Use test scheduler for rep manager unit tests * Remove doc gen from libp2p * Update Libp2p props * Update libp2p * Update rust submodule * WIP * WIP * WIP * WIP * WIP * WIP * Fix unit tests * Do not generate assembly info * Do not generate assembly info * Quick Fix for SIGINT blocked by ApiModule * Update dfs unit tests for CI * Test CI * Starting of Sync ;) * Core classes for Sync * Add unit test to continue sync from previous delta index * Add unit test signatures to SyncUnitTests * Add more unit test signatures * Remove race condition from Wants and UnWants unit tests * Add more functionality to sync * Update for CI * Update yml files for CI * Update yml files for CI * Update yml files for CI * Remove dfs tests to test ci * Revert sln * CI Test * CI Test * CI Test * CI Test * CI Test * CI Test * CI Test * CI Test * CI Test * CI Test * CI Test * CI Test * Update POA unit test * Update TestDfs stub * Refactor dfs * Fix unit tests * Fix POA unit tests * Refactor to use more DI * Update POA unit test * Increase timeout on dns dotclient * Update unit test * Use DnsClient instead of DotClient to test ci * Remove libp2p unit tests and multihash as they are unchanged 3rd party and libp2p contains race condition * Remove test files for 3rd party * Refactor for Codeacy * Add debug info to response of poa consensus test * Add debug info to response of poa consensus test * Refactor for autofac * Update DfsModule * Refactor for autofac * Merge develop * Skip unit tests * Add debugging info * Add debugging info * Add debugging info * Remove debug info * Debug info * Skip Run_Conccensus intergration test as sockets are getting disposed some how in the ci - Will fix this later but using to much time and need to move on * Skip Run_Conccensus intergration test as sockets are getting disposed some how in the ci - Will fix this later but using to much time and need to move on * Codacy fixes * WIP * Update yaml files for pipeline * Update yaml pipeline * Codacy issues * clean up dfs controllers * Update unit tests * Sync unit test * Add more unit tests to sync * codacy * Refactor code into seperate classes * Update sync unit tests * Update sync * Use three nodes in intergration test * Apply suggestions from code review * Refactor ranking logic * Remove comments * Update delta height watcher * Update serilog * Update wait peer * Update to test sync * Test on multi-node * Test on multi-node * Check timestamp between nodes * Fix date time issue * Small update for remote node testing * Add debug info for height * Add debug info for height * Add debug info for height * Increase challenge count peer * Forign PingRequests are added to PeerRepo for PoaDiscovery, Sync updates - MongoDb * comments from discussion * Migrate changes from truffle branch * Update sync * Fix some unit tests and remove dfs blacklisting * Update ethcontroller for stephen * Comment out validation in delta * Update byteextensions to use dag instead of raw * Update ContentType of cid * Update bootstrap nodes * Add eth sync and peer count calls * Merge LedgerSync into Sync * Merge LedgerSync into Sync * Fix cachebetween * Add json rpc calls for chain id and pending transactions * Use peer count from dfs * Turn off blacklisting in ipfs * Refactor sync * Rename sync files and set minimum peers for network to 3 * Revert max ping count limit * Change peer count to two * Revert max ping count limit * Add more users to configs * Add myself * Update inactive for to test concensus * DI min peer count and null reference exception temp fix * Fix unit tests * only known authority nodes can produce a delta * Update sync unit tests * Update add fields to Peer: IsSync, Height and IsPoaNode * Update poa unit test * Update submodule * Revert is sync in PeerRepo ActivePoaNodes * Update CandidateDeltaObserver * Test ping system * Increase ping speed * Revsert POA peer call * PingRequest update * Don't remove peer from counter * Slow down ping * Update peer id in sync * Remove if statement * Add more sync blocks * Test * Awol * Add issync * Remove self from broadcast * Add self * Test * Update only allow POA Nodes in producer pool * Derep * Remove data from pingresponse * Revert protocol * Update ping tests * Update hashing from Blake2b to keccak * Fix intergration tests * fixed error results for Ed25519 and returned value is bool now * Remove Messenger classes and use PeerClient instead * Fix dfs delta downloader * Resolve conflicts * Persistant state * Remove Rocks IRepo * Fix transaction with persistant state * Add updates to sync * Update directory delete to include files * Add check to see if dir exists * Fix to sync issue * Also skip empty di's ;) * Update poa nodes * Make range smaller * Null reference fix * Reset back to 20 min for range * Test faster cycle * Reduce content router timespan * Turn off mdns * Test 1 second block time * Revert * Update timings * Delete mempool items * Disable mdns * Updates to lib p2p and discovery * use im memory for mempool * update events provider and concensus * Only evict non poa nodes * Update intergration tests * Add classes for StateResetter * Update kernel * fix for #1187 * Add protocol changes * Update unit test * Sync update * Add delay to concensus * sync update * Add GasUsed * Update code to match proto updates * update submodule and add node to list of authority nodes * Update protocol submodule * Update peer black list to match proto * Use public address for peer id not bind address * use state memory * Remove non poa node from list * Update some test fixtures and models * Update sln * update rust submodule * Update sln * Revert Uint256 extensions tests * Use persistance for kvm state * Refactor * Jk documentation (#1203) * Merge documentation fork into main repo (#1192) * Update * Add more instructions * Add config poa node * Update README.md * Update README.md * Update README.md * Update Security.md * Update Readme * Add Contributor * Update * Update * update * Update * Update * Add website link * Add documentation * Refactor delta height watcher * Add Install Nightly instructions Additional doculmentation on how to install and enable nightly mode for rust * Update pipeline * Comment out test that is not used * Remove unused test * Change PoaTestNode Registrations Co-authored-by: nshcore <nshcore@protonmail.com> Co-authored-by: Sudhir Tibrewal <s.tibrewal@reply.eu> Co-authored-by: Tomasz Kajetan Stanczak <tkstanczak@users.noreply.github.com> Co-authored-by: fran <fran.sl@atlascity.io> Co-authored-by: Joseph Kearney <46780513+kearneyjj1@users.noreply.github.com> Co-authored-by: Joseph Kearney <kearneyjj@outlook.com>
* Update instructions on running a node * Update TOC
* Check if delta was from POA node in more places * Check if delta was from POA node in more places
* 3.1 LTS + submodule fixing * adding new projects from neth * upgrade packages * updating namespaces * tests 16.5.0 * test adapter versions updated * downgraded tests to 16.4.0 * Converting from XUnit to NUnit * Fix Update more tests more tests * Fix Update more tests more tests * Fix Update more tests more tests * Fix more tests * Add changes to DB Branch now working * edit imports * Fix more unit tests * Fix more unit tests * Fix more unit tests * Fix more unit tests * Fix more unit tests * Fix more unit tests * Fix more unit tests * Fix more unit tests * getting tests runner * fixed KVM errors in test * Update Hashing project * Fix more tests * Fix more tests * Update pipeline dotnet core sdk version * Fix more tests * Fix pipeline test * Increase prox state cycle sync * Increase prox state cycle sync * Refactor tests * Test pipeline * Test pipeline * Skip poa concensus Co-authored-by: Tomasz Kajetan Stanczak <tkstanczak@users.noreply.github.com> Co-authored-by: Joseph Kearney <kearneyjj@outlook.com> Co-authored-by: fran <fran.sl@atlascity.io>
* Fix sync issue * Fix edge case if genisis is already in delta index service
…ransaction. (#1222) * Fix sync issue * Fix edge case if genisis is already in delta index service * Remove timestamp from transaction and fix removing transaction from mempool + transaction hash * Update protocol * Add poa consensus test * Comment out ignore * Update protocol submodule * Remove poa concensus test ignore attribute
* Dont use inmem * Add native rocks * Add rocks to core lib * Oops use native
#1197) Bumps [PeterO.Cbor](https://github.com/peteroupc/CBOR) from 3.1.0 to 4.0.0. - [Release notes](https://github.com/peteroupc/CBOR/releases) - [Changelog](https://github.com/peteroupc/CBOR/blob/master/History.md) - [Commits](peteroupc/CBOR@v3.1.0...v4.0.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex <alex.white@atlascity.io>
* updating neth reference * build fixes
Co-authored-by: franssl <46971650+franssl@users.noreply.github.com>
* remove duplicate import * add missing library * test for linux * remove pipeline step add project reference * Refactor to move POATestNode to TestUtils * add snappy for linux * add snappy for mac * add underscore to library link * Remove redundant Dispose method * Refactor to remove test project dependancy on DFS.Tests * fixed disposal of containers creating rocksdb Co-authored-by: Tomasz Kajetan Stanczak <tkstanczak@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New Pull Request Submissions:
closes #1) ?What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Update to testnet
What is the current behavior? (You can also link to an open issue here)
Old version
What is the new behavior (if this is a feature change)?
New version
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information: