Skip to content
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

1.5.x #227

Merged
merged 20 commits into from Feb 17, 2021
Merged

1.5.x #227

merged 20 commits into from Feb 17, 2021

Conversation

monstrobishi
Copy link
Contributor

Pull requests without a rationale and clear improvement may be closed
immediately.

Please provide clear motivation for your patch and explain how it improves
DeFi Blockchain user experience or the DeFi Blockchain developer experience
significantly.

  • Any test improvements or new tests that improve coverage are always welcome.
  • All other changes should have accompanying unit tests (see src/test/) or
    functional tests (see test/). Contributors should note which tests cover
    modified code. If no tests exist for a region of modified code, new tests
    should accompany the change.
  • Bug fixes are most welcome when they come with steps to reproduce or an
    explanation of the potential issue as well as reasoning for the way the bug
    was fixed.
  • Features are welcome, but might be rejected due to design or scope issues.
    If a feature is based on a lot of dependencies, contributors should first
    consider building the system outside of DeFi Blockchain, if possible.
  • Refactoring changes are only accepted if they are required for a feature or
    bug fix or otherwise improve developer experience significantly. For example,
    most "code style" refactoring changes require a thorough explanation why they
    are useful, what downsides they have and why they significantly improve
    developer experience or avoid serious programming bugs. Note that code style
    is often a subjective matter. Unless they are explicitly mentioned to be
    preferred in the developer notes, stylistic code
    changes are usually rejected.

DeFi Blockchain has a thorough review process and even the most trivial change
needs to pass a lot of eyes and requires non-zero or even substantial time
effort to review. There is a huge lack of active reviewers on the project, so
patches often sit for a long time.

Bushstar and others added 19 commits February 17, 2021 09:10
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
Regtest use mainnet params. Always apply quorum check on anchors read from Bitcoin, invalidates all current anchors. Do not show old anchors in listanchors. Use correct iterator in loop. Post-AMK logic always true in CreateNewBlock payment code. spv_createanchor requires SPV to fully validate anchor auths. Set realistic times in fake SPV Bitcoin TXs. Update C++ anchor unit tests.
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
@monstrobishi monstrobishi merged commit b7631b2 into master Feb 17, 2021
@monstrobishi monstrobishi deleted the 1.5.x branch February 17, 2021 15:18
ShengguangXiao pushed a commit that referenced this pull request Mar 15, 2021
partially implement setrawprice

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactor oracles

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactore according to changed design

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactor oracles, implement oraclesview, partially implement setoracledata

Signed-off-by: DeFiDev <defidev@cakedefi.com>

partially fix setoracledata method

Signed-off-by: DeFiDev <defidev@cakedefi.com>

get rid of timestamp type

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fix style issue

Signed-off-by: DeFiDev <defidev@cakedefi.com>

debug setoracledata, fix errors

Signed-off-by: DeFiDev <defidev@cakedefi.com>

remove HasOracleAuth impl

refactor oracle view, add appointoracle

Signed-off-by: DeFiDev <defidev@cakedefi.com>

correct parse address

Signed-off-by: DeFiDev <defidev@cakedefi.com>

implementing rpc methods

Signed-off-by: DeFiDev <defidev@cakedefi.com>

debugging feature oracles

Signed-off-by: DeFiDev <defidev@cakedefi.com>

set correct oracle address

Signed-off-by: DeFiDev <defidev@cakedefi.com>

debugging oracles in progress

Signed-off-by: DeFiDev <defidev@cakedefi.com>

debugging in process

Signed-off-by: DeFiDev <defidev@cakedefi.com>

debugging in process

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fix few errors, debugging almost completed

Signed-off-by: DeFiDev <defidev@cakedefi.com>

added update oracle method, refactored code

Signed-off-by: DeFiDev <defidev@cakedefi.com>

implemented listlatestprices

Signed-off-by: DeFiDev <defidev@cakedefi.com>

add getprice

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactor listlatestrawprices

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactoring oracles to use different currencies. in process, isn't compilable yet

