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

ADD verushash2.2 #1863

Open
wants to merge 857 commits into
base: master
Choose a base branch
from
Open

ADD verushash2.2 #1863

wants to merge 857 commits into from

Conversation

Miner113
Copy link

The ac_algo parameter changes the chain's mining algorithm from the default equihash to the verushash.

To enable this feature, set -ac_algo=verushash.

This activates verushash1.0. More recent versions of verushash are not yet supported.

The verushash feature serves as a proof of concept for adding support for additional mining algorithms.

The Komodo team is currently testing methods to support compatibility for ac_staked, but this feature is not yet recommended for external testing.

I have a question for the project team how soon will verushash2.2 support be implemented?

DeckerSU and others added 30 commits March 15, 2023 01:52
While limitations on the influence of attackers on addrman already
exist (affected buckets are restricted to a subset based on incoming
IP / network group), there is no reason to permit them to let them
feed us addresses at more than a multiple of the normal network
rate.

This commit introduces a "token bucket" rate limiter for the
processing of addresses in incoming ADDR and ADDRV2 messages.
Every connection gets an associated token bucket. Processing an
address in an ADDR or ADDRV2 message from non-whitelisted peers
consumes a token from the bucket. If the bucket is empty, the
address is ignored (it is not forwarded or processed). The token
counter increases at a rate of 0.1 tokens per second, and will
accrue up to a maximum of 1000 tokens (the maximum we accept in a
single ADDR or ADDRV2). When a GETADDR is sent to a peer, it
immediately gets 1000 additional tokens, as we actively desire many
addresses from such peers (this may temporarily cause the token
count to exceed 1000).

The rate limit of 0.1 addr/s was chosen based on observation of
honest nodes on the network. Activity in general from most nodes
is either 0, or up to a maximum around 0.025 addr/s for recent
Bitcoin Core nodes. A few (self-identified, through subver) crawler
nodes occasionally exceed 0.1 addr/s.

Backport of:

- zcash@7c739e2
- bitcoin/bitcoin@0d64b8f
rust: speed up build by disabling rust docs
https://github.com/KomodoPlatform/kips/blob/main/kip-0001.mediawiki

TODO: don't forget to change 7113400 to nS7HardforkHeight, after
date of S7 HF will be determined.
error handling improvements + get rid of consistency checks
remove debug sleep on darwin platform
reduce AUR 5% -> 0.01% after nS7HardforkHeight
DeckerSU and others added 30 commits May 23, 2024 19:07
In the real KMD chain (not in the first blocks),
block.nBits will always be greater than KOMODO_MINDIFF_NBITS.
Therefore, the control will never enter this conditional statement.

Also "fee stealing" is impossible, since we have notary
proof tx (last tx in notary mined block).
For some reason, we were not allowed to have additional
vouts in the coinbase transaction if their total was
greater than 0.1 KMD. Therefore, a coinbase transaction
with 2.8 KMD in vout[0] and 0.2 KMD in vout[1] was forbidden.

Since this release, we are allowing such transactions.
We are not using height activation here to keep the code simple;
instead, we have just removed the restriction itself.
allow -ac_private for the ZOMBIE test chain
error: integer value -1 is outside the valid range of values [0, 3] for this enumeration type

- https://trac.macports.org/ticket/69103
- boostorg/numeric_conversion@50a1eae
Allow on demand publishing to dockerhub
build: use native clang as darwin compiler
fix datacarrier related command-line args
Add Season 8 pubkeys and update hardfork constants
The KIP0003 consensus rule was added in the `dev` branch
as "logging only", i.e. as disabled. However, in the
`patch-s8-prepare-hf-test` branch, which we used for
testing on hfnet, it's already enabled
(as seen in [this commit](783fc1f)).
For the release, we should enable this rule and make the
logging optional using the hfnet category.
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.

9 participants