Releases: qubic/go-qubic
Releases · qubic/go-qubic
v2.0.0
Breaking changes
This is a major release. Update your import path to github.com/qubic/go-qubic/v2.
Wire-format change: 4096 transactions per tick
MaxNumberOfTransactionsPerTickraised from 1024 → 4096. All fixed-size buffers sized by this constant grow accordingly (TickData.TransactionDigests,TransactionStatus.MoneyFlew,TickTransactionEventIDs.FromEventID/Length, request-sideTransactionFlags).- Two stray hardcoded
[1024]array sizings now use the named constant. TickData.ContractFeesstays at 1024 and is now sized by the newMaxNumberOfContractsconstant (it indexes by contract ID, not transaction slot).
Module path
- Module path is now
github.com/qubic/go-qubic/v2. All consumers must update their imports. - Proto
go_packageupdated togithub.com/qubic/go-qubic/v2/proto/v1;qubicpb(also fixes a prior inconsistency where the directive didn't match the actual Go import path). All.pb.go/.pb.gw.go/_grpc.pb.gofiles regenerated.
Dependency cleanup
- Replaced
github.com/pkg/errorswith the stdlib:errors.Wrap/Wrapf→fmt.Errorf("...: %w", ...),errors.Errorf→fmt.Errorf,errors.New/errors.Isresolved from stdliberrors.pkg/errorsremoved fromgo.mod.
Upgrade
go get github.com/qubic/go-qubic/v2@v2.0.0
Then rewrite imports: github.com/qubic/go-qubic/... → github.com/qubic/go-qubic/v2/....
See #17.
v0.3.5
Full Changelog: v0.3.4...v0.3.5
v0.3.4
Add ContractReseveDeduction and OracleQueryStatusChange events.
Increase number of MaxNumberOfSpecialEventsPerTick.
Full Changelog: v0.3.3...v0.3.4
v0.3.3
v0.3.2
v0.3.1
events client passcode
- The events clients now accepts a list of passcodes for a node ip/hostname as map[string][4]uint. This will be then used to inject the passcode in any request that requires a passcode by looking into which node is being used from the pool and if a password exists for that node.
v0.1.4: Bugfix/entity orders (#4)
* Fix qx entity order conversion * Update EntityOrder struct * Replace uint64 with [8]byte as the response is an 8 byte null terminated string. * Adapt converter to use byte array. * Fix test