Signed-off-by: DeFiDev <defidev@cakedefi.com>

make oracles use currencies

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactor, make proper auth, small fixes

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fix iteration error

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fix error in logic

Signed-off-by: DeFiDev <defidev@cakedefi.com>

implement listprices

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactor

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactor allowed pairs parameter for appointoracle and updateoracle

Signed-off-by: DeFiDev <defidev@cakedefi.com>

add txs parameters check before sending, debugging updateoracle, removeoracle, setoracledata

Signed-off-by: DeFiDev <defidev@cakedefi.com>

debug updateoracle & removeoracle

Signed-off-by: DeFiDev <defidev@cakedefi.com>

added getpricefeeds rpc method

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fixed getpricefeeds

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fix problem with transactions, remove debug code

Signed-off-by: DeFiDev <defidev@cakedefi.com>

add tokens formatting

Signed-off-by: DeFiDev <defidev@cakedefi.com>

implementing tests in progress

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fix mistakes

Signed-off-by: DeFiDev <defidev@cakedefi.com>

implement most test cases

Signed-off-by: DeFiDev <defidev@cakedefi.com>

implement more test cases, make workaround for error code 0

Signed-off-by: DeFiDev <defidev@cakedefi.com>

correct updateoracle to preserve existing prices

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fix tests after correcting updateoracle, add check for expiration

Signed-off-by: DeFiDev <defidev@cakedefi.com>

Fix sendtokentoaddress account selection mode

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Return operator != in auto select balances

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Fix potential node syncing issues on Travis

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Add ability for multiple operators per node

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Fix test runner

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Prevent sending DFI tokens to non-self addresses by default

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Update cache of owned addresses

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Fix gettokenbalances

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Fix metadata in poolswap rpc call

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Add checkpoint data

Minimize custom tx logs

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Show log on new tip every 20 seconds

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Remove duplicate anchor reward log

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Increase file chunk size

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Include watch addresses to acindex-mineonly

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Search in for watch addresses always in mine table as well as in wallet

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Try blocking only dfi token

Std pair

Remove unused variable

Fix unit test

Fix unit test

Fix unit test

Add custom_tx option in listtransaction rpc

Change option to exlude custom transactions

Set default value of exclude_custom_tx to false, add unittest

Fix lint error

Show address instead of script as pool owner

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Fix auto select accounts

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Added checkpoint

Add AutoAuthPrep meta data to auto auth TXs

Invalidate last checkpoint block to reconsider invalid blocks

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Strip out spam syncing block header messages

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Add explicit check for invalid blocks

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Update validation.cpp

Some small tidyup

Added stale bot

Added stale bot

Prevent downgrade to genesis block on wrong chain

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Do not read stream out of its bounds in FindByte

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Do not search in wallet for custom tx type

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Check for watch address change

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Don't call lsn_reset in periodic flush

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Make wallet more reponsive and less buggy

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Added stale bot

Added stale bot

