Skip to content

Tags: kaspanet/rusty-kaspa

Tags

v0.17.0

Toggle v0.17.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Crescendo hardfork transitioning (#633)

* deactivate tn11

* wip fork params

* wip fork params (2)

* we are not forking the timestamp deviation tolerance param

* min difficulty len can be defined only once

* forked param

* use only a single (crescendo) activation flag. fix tx related activation tests to calc storage mass correctly

* rename _len -> _size for consistency

* wip bps forking

* wip bps forking: filter non activated blocks from DAA window

* bps forking logic

* fix gated feature tests

* media time window should exclude non activated blocks as well

* unused

* ghostdag k forking logic

* coinbase reward forking logic

* parents and mergeset size limits forking logic

* merge depth and finality depth forking logic

* pruning point forking logic

* fix doc test

* various todos and leftovers

* mempool-related forking logic, more todos

* KIP-13 (part of crescendo) (#639)

* kip13

* inline tracking per mass unit

* various small fixes

* docs

* ghostdag: comments; extract var and reuse; handle origin edge case

* permanent -> persistent

* use bool -> option -> iter and remove code duplication

* coinbase misc

* header misc

* comments

* log the hardfork (initial)

* fix block depth origin case

* initial ascii art + human readable difficulty print

* countdown log

* utxo-related forking activation should be based on block daa score and not pov daa score

* todo

* handle edge cases related to trusted blocks being checked for activation

* Generalized KIP9--storage mass plurality (Crescendo) (#641)

* implement storage mass plurality

* move plurality calculation to mass module and add a useful trait for accessing it

* utxo cell

* consume outputs iterator only once, fix theoretic overflow

* add sanity check for plurality limits, align comments

* optimize input iterator consumption

* extended comment rewrite

* fix doc build

* inline the relaxed formula conditions

* test_storage_mass_pluralities

* Change expected pruning point to chain qualification check (Crescendo) (#642)

* change expected pruning point check from header validity to chain qualification

* adjust `pruning points valid chain` verification to the new rule change

* tx limits forking logic

* coinbase maturity forking logic

* finalize tx-related limit values

* delete todo

* post fork activation: log window sizes with frequency 100

* KIP-15 (#636)

* feat(consensus): implement kip-15

1. Accepted-ID-MR = Hash ( SP.Accepted-ID-MR, MR of Accepted-TXs )

* fix(consensus): after rebase ...

* fix: after review

* log activation of UTXO state processing rules

* comment

* Smooth transition of pruning points/samples (Crescendo)   (#643)

* add a simpa activation test

* print

* wip (working w/o fork)

* wip

* working prototype (up to storage)

* inline

* print stats

* comments and asserts

* pruning samples database storage (todo: database upgrade; syncee import)

* fix tests

* syncee import

* database upgrade procedure

* minor

* logs

* database upgrade: populate past pruning points

* save to store during pruning points valid chain check

* next pruning points sanity checks

* reposition log call, add comments

* use headers store; more comments

* address most review comments

* adjust todo within daa_score timestamp estimate

* adjust todo for tx log aggregation

* next pruning points: keep the candidate valid also post v2 call

* add a test explicitly verifying the emission schedule (long; ignored)

* Add n-testnet-10.kaspa.ws DNS seeder (#644)

Co-authored-by: supertypo <[email protected]>

* add assert

* use ghostdag data from ctx

* unrelated to crescendo: minor fix to `are_pruning_points_in_valid_chain` for the case where the syncer is sending a deep pruning point (e.g., a future archive)

* fix text of comments

* specialized info logs [CRND ]

* use a const for keyword

* set TN10 activation date and bump version to 0.17.0

* fix and extend subsidy tests

---------

Co-authored-by: Ro Ma <[email protected]>
Co-authored-by: supertypo <[email protected]>
Co-authored-by: supertypo <[email protected]>

v0.16.1

Toggle v0.16.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Proper tracking of the accumulative circulating supply store value (#629

)

* apply delta to store value also if negative

* maintain a runtime value holding a monotonic supply value

* remove irrelevant todos

* do not cancel additions and removals, since DAA score can change

* bump version

v0.16.0

Toggle v0.16.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 0.16.0 (#623)

v0.15.4-rc1

Toggle v0.15.4-rc1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Create TN11 KIP10 HF activation and KIP9 beta switch (#595)

* Create TN11 KIP10 HF activation and KIP9 beta switch

* kip9 alpha to beta hf: final fixes for adjusting bbt txs if needed

* Update target TN11 HF date

* Also activate payload on same TN11 HF date

* Param adjustments and HF delay

* Version bump to 0.15.4

* Doc cleanup

* Write new disqualified status and increase counter only if needed (previous code rewrites and counts repeatedly if this chain forward path is revisited)

* Revert "kip9 alpha to beta hf: final fixes for adjusting bbt txs if needed"

This reverts commit dcc0c15.

* Remove KIP9 Alpha version references

* storage mass tests can all be preserved

---------

Co-authored-by: Michael Sutton <[email protected]>

v0.15.4-tn11-only

Toggle v0.15.4-tn11-only's commit message
Doc cleanup

v0.15.2

Toggle v0.15.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Deploy linux binary without musl in its name + various minor miscella…

…neous things towards v0.15.2 (#564)

* remove musl from linux binary name

* remove simpa from win and osx builds in order to be consistent with linux build

* safe eqv optimization: use inplace truncate (tested)

v0.15.2-rc1

Toggle v0.15.2-rc1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
`virtual chain from block` batching. (#454)

* expose vspc_from_block batching possibilities to rpc.

* fmt

* limit by merged blocks, set source as def. start.

* small clean-up

* fmt

* actually bound by num of merged blocks, in include transactions case.

* fmt

* update.

* update_2

* new_high = high

* remove high hash in consensus api.. as it is not required.

* fmt

* make proto comment more accurate.

* fix tests, and lints, add to ser / der correctly.

* change two freq warns to debug

* remove option, default to pp. not source.

* fix integration test, some Option<Hash> left.

* bump version: ´0.15.1 => 0.15.2`

* remove "optional" startHash

* add to cli rpc.rs

* remove comment.

* edit comment in .proto referencing def. startHash behavior.

* only batch added chain blocks, not removed, add check if source is a chain ancestor of high.

* remove dangling code in comment

* remove error from some prev. commit.

* Optionalize limts.

---------

Co-authored-by: Michael Sutton <[email protected]>

v0.15.1

Toggle v0.15.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump to version 0.15.1 (#555)

* bump version to 0.15.1

* update readme with new branch strategy

v0.15.1-rc4

Toggle v0.15.1-rc4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Simple wRPC client example (#550)

* simple client example created

* fine-tuning on simple wRPC client example (with comments)

* code fixed after Aspect's suggestions

* empty lines cleanup

v0.15.1-rc3

Toggle v0.15.1-rc3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Change directory back to repo root & Fix Rust v1.81 lints (#545)

* Change directory back to repodir

Change directory back to repodir after building toolchain

* Clippy

* Update crypto/txscript/src/caches.rs

Co-authored-by: Maxim <[email protected]>

* Update crypto/txscript/src/caches.rs

* rename `is_none_or` -> `is_none_or_ex` to avoid conflict with future std

* remove `use std::mem::size_of` wherever possible (added to std prelude recently)

---------

Co-authored-by: Maxim <[email protected]>
Co-authored-by: Michael Sutton <[email protected]>