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
Ori Newman
7be3f41aa7
Avoid sending transactions with no funds ( #2193 )
v0.12.12
2023-03-06 12:20:42 +02:00
Ori Newman
26c4c73624
Update changelog.txt and version.go ( #2192 )
v0.12.12rc1
2023-02-28 18:14:01 +02:00
D-Stacks
880d917e58
Rename last references to blockheight - closes #1036 ( #2089 )
...
* Rename references of blockheight - closes #1036
* Update tx_invalid.json
* bluescore -> DAAScore
---------
Co-authored-by: Ori Newman <orinewman1@gmail.com>
2023-02-27 17:14:41 +02:00
Eyal Yablonka
3c53c6d8cd
Eyal ( #2183 )
...
* 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>
2023-02-27 16:10:27 +02:00
Ori Newman
3c4b973090
Extend TestGetPreciseSigOps with more tests ( #2188 )
2023-02-27 15:58:10 +02:00
Ori Newman
8aee8f81c5
Add Dockerfile to kaspawallet ( #2187 )
2023-02-27 13:11:52 +02:00
Svarog
ec3441e63f
Add --send-all
to kaspawallet send
command ( #2181 )
...
* Allow to send --all
* Fix a typo
---------
Co-authored-by: Ori Newman <orinewman1@gmail.com>
2023-02-27 12:39:01 +02:00
dependabot[bot]
e3ba1ca07e
Bump golang.org/x/text from 0.3.5 to 0.3.8 ( #2190 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.5 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.5...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
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-02-27 12:26:52 +02:00
Ori Newman
27fdbd9c88
Upgrade to go 1.19 ( #2191 )
...
* Upgrade to go 1.19
* fmt
2023-02-27 10:03:11 +02:00
Michael Sutton
377d9aaaeb
Update changelog.txt for v0.12.11 ( #2176 )
v0.12.11
2022-12-01 12:33:48 +02:00
Ori Newman
beee947dda
Fix IBD sync conditions ( #2174 )
...
* 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
2022-11-29 17:18:07 +02:00
Ori Newman
d4a27bf1c1
Update changelog.txt for v0.12.10 ( #2172 )
v0.12.10
2022-11-23 12:26:47 +02:00
Ori Newman
eec6eb9669
Check rule errors when validating blocks with trusted data ( #2171 )
v0.12.10-rc2
2022-11-21 23:06:00 +02:00
Ori Newman
d5c10832c2
Update README.md ( #2163 )
v0.12.10-rc1
2022-11-20 14:50:47 +02:00
Ori Newman
9fbfba17b6
Compare blue score with selected tip when checking if a pruning point… ( #2169 )
...
* 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>
2022-11-20 13:35:00 +02:00
Ori Newman
09d698dd0e
Add note about change addresses to 'show-addresses' ( #2170 )
...
* Add note about change addresses to 'show-addresses'
* Use stdout
2022-11-20 12:12:09 +02:00
Ori Newman
ec51c6926a
Use one of the From addresses as a change address ( #2164 )
...
* 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
2022-11-17 15:31:18 +02:00
Ori Newman
7d44275eb1
Add found to GetBlock ( #2165 )
2022-11-16 23:48:05 +02:00
Ori Newman
a3387a56b3
Increase devnet's initial difficulty ( #2167 )
2022-11-13 14:01:29 +02:00
Ori Newman
c2ae03fc89
Fix nativeTx to be actually native ( #2166 )
2022-11-13 13:15:18 +02:00
Ori Newman
6c774c966b
Changelog for v0.12.9 ( #2161 )
v0.12.9
2022-10-24 00:50:38 +03:00
Ori Newman
2d54c9693b
Create directory before locking lock file ( #2160 )
2022-10-24 00:41:59 +03:00
Ori Newman
d8350d62b0
v0.12.8 changelog.txt ( #2159 )
v0.12.8
2022-10-23 16:29:26 +03:00
Ori Newman
26c7db251f
Make more checks if status is invalid even if the block exists ( #2158 )
...
* Make more checks if status is invalid even if the block exists
* Use HasHeader
v0.12.8-rc2
2022-10-13 19:22:00 +03:00
Michael Sutton
4d435f2b3a
Use utxo diff algo for pruning point move and use acceptance data method only as a fall-back ( #2157 )
...
Co-authored-by: Ori Newman <orinewman1@gmail.com>
v0.12.8-rc1
2022-10-12 12:37:13 +03:00
Tiram
067688f549
Add a new testnet dnsseeder ( #2156 )
...
* Add a new testnet dnsseeder
* Apply code format
Co-authored-by: Ori Newman <orinewman1@gmail.com>
2022-10-05 09:23:35 +03:00
Ori Newman
3a3fa0d3f0
Add lock file to kaspawallet ( #2154 )
...
* Add lock file to kaspawallet
* Add a possible explanation to password error
Co-authored-by: msutton <mikisiton2@gmail.com>
2022-10-02 23:42:14 +03:00
Ori Newman
cf4073b773
Remove HF activation code ( #2152 )
...
* Remove HF activation code
* Remove unused var totalInputs
2022-10-02 19:17:33 +03:00
Michael Sutton
6a5e7c9e3f
Add IBD error details to the log ( #2150 )
2022-09-30 13:23:54 +03:00
Ori Newman
7e9b5b9010
Security Patch + HF ( #2142 )
...
* HF
* Fix lint
v0.12.7
2022-09-21 18:58:32 +03:00
D-Stacks
953838e0d8
Allow mismatched versioning connections with rpc_client, with a warning. ( #2137 )
2022-09-14 09:53:30 +03:00
Ori Newman
a1dcb34c29
Update changelog for v0.12.6 ( #2136 )
v0.12.6
2022-09-09 15:57:43 +03:00
Ori Newman
23764e1b0b
Optionally show serialized transactions on send ( #2135 )
...
* Optionally show serialized transactions on send
* Explain more about serialized transactions
* Increase grpc server send message size
2022-09-09 15:51:20 +03:00
Ori Newman
0838cc8e32
Update virtual on IBD if nearly synced ( #2134 )
...
* Update virtual on IBD if nearly synced
* Don't resolve virtual if updateVirtual
2022-09-09 00:52:08 +03:00
Ori Newman
9f51330f38
Remove tests from docker files ( #2133 )
...
* Remove tests from docker files
* Remove unused interface method
2022-09-01 14:14:37 +03:00
Ori Newman
f6d46fd23f
Update changelog.txt for v0.12.5 ( #2130 )
...
* Update changelog.txt for v0.12.5
* Update version and add #2131 to changelog.txt
v0.12.5
2022-08-28 13:53:33 +03:00
Svarog
2a7e03e232
Kaspawallet.send(): Make separate context for Broadcast, to prolong timeout ( #2131 )
...
* Kaspawallet.send(): Make separate context for Broadcast, to prolong timeout
* Amend comment
Co-authored-by: Michael Sutton <mikisiton2@gmail.com>
2022-08-28 13:17:58 +03:00