Prevent downgrade to genesis block on wrong chain

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Limit size of wallet tx.
Strip out dead wallet code

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Fix operator lower precedence warning

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Add lock free guard mechanism

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Use cached version of wallet filter type.
Strip out more dead code

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Do not read stream out of its bounds in FindByte

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Fix wallet watch only address visibility

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Yield a slot to other staker threads

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Pin github-actions to a full length commit SHA (#226)

1.5.x (#227)

* Dakota fork logic

* SPV logging category

* Add Dakota to getblockchaininfo

* Make update token only need owner auth

* Open createpoorpair after dakota fork and add unittest

* Fix unittest fail

* Address review comments

* Fix unittest fail

* Fix swap max price calculation

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Reduce collateral amount for masternode creation

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Unit tests masternode collateral amount creation

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Revert "Make update token only need owner auth"

* Anchor refactor

* Reverse community balance on reorg

* Minor changes and corrections

Regtest use mainnet params. Always apply quorum check on anchors read from Bitcoin, invalidates all current anchors. Do not show old anchors in listanchors. Use correct iterator in loop. Post-AMK logic always true in CreateNewBlock payment code. spv_createanchor requires SPV to fully validate anchor auths. Set realistic times in fake SPV Bitcoin TXs. Update C++ anchor unit tests.

* Log genesis block errors. Useful for debugging unexpected cases.

* Anchor functional test updates for Dakota

* Fork out NotAllowedToFail (#223)

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Set Dakota fork heights

* Update chainparams.cpp

Co-authored-by: Peter Bushnell <bushsolo@gmail.com>
Co-authored-by: ShengguangXiao <shengguangxiao@gmail.com>
Co-authored-by: Anthony Fieroni <bvbfan@abv.bg>

Adding variable for make args, ignore .vscode dir (#228)

Do not throw in case of account error at rewards redistribution (#230)

* Do not throw in case of account error at rewards redistribution

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Sync nodes after reset balance in wallet avoid reuse test

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Fix nodes out of sync in custom rewards test

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Moved security policy from issue into repo. (#237)

* Moved security policy from issue into repo. (GitHub recommended)
* Changed 20,000 DFI to 50,000 USD worth of DFI

Branding consistency for README.md (#243)

DeFi Blockchain to DeFiChain

License update (#245)

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

Setup CODEOWNERS (#242)

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

OSS Governance Bot setup for PR & Issue (#241)

Labels syncing automation (#240)

Automated release drafting (#239)

Setup issue template for governance agility (#238)

Remove storing pre-fork anchor reward (#235)

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

Add ability to interrupt long-standing revert to previous checkpoint  (#233)

* Respect shutdown request at block disconnect to previous checkpoint

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Add new checkpoints

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

Reject protocol versions less than 70016 (#236)

* Reject protocol versions less than 70016

* Increment version in tests

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

Improve anchor API help message (#246)

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

 Refactor mn_rpc file and split into different categories based on RPC types (#234)

* Initial rpc refactor to categories files

* Clean up

* Added include guard and ran clang-format

* Adding new lines to file end

* Fix lint error

* Adding missing masternodes/mn_rpc.h to Makefile.am

* Register rpc commands in its own files

* Add new rpc files to check-rpc-mappings.py

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

All anchors and validation moved to pending (#249)

Reject paid confirmations. Only vote if not in IBD. (#253)

Restore handling of equal work in block when invalidating blocks (#229)

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

Update setup-masternodes.md (#247)

SPV: hard code required spv solution to related network. (#248)

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

Wipe confs and revote after new team. New getactivemasternodes call. (#254)

Flush when it's needed in reindex chainstate (#255)

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Wait wallet unlock to stake (#256)

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

fix merge issues

Signed-off-by: DeFiDev <defidev@cakedefi.com>

replaced getpricefeeds with getoracledata, refactor tests

Signed-off-by: DeFiDev <defidev@cakedefi.com>

Fix oracle rpc api bugs (#276)

* Fix oracle rpc api bugs

* fix remaining issues

Signed-off-by: DeFiDev <defidev@cakedefi.com>

Co-authored-by: DeFiDev <defidev@cakedefi.com>
ShengguangXiao pushed a commit that referenced this pull request Mar 15, 2021
partially implement setrawprice

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactor oracles

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactore according to changed design

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactor oracles, implement oraclesview, partially implement setoracledata

Signed-off-by: DeFiDev <defidev@cakedefi.com>

partially fix setoracledata method

Signed-off-by: DeFiDev <defidev@cakedefi.com>

get rid of timestamp type

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fix style issue

Signed-off-by: DeFiDev <defidev@cakedefi.com>

debug setoracledata, fix errors

Signed-off-by: DeFiDev <defidev@cakedefi.com>

remove HasOracleAuth impl

refactor oracle view, add appointoracle

Signed-off-by: DeFiDev <defidev@cakedefi.com>

correct parse address

Signed-off-by: DeFiDev <defidev@cakedefi.com>

implementing rpc methods

Signed-off-by: DeFiDev <defidev@cakedefi.com>

debugging feature oracles

Signed-off-by: DeFiDev <defidev@cakedefi.com>

set correct oracle address

Signed-off-by: DeFiDev <defidev@cakedefi.com>

debugging oracles in progress

Signed-off-by: DeFiDev <defidev@cakedefi.com>

debugging in process

Signed-off-by: DeFiDev <defidev@cakedefi.com>

debugging in process

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fix few errors, debugging almost completed

Signed-off-by: DeFiDev <defidev@cakedefi.com>

added update oracle method, refactored code

Signed-off-by: DeFiDev <defidev@cakedefi.com>

implemented listlatestprices

Signed-off-by: DeFiDev <defidev@cakedefi.com>

add getprice

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactor listlatestrawprices

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactoring oracles to use different currencies. in process, isn't compilable yet

Signed-off-by: DeFiDev <defidev@cakedefi.com>

make oracles use currencies

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactor, make proper auth, small fixes

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fix iteration error

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fix error in logic

Signed-off-by: DeFiDev <defidev@cakedefi.com>

implement listprices

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactor

Signed-off-by: DeFiDev <defidev@cakedefi.com>

refactor allowed pairs parameter for appointoracle and updateoracle

Signed-off-by: DeFiDev <defidev@cakedefi.com>

add txs parameters check before sending, debugging updateoracle, removeoracle, setoracledata

Signed-off-by: DeFiDev <defidev@cakedefi.com>

debug updateoracle & removeoracle

Signed-off-by: DeFiDev <defidev@cakedefi.com>

added getpricefeeds rpc method

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fixed getpricefeeds

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fix problem with transactions, remove debug code

Signed-off-by: DeFiDev <defidev@cakedefi.com>

add tokens formatting

Signed-off-by: DeFiDev <defidev@cakedefi.com>

implementing tests in progress

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fix mistakes

Signed-off-by: DeFiDev <defidev@cakedefi.com>

implement most test cases

Signed-off-by: DeFiDev <defidev@cakedefi.com>

implement more test cases, make workaround for error code 0

Signed-off-by: DeFiDev <defidev@cakedefi.com>

correct updateoracle to preserve existing prices

Signed-off-by: DeFiDev <defidev@cakedefi.com>

fix tests after correcting updateoracle, add check for expiration

Signed-off-by: DeFiDev <defidev@cakedefi.com>

Fix sendtokentoaddress account selection mode

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Return operator != in auto select balances

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Fix potential node syncing issues on Travis

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Add ability for multiple operators per node

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Fix test runner

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Prevent sending DFI tokens to non-self addresses by default

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Update cache of owned addresses

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Fix gettokenbalances

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Fix metadata in poolswap rpc call

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Add checkpoint data

Minimize custom tx logs

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Show log on new tip every 20 seconds

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Remove duplicate anchor reward log

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Increase file chunk size

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Include watch addresses to acindex-mineonly

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Search in for watch addresses always in mine table as well as in wallet

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Try blocking only dfi token

Std pair

Remove unused variable

Fix unit test

Fix unit test

Fix unit test

Add custom_tx option in listtransaction rpc

Change option to exlude custom transactions

Set default value of exclude_custom_tx to false, add unittest

Fix lint error

Show address instead of script as pool owner

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Fix auto select accounts

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Added checkpoint

Add AutoAuthPrep meta data to auto auth TXs

Invalidate last checkpoint block to reconsider invalid blocks

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Strip out spam syncing block header messages

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Add explicit check for invalid blocks

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Update validation.cpp

Some small tidyup

Added stale bot

Added stale bot

Prevent downgrade to genesis block on wrong chain

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Do not read stream out of its bounds in FindByte

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Do not search in wallet for custom tx type

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Check for watch address change

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Don't call lsn_reset in periodic flush

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Make wallet more reponsive and less buggy

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Added stale bot

Added stale bot

Prevent downgrade to genesis block on wrong chain

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Limit size of wallet tx.
Strip out dead wallet code

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Fix operator lower precedence warning

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Add lock free guard mechanism

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Use cached version of wallet filter type.
Strip out more dead code

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Do not read stream out of its bounds in FindByte

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Fix wallet watch only address visibility

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Yield a slot to other staker threads

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Pin github-actions to a full length commit SHA (#226)

1.5.x (#227)

* Dakota fork logic

* SPV logging category

* Add Dakota to getblockchaininfo

* Make update token only need owner auth

* Open createpoorpair after dakota fork and add unittest

* Fix unittest fail

* Address review comments

* Fix unittest fail

* Fix swap max price calculation

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Reduce collateral amount for masternode creation

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Unit tests masternode collateral amount creation

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Revert "Make update token only need owner auth"

* Anchor refactor

* Reverse community balance on reorg

* Minor changes and corrections

Regtest use mainnet params. Always apply quorum check on anchors read from Bitcoin, invalidates all current anchors. Do not show old anchors in listanchors. Use correct iterator in loop. Post-AMK logic always true in CreateNewBlock payment code. spv_createanchor requires SPV to fully validate anchor auths. Set realistic times in fake SPV Bitcoin TXs. Update C++ anchor unit tests.

* Log genesis block errors. Useful for debugging unexpected cases.

* Anchor functional test updates for Dakota

* Fork out NotAllowedToFail (#223)

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Set Dakota fork heights

* Update chainparams.cpp

Co-authored-by: Peter Bushnell <bushsolo@gmail.com>
Co-authored-by: ShengguangXiao <shengguangxiao@gmail.com>
Co-authored-by: Anthony Fieroni <bvbfan@abv.bg>

Adding variable for make args, ignore .vscode dir (#228)

Do not throw in case of account error at rewards redistribution (#230)

* Do not throw in case of account error at rewards redistribution

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Sync nodes after reset balance in wallet avoid reuse test

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Fix nodes out of sync in custom rewards test

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Moved security policy from issue into repo. (#237)

* Moved security policy from issue into repo. (GitHub recommended)
* Changed 20,000 DFI to 50,000 USD worth of DFI

Branding consistency for README.md (#243)

DeFi Blockchain to DeFiChain

License update (#245)

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

Setup CODEOWNERS (#242)

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

OSS Governance Bot setup for PR & Issue (#241)

Labels syncing automation (#240)

Automated release drafting (#239)

Setup issue template for governance agility (#238)

Remove storing pre-fork anchor reward (#235)

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

Add ability to interrupt long-standing revert to previous checkpoint  (#233)

* Respect shutdown request at block disconnect to previous checkpoint

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Add new checkpoints

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

Reject protocol versions less than 70016 (#236)

* Reject protocol versions less than 70016

* Increment version in tests

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

Improve anchor API help message (#246)

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

 Refactor mn_rpc file and split into different categories based on RPC types (#234)

* Initial rpc refactor to categories files

* Clean up

* Added include guard and ran clang-format

* Adding new lines to file end

* Fix lint error

* Adding missing masternodes/mn_rpc.h to Makefile.am

* Register rpc commands in its own files

* Add new rpc files to check-rpc-mappings.py

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

All anchors and validation moved to pending (#249)

Reject paid confirmations. Only vote if not in IBD. (#253)

Restore handling of equal work in block when invalidating blocks (#229)

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

Update setup-masternodes.md (#247)

SPV: hard code required spv solution to related network. (#248)

Co-authored-by: Ahmed Hilali <monstrobishi@gmail.com>

Wipe confs and revote after new team. New getactivemasternodes call. (#254)

Flush when it's needed in reindex chainstate (#255)

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Wait wallet unlock to stake (#256)

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

fix merge issues

Signed-off-by: DeFiDev <defidev@cakedefi.com>

replaced getpricefeeds with getoracledata, refactor tests

Signed-off-by: DeFiDev <defidev@cakedefi.com>

Fix oracle rpc api bugs (#276)

* Fix oracle rpc api bugs

* fix remaining issues

Signed-off-by: DeFiDev <defidev@cakedefi.com>

Co-authored-by: DeFiDev <defidev@cakedefi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants