You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`EncryptSingle`, `DecryptSingle`, `EncryptShared` and `DecryptShared` convenience functions that deal with strings, uses Electrum ECIES and typical defaults
- Tests for different ECIES encryption implementations
209
+
210
+
### Removed
211
+
- Previous ecies implementation
212
+
- Outdated ecies example
213
+
- encryption.go for vanilla AES encryption (to align with typescript library)
214
+
215
+
### Changed
216
+
- Renamed `message` example to `encrypt_message` for clarity
217
+
- Change vanilla `aes` example to use existing encrypt/decrypt functions from `aesgcm` directory
218
+
219
+
## [1.1.3] - 2024-09-04
220
+
221
+
- Add shamir key splitting
222
+
- Added PublicKey.ToHash() - sha256 hash, then ripemd160 of the public key (matching ts implementation)`
223
+
- Added new KeyShares and polynomial primitives, and polynomial operations to support key splitting
224
+
- Tests for all new keyshare, private key, and polynomial operations
225
+
- added recommended vscode plugin and extension settings for this repo in .vscode directory
226
+
- handle base58 decode errors
227
+
- additional tests for script/address.go
228
+
229
+
### Added
230
+
-`PrivateKey.ToKeyShares`
231
+
-`PrivateKey.ToPolynomial`
232
+
-`PrivateKey.ToBackupShares`
233
+
-`PrivateKeyFromKeyShares`
234
+
-`PrivateKeyFromBackupShares`
235
+
-`PublicKey.ToHash()`
236
+
- New tests for the new `PrivateKey` methods
237
+
- new primitive `keyshares`
238
+
-`NewKeyShares` returns a new `KeyShares` struct
239
+
-`NewKeySharesFromBackupFormat`
240
+
-`KeyShares.ToBackupFormat`
241
+
-`polonomial.go` and tests for core functionality used by `KeyShares` and `PrivateKey`
242
+
-`util.Umod` in `util` package `big.go`
243
+
-`util.NewRandomBigInt` in `util` package `big.go`
244
+
245
+
### Changed
246
+
-`base58.Decode` now returns an error in the case of invalid characters
247
+
248
+
## [1.1.2] - 2024-09-02
249
+
- Fix OP_BIN2NUM to copy bytes and prevent stack corruption & add corresponding test
250
+
251
+
### Changed
252
+
-`opcodeBin2num` now copies value before minimally encoding
253
+
254
+
## [1.1.1] - 2024-08-28
255
+
- Fix OP_RETURN data & add corresponding test
256
+
- update release instructions
257
+
258
+
### Added
259
+
- add additional test transaction
260
+
- add additional script tests, fix test code
261
+
262
+
### Changed
263
+
-`opcodeReturn` now includes any `parsedOp.Data` present after `OP_RETURN`
264
+
- Changed RELEASE.md instructions
265
+
266
+
## [1.1.0] - 2024-08-19
267
+
- porting in all optimizations by Teranode team to their active go-bt fork
268
+
- introducing chainhash to remove type coercion on tx hashes through the project
269
+
- remove ByteStringLE (replaced by chainhash)
270
+
- update opRshift and opLshift modeled after C code in node software and tested against failing vectors
271
+
- add tests and vectors for txs using opRshift that were previously failing to verify
272
+
- update examples
273
+
- lint - change international spellings to match codebase standards, use require instead of assert, etc
274
+
- add additional test vectors from known failing transactions
275
+
276
+
### Added
277
+
-`MerkePath.ComputeRootHex`
278
+
-`MerklePath.VerifyHex`
279
+
280
+
### Changed
281
+
-`SourceTXID` on `TransactionInput` is now a `ChainHash` instead of `[]byte`
282
+
-`IsValidRootForHeight` on `ChainTracker` now takes a `ChainHash` instead of `[]byte`
283
+
-`MerklePath.ComputeRoot` now takes a `ChainHash` instead of a hex `string`.
284
+
-`MerklePath.Verify` now takes a `ChainHash` instead of hex `string`.
285
+
-`Transaction.TxID` now returns a `ChainHash` instead of a hex `string`
286
+
-`Transaction.PreviousOutHash` was renamed to `SourceOutHash`, and returns a `ChainHash` instead of `[]byte`
287
+
- The `TxID` field of the `UTXO` struct in the `transaction` package is now a `ChainHash` instead of `[]byte`
288
+
- Renamed `TransactionInput.SetPrevTxFromOutput` to `SetSourceTxFromOutput`
289
+
290
+
### Removed
291
+
-`TransactionInput.PreviousTxIDStr`
292
+
-`Transaction.TxIDBytes`
293
+
-`UTXO.TxIDStr` in favor of `UTXO.TxID.String()`
294
+
295
+
### Fixed
296
+
-`opcodeRShift` and `opcodeLShift` was fixed to match node logic and properly execute scripts using `OP_RSHIFT` and `OP_LSHIFT`.
297
+
298
+
---
299
+
300
+
## [1.0.0] - 2024-06-06
301
+
302
+
### Added
303
+
- Initial release
304
+
305
+
---
306
+
307
+
### Template for New Releases:
308
+
309
+
Replace `X.X.X` with the new version number and `YYYY-MM-DD` with the release date:
310
+
311
+
```
312
+
## [X.X.X] - YYYY-MM-DD
313
+
314
+
### Added
315
+
-
316
+
317
+
### Changed
318
+
-
319
+
320
+
### Deprecated
321
+
-
322
+
323
+
### Removed
324
+
-
325
+
326
+
### Fixed
327
+
-
328
+
329
+
### Security
330
+
-
331
+
```
332
+
333
+
Use this template as the starting point for each new version. Always update the "Unreleased" section with changes as they're implemented, and then move them under the new version header when that version is released.# CHANGELOG
334
+
335
+
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
0 commit comments