Finschia / ostracon

Ostracon, a consensus algorithm, is forked from Tendermint Core. We have added VRF to Tendermint BFT. It adds randomness to PoS Validator elections and improves security.
Apache License 2.0
70 stars 28 forks source link

feat: add remote IP filter to allow a connection from remote kms #692

Closed jaeseung-bae closed 1 year ago

jaeseung-bae commented 1 year ago

Description

Please add a description of the changes that this PR introduces and the files that are the most critical to review.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

codecov[bot] commented 1 year ago

Codecov Report

Merging #692 (44a8045) into main (d971aa4) will increase coverage by 0.09%. Report is 6 commits behind head on main. The diff coverage is 76.92%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #692 +/- ## ========================================== + Coverage 66.52% 66.62% +0.09% ========================================== Files 283 285 +2 Lines 37869 37915 +46 ========================================== + Hits 25192 25260 +68 + Misses 10874 10855 -19 + Partials 1803 1800 -3 ``` | [Files Changed](https://app.codecov.io/gh/Finschia/ostracon/pull/692?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) | Coverage Δ | | |---|---|---| | [config/config.go](https://app.codecov.io/gh/Finschia/ostracon/pull/692?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-Y29uZmlnL2NvbmZpZy5nbw==) | `79.36% <ø> (ø)` | | | [config/toml.go](https://app.codecov.io/gh/Finschia/ostracon/pull/692?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-Y29uZmlnL3RvbWwuZ28=) | `74.19% <ø> (ø)` | | | [privval/utils.go](https://app.codecov.io/gh/Finschia/ostracon/pull/692?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-cHJpdnZhbC91dGlscy5nbw==) | `33.33% <0.00%> (ø)` | | | [privval/signer\_listener\_endpoint.go](https://app.codecov.io/gh/Finschia/ostracon/pull/692?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-cHJpdnZhbC9zaWduZXJfbGlzdGVuZXJfZW5kcG9pbnQuZ28=) | `88.81% <70.58%> (-2.46%)` | :arrow_down: | | [privval/internal/ip\_filter.go](https://app.codecov.io/gh/Finschia/ostracon/pull/692?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-cHJpdnZhbC9pbnRlcm5hbC9pcF9maWx0ZXIuZ28=) | `78.26% <78.26%> (ø)` | | | [cmd/ostracon/commands/show\_validator.go](https://app.codecov.io/gh/Finschia/ostracon/pull/692?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-Y21kL29zdHJhY29uL2NvbW1hbmRzL3Nob3dfdmFsaWRhdG9yLmdv) | `72.72% <100.00%> (ø)` | | | [node/node.go](https://app.codecov.io/gh/Finschia/ostracon/pull/692?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-bm9kZS9ub2RlLmdv) | `61.49% <100.00%> (ø)` | | | [privval/internal/null\_object\_filter.go](https://app.codecov.io/gh/Finschia/ostracon/pull/692?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-cHJpdnZhbC9pbnRlcm5hbC9udWxsX29iamVjdF9maWx0ZXIuZ28=) | `100.00% <100.00%> (ø)` | | ... and [12 files with indirect coverage changes](https://app.codecov.io/gh/Finschia/ostracon/pull/692/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia)