4850 Commits

Author SHA1 Message Date
Ori Newman
2d25c3d7a3 Fix estimateFee change value 2024-09-18 13:45:32 +03:00
Ori Newman
af93d5fdfe Add failed broadcast transactions on send error` send-patch-v1 2024-09-18 08:15:08 +03:00
Ori Newman
89c932dec1 Add checkTransactionFeeRate 2024-09-18 08:04:10 +03:00
Ori Newman
d233164852 Change to rc6 v0.12.18-rc6 2024-09-16 13:38:58 +03:00
Ori Newman
484c17ebb1 Add validations to CLI flags 2024-09-16 13:35:45 +03:00
Ori Newman
8e8f7c9b32 Fix calculateFeeLimits nil handling v0.12.18-rc5 2024-09-16 09:42:19 +03:00
Michael Sutton
2b1d3a1a04 put min feerate check in the correct location 2024-09-16 00:51:29 +03:00
Michael Sutton
0bc526781a fix description: maximum -> minimum 2024-09-16 00:50:58 +03:00
Ori Newman
9e659b2a4d Some fixes 2024-09-15 17:55:24 +03:00
Michael Sutton
bb8af5d5ad fmt 2024-09-15 12:33:54 +03:00
Michael Sutton
d7a7902368 increase minChangeTarget to 10kas 2024-09-15 12:30:48 +03:00
Michael Sutton
c0415eaaec apply max fee constrains 2024-09-15 12:15:22 +03:00
Michael Sutton
0beb9edf12 Rename to FeePolicy and add MaxFee option + todo 2024-09-15 11:37:43 +03:00
Michael Sutton
80d2fdc2c1 Merge branch 'add-wallet-fee-estimation' of https://github.com/someone235/kaspad into add-wallet-fee-estimation 2024-09-15 11:17:45 +03:00
Michael Sutton
46ed09457f align proto files to only use camel case (fixed on RK as well) 2024-09-15 11:17:36 +03:00
Ori Newman
0fcdae6084 rc3 v0.12.18-rc3 2024-09-13 13:50:05 +03:00
Ori Newman
8153ec79d0 BroadcastRBF -> BroadcastReplacement 2024-09-13 13:49:13 +03:00
Ori Newman
0c51953dc1 update version v0.12.18-rc1 2024-09-13 13:28:05 +03:00
Michael Sutton
4bb06f5242 Fix test 2024-09-13 13:17:46 +03:00
Michael Sutton
21b515b454 Minor typos 2024-09-13 12:58:53 +03:00
Ori Newman
fedbb3bd0f Some fixes 2024-09-12 14:19:13 +03:00
Ori Newman
30fcd217ed Use CalculateTransactionOverallMass where needed 2024-09-11 16:40:23 +03:00
Michael Sutton
fda5557f59 impl storage mass as per KIP9 2024-09-11 15:46:35 +03:00
Ori Newman
238597104f Fix bump_fee UTXO lookup and fix wrong change address 2024-09-11 14:31:28 +03:00
Ori Newman
6901e7d538 Add RBF support to wallet 2024-09-05 13:50:21 +03:00
Ori Newman
93726ef48c Get rid of golint 2024-09-05 10:16:35 +03:00
Ori Newman
fc7c5a2a7e Update go version 2024-09-04 15:56:46 +03:00
Ori Newman
70bcc31051 Add fee rate to kaspawallet parse 2024-09-04 15:15:36 +03:00
Ori Newman
78ca616b1f Add fee estimation to wallet 2024-09-04 14:54:03 +03:00
Ori Newman
48a142e12f
Add deprecated message (#2282)
* Add deprecated message

* fix readme
2024-08-15 08:15:30 +03:00
Michael Sutton
86b89065cf
KIP9 basic wallet compatibility (#2276)
* introduce min change target

* clarify wallet help messages for from-address and send-all
v0.12.17
2024-05-09 18:53:21 +03:00
Michael Sutton
f41dc7fa0b
Bump version to 0.12.17 (#2268)
* Bump version to 0.12.17

* changelog
v0.12.17-rc1
2024-02-19 11:58:40 +02:00
Michael Sutton
6b38bf7069
RPC SubmitTransaction: Dequeue old responses from previous requests (#2262) v0.12.16-rc7 2024-01-05 14:58:19 +02:00
Ori Newman
d2453f8e7b
Lazy wallet utxo sync after broadcasting a tx (#2258)
* 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>
2023-12-27 18:10:16 +02:00
Ori Newman
629faa8436
Add options to see wallet and wallet daemon versions (#2257) v0.12.16-rc2 2023-12-26 16:00:44 +02:00
Michael Sutton
91e6c6b74b
version bump + changelog (#2255) v0.12.16-rc1 2023-12-25 10:22:29 +02:00
Michael Sutton
0819244ba1
if the tx has change and thus so 2 outputs, try having at least 2 inputs as well (in order to not be slowed down by dust patch) (#2254) 2023-12-25 09:19:04 +02:00
Ori Newman
a0149cd8d0
Broadcast wallet transactions in chunks (#2253) 2023-12-13 16:15:25 +02:00
Ori Newman
5a3b8a0066
Fix type detection in RemoveInvalidTransactions (#2252) v0.12.15-rc3 v0.12.15 v0.12.16-rc5 2023-12-12 17:13:27 +02:00
Michael Sutton
8e71f79f98
use rpc to identify testnet 11 (#2211)
Co-authored-by: Ori Newman <orinewman1@gmail.com>
2023-12-12 12:16:35 +02:00
Ori Newman
346341a709
Fix extract atomic swap data pushes (#2203)
* Remove unnecessary drop from ExtractAtomicSwapDataPushes

* fixed atomicswap 

fixed ExtractAtomicSwapDataPushes to extract the correct RefundBlake2b

* Fix message converters

* Fix locktime data size in ExtractAtomicSwapDataPushes

---------

Co-authored-by: pieroforfora <124444595+pieroforfora@users.noreply.github.com>
2023-12-11 16:24:16 +02:00
supertypo
8c881aea39
Added a mainnet dnsseeder (#2247)
Co-authored-by: supertypo <suprtypo@pm.me>
2023-12-07 21:14:25 +02:00
Ori Newman
40ec440dcf
Fix windows asset building by increasing go version (#2245) 2023-12-07 14:10:26 +02:00
Ori Newman
88bdcb43bc
Anti-spam measurements against dust attack (#2223) (#2244)
* BlockCandidateTransactions patch

* Fix condition

* Fix fee

* Fix bug

* Reject from mempool

* Fix hasCoinbaseInput

* Fix position

* Bump version to v0.12.14
v0.12.15-rc1
2023-12-06 14:38:04 +02:00
Ori Newman
9d1e44673f
Use removeRedeemers correctly (#2235)
* Use removeRedeemers correctly

* Fix topological iteration

* Some fixes

* Ignore RejectDuplicate and swallow other rule errors

* Fix typo

* Don't remove redeemers and skip mempool full revalidation
2023-12-06 14:29:29 +02:00
coderofstuff
387fade044
Fix off by small amounts in sent amount kaspa (#2220)
* 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
2023-09-23 11:28:38 +03:00
Ori Newman
c417c8b525
Update ECDSA address test to use a valid public key (#2202) 2023-04-09 14:40:01 +03:00
Ori Newman
bd1420220a
Bump version to v0.12.13 (#2196) v0.12.13 2023-03-06 17:12:35 +02:00
dependabot[bot]
5640ec4020
Bump golang.org/x/net from 0.0.0-20210405180319-a5a99cb37ef4 to 0.7.0 (#2194)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20210405180319-a5a99cb37ef4 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ori Newman <orinewman1@gmail.com>
2023-03-06 14:56:21 +02:00
dependabot[bot]
1c0887ca60
Bump golang.org/x/crypto from 0.0.0-20210513164829-c07d793c2f9a to 0.1.0 (#2195)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20210513164829-c07d793c2f9a to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 12:54:24 +02:00