mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
- Removed all Snow consensus code and dependencies - Replaced snow.Context with consensuscontext.Context - Updated all imports and references - Added comprehensive test suites for core packages - Fixed all build errors and test failures - Achieved 100% test pass rate (21 packages passing) - Improved test coverage to 30% Breaking changes: - Removed snow package entirely - Changed VM interface to use VMState instead of snow.State - Updated ChainContext structure Tests added: - core/app_error_test.go: 100% coverage - core/bootstrap_test.go: comprehensive concurrent tests - core/health_test.go: full integration tests - validators/validators_test.go: complete interface tests - version/version_test.go: 100% coverage - codec/codec_test.go: marshal/unmarshal tests - context/context_test.go: all functions tested
48 lines
1.9 KiB
Plaintext
48 lines
1.9 KiB
Plaintext
Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
|
|
Based on Underscore.js, copyright Jeremy Ashkenas,
|
|
DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
|
|
|
|
This software consists of voluntary contributions made by many
|
|
individuals. For exact contribution history, see the revision history
|
|
available at https://github.com/lodash/lodash
|
|
|
|
The following license applies to all parts of this software except as
|
|
documented below:
|
|
|
|
====
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
a copy of this software and associated documentation files (the
|
|
"Software"), to deal in the Software without restriction, including
|
|
without limitation the rights to use, copy, modify, merge, publish,
|
|
distribute, sublicense, and/or sell copies of the Software, and to
|
|
permit persons to whom the Software is furnished to do so, subject to
|
|
the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be
|
|
included in all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
====
|
|
|
|
Copyright and related rights for sample code are waived via CC0. Sample
|
|
code is defined as all source code displayed within the prose of the
|
|
documentation.
|
|
|
|
CC0: http://creativecommons.org/publicdomain/zero/1.0/
|
|
|
|
====
|
|
|
|
Files located in the node_modules and vendor directories are externally
|
|
maintained libraries used by this software which have their own
|
|
licenses; we recommend you read them, as their terms may differ from the
|
|
terms above.
|