* Fix block verbosedata population from skipping transaction verbosedata population when BlockInfo errorenously reports block as Header only, but domainBlock is still fount with GetBlockEvenIfHeaderOnly.
* Update app/rpc/rpccontext/verbosedata.go
---------
Co-authored-by: Toni Lukkaroinen <toni.lukkaroinen@hoosat.fi>
Co-authored-by: Michael Sutton <mikisiton2@gmail.com>
Co-authored-by: Ori Newman <orinewman1@gmail.com>
* Adding support for mass.
* update grpc v1.69.2
* Upgrade protos using latest protoc
* Use MassCommitment instead of Mass
* Fix DomainTransaction clone, equal and tests
---------
Co-authored-by: veronica <jimjouny@gmail.com>
Co-authored-by: Ori Newman <orinewman1@gmail.com>
* Add fee estimation to wallet
* Add fee rate to kaspawallet parse
* Update go version
* Get rid of golint
* Add RBF support to wallet
* Fix bump_fee UTXO lookup and fix wrong change address
* impl storage mass as per KIP9
* Use CalculateTransactionOverallMass where needed
* Some fixes
* Minor typos
* Fix test
* update version
* BroadcastRBF -> BroadcastReplacement
* rc3
* align proto files to only use camel case (fixed on RK as well)
* Rename to FeePolicy and add MaxFee option + todo
* apply max fee constrains
* increase minChangeTarget to 10kas
* fmt
* Some fixes
* fix description: maximum -> minimum
* put min feerate check in the correct location
* Fix calculateFeeLimits nil handling
* Add validations to CLI flags
* Change to rc6
* Add checkTransactionFeeRate
* Add failed broadcast transactions on send error`
* Fix estimateFee change value
* Estimate fee correctly for --send-all
* On estimateFee always assume that the recipient has ECDSA address
* remove patch version
---------
Co-authored-by: Michael Sutton <msutton@cs.huji.ac.il>
* Lazy wallet utxo sync after broadcasting a tx
* Make a more granular lock for refreshUTXOs
* Don't push to forceSyncChan if it has an element
* Better policy for used outpoints and wait for first sync when creating an unsigned tx
* fix expire condition
* lock address reading
* fix small memory leak
* add an rpc client dedicated for background ops
* rename to follow conventions
* one more rename
* Compare wallet addresses by value
* small fixes
* Add comment
---------
Co-authored-by: Michael Sutton <msutton@cs.huji.ac.il>
* Fix off by small amounts in sent amount kaspa
Floating point math causes inconsistencies when converting kas to sompi.
Use a method that parses the amount as a string, the converts it to
sompi then parse back to uint64
* Deal with SendAmount as strings all the way
* Consistent config handling
* Set variables directly from utils.KasToSompi
Use = instead of := to ensure no shadowing
* Fix validate amount regex
* Use decimal places as defined by constants
Also check if SompiPerKaspa is multiple of 10
* Minor updates for context clarity
* Create CODE_OF_CONDUCT.md
Code of conduct added
* changed discord to google form
* Update CODE_OF_CONDUCT.md
Updated code of conduct to match community project.
* Update CODE_OF_CONDUCT.md
Updated code of conduct to match community project.
Added google form.
---------
Co-authored-by: Ori Newman <orinewman1@gmail.com>
* Fix IBD sync conditions
* Fix syntax
* Fix Sprintf
* Bump version
* On negotiation check only blocks in future of PP
* Only log error and add comment
* Fix comment
* Compare blue score with selected tip when checking if a pruning point proof is needed
* Don't redeclare err
Co-authored-by: Michael Sutton <mikisiton2@gmail.com>
* Use one of the From addresses as a change address
* Use change address from fromAddress only if useExisting is set to true
* Change FromAddresses description