diff --git a/changelog.txt b/changelog.txt index 16136a0e24..04c849d6c1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,7 +1,16 @@ -Karlsend v2.2.1 - 2024-09-19 +Karlsend v2.2.1 & v2.2.2 - 2024-09-19 - 2024-10-08 ============================ * Wallet-related improvements and fixes +* broadcast wallet transactions in chunks +* adapt wallet UTXO selection to dust patch +* add options to see wallet and wallet daemon versions +* lazy wallet utxo sync after broadcasting tx +* RPC SubmitTransaction: Dequeue old responses from previous requests +* KIP9 basic wallet compatibility +--- +* regenerated `karlsenwalletd.pb.go` and `karlsenwalletd_grpc.pb.go` +* Updated Go modules and dependencies Karlsend v2.2.0 - 2024-09-03 ============================ diff --git a/cmd/karlsenwallet/daemon/pb/karlsenwalletd.pb.go b/cmd/karlsenwallet/daemon/pb/karlsenwalletd.pb.go index 6263dfe799..a111be21a2 100644 --- a/cmd/karlsenwallet/daemon/pb/karlsenwalletd.pb.go +++ b/cmd/karlsenwallet/daemon/pb/karlsenwalletd.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.34.2 -// protoc v3.12.3 +// protoc v4.25.3 // source: karlsenwalletd.proto package pb @@ -1520,12 +1520,12 @@ var file_karlsenwalletd_proto_rawDesc = []byte{ 0x65, 0x74, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6b, 0x61, 0x72, 0x6c, 0x73, 0x65, 0x6e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x41, 0x5a, 0x3f, 0x67, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x44, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x61, 0x72, 0x6c, 0x73, 0x65, 0x6e, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x6b, 0x61, 0x72, 0x6c, 0x73, 0x65, - 0x6e, 0x64, 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x6b, 0x61, 0x72, 0x6c, 0x73, 0x65, 0x6e, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x62, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x64, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x6b, 0x61, 0x72, 0x6c, 0x73, 0x65, + 0x6e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, + 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/cmd/karlsenwallet/daemon/pb/karlsenwalletd.proto b/cmd/karlsenwallet/daemon/pb/karlsenwalletd.proto index 8a6e7905a4..10e4596fa5 100644 --- a/cmd/karlsenwallet/daemon/pb/karlsenwalletd.proto +++ b/cmd/karlsenwallet/daemon/pb/karlsenwalletd.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option go_package = "github.com/karlsen-network/karlsend/cmd/karlsenwallet/daemon/pb"; +option go_package = "github.com/karlsen-network/karlsend/v2/cmd/karlsenwallet/daemon/pb"; package karlsenwalletd; service karlsenwalletd { diff --git a/cmd/karlsenwallet/daemon/pb/karlsenwalletd_grpc.pb.go b/cmd/karlsenwallet/daemon/pb/karlsenwalletd_grpc.pb.go index 6f1038d489..afd3cd86b5 100644 --- a/cmd/karlsenwallet/daemon/pb/karlsenwalletd_grpc.pb.go +++ b/cmd/karlsenwallet/daemon/pb/karlsenwalletd_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.12.3 +// - protoc-gen-go-grpc v1.3.0 +// - protoc v4.25.3 // source: karlsenwalletd.proto package pb @@ -18,6 +18,19 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +const ( + Karlsenwalletd_GetBalance_FullMethodName = "/karlsenwalletd.karlsenwalletd/GetBalance" + Karlsenwalletd_GetExternalSpendableUTXOs_FullMethodName = "/karlsenwalletd.karlsenwalletd/GetExternalSpendableUTXOs" + Karlsenwalletd_CreateUnsignedTransactions_FullMethodName = "/karlsenwalletd.karlsenwalletd/CreateUnsignedTransactions" + Karlsenwalletd_ShowAddresses_FullMethodName = "/karlsenwalletd.karlsenwalletd/ShowAddresses" + Karlsenwalletd_NewAddress_FullMethodName = "/karlsenwalletd.karlsenwalletd/NewAddress" + Karlsenwalletd_Shutdown_FullMethodName = "/karlsenwalletd.karlsenwalletd/Shutdown" + Karlsenwalletd_Broadcast_FullMethodName = "/karlsenwalletd.karlsenwalletd/Broadcast" + Karlsenwalletd_Send_FullMethodName = "/karlsenwalletd.karlsenwalletd/Send" + Karlsenwalletd_Sign_FullMethodName = "/karlsenwalletd.karlsenwalletd/Sign" + Karlsenwalletd_GetVersion_FullMethodName = "/karlsenwalletd.karlsenwalletd/GetVersion" +) + // KarlsenwalletdClient is the client API for Karlsenwalletd service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -46,7 +59,7 @@ func NewKarlsenwalletdClient(cc grpc.ClientConnInterface) KarlsenwalletdClient { func (c *karlsenwalletdClient) GetBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetBalanceResponse, error) { out := new(GetBalanceResponse) - err := c.cc.Invoke(ctx, "/karlsenwalletd.karlsenwalletd/GetBalance", in, out, opts...) + err := c.cc.Invoke(ctx, Karlsenwalletd_GetBalance_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -55,7 +68,7 @@ func (c *karlsenwalletdClient) GetBalance(ctx context.Context, in *GetBalanceReq func (c *karlsenwalletdClient) GetExternalSpendableUTXOs(ctx context.Context, in *GetExternalSpendableUTXOsRequest, opts ...grpc.CallOption) (*GetExternalSpendableUTXOsResponse, error) { out := new(GetExternalSpendableUTXOsResponse) - err := c.cc.Invoke(ctx, "/karlsenwalletd.karlsenwalletd/GetExternalSpendableUTXOs", in, out, opts...) + err := c.cc.Invoke(ctx, Karlsenwalletd_GetExternalSpendableUTXOs_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -64,7 +77,7 @@ func (c *karlsenwalletdClient) GetExternalSpendableUTXOs(ctx context.Context, in func (c *karlsenwalletdClient) CreateUnsignedTransactions(ctx context.Context, in *CreateUnsignedTransactionsRequest, opts ...grpc.CallOption) (*CreateUnsignedTransactionsResponse, error) { out := new(CreateUnsignedTransactionsResponse) - err := c.cc.Invoke(ctx, "/karlsenwalletd.karlsenwalletd/CreateUnsignedTransactions", in, out, opts...) + err := c.cc.Invoke(ctx, Karlsenwalletd_CreateUnsignedTransactions_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -73,7 +86,7 @@ func (c *karlsenwalletdClient) CreateUnsignedTransactions(ctx context.Context, i func (c *karlsenwalletdClient) ShowAddresses(ctx context.Context, in *ShowAddressesRequest, opts ...grpc.CallOption) (*ShowAddressesResponse, error) { out := new(ShowAddressesResponse) - err := c.cc.Invoke(ctx, "/karlsenwalletd.karlsenwalletd/ShowAddresses", in, out, opts...) + err := c.cc.Invoke(ctx, Karlsenwalletd_ShowAddresses_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -82,7 +95,7 @@ func (c *karlsenwalletdClient) ShowAddresses(ctx context.Context, in *ShowAddres func (c *karlsenwalletdClient) NewAddress(ctx context.Context, in *NewAddressRequest, opts ...grpc.CallOption) (*NewAddressResponse, error) { out := new(NewAddressResponse) - err := c.cc.Invoke(ctx, "/karlsenwalletd.karlsenwalletd/NewAddress", in, out, opts...) + err := c.cc.Invoke(ctx, Karlsenwalletd_NewAddress_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -91,7 +104,7 @@ func (c *karlsenwalletdClient) NewAddress(ctx context.Context, in *NewAddressReq func (c *karlsenwalletdClient) Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error) { out := new(ShutdownResponse) - err := c.cc.Invoke(ctx, "/karlsenwalletd.karlsenwalletd/Shutdown", in, out, opts...) + err := c.cc.Invoke(ctx, Karlsenwalletd_Shutdown_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -100,7 +113,7 @@ func (c *karlsenwalletdClient) Shutdown(ctx context.Context, in *ShutdownRequest func (c *karlsenwalletdClient) Broadcast(ctx context.Context, in *BroadcastRequest, opts ...grpc.CallOption) (*BroadcastResponse, error) { out := new(BroadcastResponse) - err := c.cc.Invoke(ctx, "/karlsenwalletd.karlsenwalletd/Broadcast", in, out, opts...) + err := c.cc.Invoke(ctx, Karlsenwalletd_Broadcast_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -109,7 +122,7 @@ func (c *karlsenwalletdClient) Broadcast(ctx context.Context, in *BroadcastReque func (c *karlsenwalletdClient) Send(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*SendResponse, error) { out := new(SendResponse) - err := c.cc.Invoke(ctx, "/karlsenwalletd.karlsenwalletd/Send", in, out, opts...) + err := c.cc.Invoke(ctx, Karlsenwalletd_Send_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -118,7 +131,7 @@ func (c *karlsenwalletdClient) Send(ctx context.Context, in *SendRequest, opts . func (c *karlsenwalletdClient) Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error) { out := new(SignResponse) - err := c.cc.Invoke(ctx, "/karlsenwalletd.karlsenwalletd/Sign", in, out, opts...) + err := c.cc.Invoke(ctx, Karlsenwalletd_Sign_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -127,7 +140,7 @@ func (c *karlsenwalletdClient) Sign(ctx context.Context, in *SignRequest, opts . func (c *karlsenwalletdClient) GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*GetVersionResponse, error) { out := new(GetVersionResponse) - err := c.cc.Invoke(ctx, "/karlsenwalletd.karlsenwalletd/GetVersion", in, out, opts...) + err := c.cc.Invoke(ctx, Karlsenwalletd_GetVersion_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -210,7 +223,7 @@ func _Karlsenwalletd_GetBalance_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/karlsenwalletd.karlsenwalletd/GetBalance", + FullMethod: Karlsenwalletd_GetBalance_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KarlsenwalletdServer).GetBalance(ctx, req.(*GetBalanceRequest)) @@ -228,7 +241,7 @@ func _Karlsenwalletd_GetExternalSpendableUTXOs_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/karlsenwalletd.karlsenwalletd/GetExternalSpendableUTXOs", + FullMethod: Karlsenwalletd_GetExternalSpendableUTXOs_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KarlsenwalletdServer).GetExternalSpendableUTXOs(ctx, req.(*GetExternalSpendableUTXOsRequest)) @@ -246,7 +259,7 @@ func _Karlsenwalletd_CreateUnsignedTransactions_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/karlsenwalletd.karlsenwalletd/CreateUnsignedTransactions", + FullMethod: Karlsenwalletd_CreateUnsignedTransactions_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KarlsenwalletdServer).CreateUnsignedTransactions(ctx, req.(*CreateUnsignedTransactionsRequest)) @@ -264,7 +277,7 @@ func _Karlsenwalletd_ShowAddresses_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/karlsenwalletd.karlsenwalletd/ShowAddresses", + FullMethod: Karlsenwalletd_ShowAddresses_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KarlsenwalletdServer).ShowAddresses(ctx, req.(*ShowAddressesRequest)) @@ -282,7 +295,7 @@ func _Karlsenwalletd_NewAddress_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/karlsenwalletd.karlsenwalletd/NewAddress", + FullMethod: Karlsenwalletd_NewAddress_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KarlsenwalletdServer).NewAddress(ctx, req.(*NewAddressRequest)) @@ -300,7 +313,7 @@ func _Karlsenwalletd_Shutdown_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/karlsenwalletd.karlsenwalletd/Shutdown", + FullMethod: Karlsenwalletd_Shutdown_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KarlsenwalletdServer).Shutdown(ctx, req.(*ShutdownRequest)) @@ -318,7 +331,7 @@ func _Karlsenwalletd_Broadcast_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/karlsenwalletd.karlsenwalletd/Broadcast", + FullMethod: Karlsenwalletd_Broadcast_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KarlsenwalletdServer).Broadcast(ctx, req.(*BroadcastRequest)) @@ -336,7 +349,7 @@ func _Karlsenwalletd_Send_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/karlsenwalletd.karlsenwalletd/Send", + FullMethod: Karlsenwalletd_Send_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KarlsenwalletdServer).Send(ctx, req.(*SendRequest)) @@ -354,7 +367,7 @@ func _Karlsenwalletd_Sign_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/karlsenwalletd.karlsenwalletd/Sign", + FullMethod: Karlsenwalletd_Sign_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KarlsenwalletdServer).Sign(ctx, req.(*SignRequest)) @@ -372,7 +385,7 @@ func _Karlsenwalletd_GetVersion_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/karlsenwalletd.karlsenwalletd/GetVersion", + FullMethod: Karlsenwalletd_GetVersion_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KarlsenwalletdServer).GetVersion(ctx, req.(*GetVersionRequest)) diff --git a/go.mod b/go.mod index 37e7dd753f..a98615475a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/karlsen-network/karlsend/v2 -go 1.18 +go 1.21.0 + +toolchain go1.23.1 require ( github.com/btcsuite/btcutil v1.0.2 @@ -8,29 +10,28 @@ require ( github.com/btcsuite/winsvc v1.0.0 github.com/davecgh/go-spew v1.1.1 github.com/edsrzf/mmap-go v1.1.0 - github.com/gofrs/flock v0.8.1 - github.com/golang/protobuf v1.5.3 - github.com/jessevdk/go-flags v1.5.0 - github.com/jrick/logrotate v1.0.0 + github.com/gofrs/flock v0.12.1 + github.com/golang/protobuf v1.5.4 + github.com/jessevdk/go-flags v1.6.1 + github.com/jrick/logrotate v1.1.2 github.com/kaspanet/go-muhash v0.0.4 github.com/kaspanet/go-secp256k1 v0.0.7 github.com/pkg/errors v0.9.1 github.com/syndtr/goleveldb v1.0.1-0.20190923125748-758128399b1d github.com/tyler-smith/go-bip39 v1.1.0 - golang.org/x/crypto v0.26.0 - golang.org/x/exp v0.0.0-20240213143201-ec583247a57a - golang.org/x/term v0.23.0 - google.golang.org/grpc v1.61.1 - google.golang.org/protobuf v1.34.2 - lukechampine.com/blake3 v1.2.1 + golang.org/x/crypto v0.28.0 + golang.org/x/term v0.25.0 + google.golang.org/grpc v1.67.1 + google.golang.org/protobuf v1.35.1 + lukechampine.com/blake3 v1.3.0 ) require ( github.com/golang/snappy v0.0.4 // indirect - github.com/klauspost/cpuid/v2 v2.2.6 // indirect - golang.org/x/net v0.28.0 // indirect - golang.org/x/sys v0.23.0 // indirect - golang.org/x/text v0.17.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c // indirect + github.com/klauspost/cpuid/v2 v2.2.8 // indirect + golang.org/x/net v0.30.0 // indirect + golang.org/x/sys v0.26.0 // indirect + golang.org/x/text v0.19.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9 // indirect gopkg.in/yaml.v2 v2.3.0 // indirect ) diff --git a/go.sum b/go.sum index cef9634e82..6822018aea 100644 --- a/go.sum +++ b/go.sum @@ -18,31 +18,31 @@ github.com/dvyukov/go-fuzz v0.0.0-20210103155950-6a8e9d1f2415/go.mod h1:11Gm+ccJ github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ= github.com/edsrzf/mmap-go v1.1.0/go.mod h1:19H/e8pUPLicwkyNgOykDXkJ9F0MHE+Z52B8EIth78Q= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/gofrs/flock v0.8.1 h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw= -github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= +github.com/gofrs/flock v0.12.1 h1:MTLVXXHf8ekldpJk3AKicLij9MdwOWkZ+a/jHHZby9E= +github.com/gofrs/flock v0.12.1/go.mod h1:9zxTsyu5xtJ9DK+1tFZyibEV7y3uwDxPPfbxeeHCoD0= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jessevdk/go-flags v1.5.0 h1:1jKYvbxEjfUl0fmqTCOfonvskHHXMjBySTLW4y9LFvc= -github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= -github.com/jrick/logrotate v1.0.0 h1:lQ1bL/n9mBNeIXoTUoYRlK4dHuNJVofX9oWqBtPnSzI= +github.com/jessevdk/go-flags v1.6.1 h1:Cvu5U8UGrLay1rZfv/zP7iLpSHGUZ/Ou68T0iX1bBK4= +github.com/jessevdk/go-flags v1.6.1/go.mod h1:Mk8T1hIAWpOiJiHa9rJASDK2UGWji0EuPGBnNLMooyc= github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= +github.com/jrick/logrotate v1.1.2 h1:6ePk462NCX7TfKtNp5JJ7MbA2YIslkpfgP03TlTYMN0= +github.com/jrick/logrotate v1.1.2/go.mod h1:f9tdWggSVK3iqavGpyvegq5IhNois7KXmasU6/N96OQ= github.com/kaspanet/go-muhash v0.0.4 h1:CQrm1RTJpQy+h4ZFjj9qq42K5fmA5QTGifzb47p4qWk= github.com/kaspanet/go-muhash v0.0.4/go.mod h1:10bPW5mO1vNHPSejaAh9ZTtLZE16jzEvgaP7f3Q5s/8= github.com/kaspanet/go-secp256k1 v0.0.7 h1:WHnrwopKB6ZeHSbdAwwxNhTqflm56XT1mM6LF4/OvOs= github.com/kaspanet/go-secp256k1 v0.0.7/go.mod h1:cFbxhxKkxqHX5eIwUGKARkph19PehipDPJejWB+H0jM= github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= -github.com/klauspost/cpuid/v2 v2.2.6 h1:ndNyv040zDGIDh8thGkXYjnFtiN02M1PVVF+JE/48xc= -github.com/klauspost/cpuid/v2 v2.2.6/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= +github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS5BM= +github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= @@ -50,6 +50,10 @@ github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/syndtr/goleveldb v1.0.1-0.20190923125748-758128399b1d h1:gZZadD8H+fF+n9CmNhYL1Y0dJB+kLOmKd7FbPJLeGHs= github.com/syndtr/goleveldb v1.0.1-0.20190923125748-758128399b1d/go.mod h1:9OrXJhf154huy1nPWmuSrkgjPUtUNhA+Zmy+6AESzuA= github.com/tyler-smith/go-bip39 v1.1.0 h1:5eUemwrMargf3BSLRRCalXT93Ns6pQJIjYQN2nyfOP8= @@ -59,15 +63,13 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk golang.org/x/crypto v0.0.0-20200115085410-6d4e4cb37c7d/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210317152858-513c2a44f670/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= -golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= -golang.org/x/exp v0.0.0-20240213143201-ec583247a57a h1:HinSgX1tJRX3KsL//Gxynpw5CTOAIPhgL4W8PNiIpVE= -golang.org/x/exp v0.0.0-20240213143201-ec583247a57a/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc= +golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= +golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= -golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= +golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4= +golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -75,26 +77,22 @@ golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.23.0 h1:YfKFowiIMvtgl1UERQoTPPToxltDeZfbj4H7dVUCwmM= -golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= +golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU= -golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= +golang.org/x/term v0.25.0 h1:WtHI/ltw4NvSUig5KARz9h521QvRC8RmF/cuYqifU24= +golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= -golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM= +golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c h1:NUsgEN92SQQqzfA+YtqYNqYmB3DMMYLlIwUZAQFVFbo= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY= -google.golang.org/grpc v1.61.1 h1:kLAiWrZs7YeDM6MumDe7m3y4aM6wacLzM1Y/wiLP9XY= -google.golang.org/grpc v1.61.1/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= +google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9 h1:QCqS/PdaHTSWGvupk2F/ehwHtGc0/GYkT+3GAcR1CCc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI= +google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E= +google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA= +google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA= +google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= @@ -103,5 +101,7 @@ gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWD gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -lukechampine.com/blake3 v1.2.1 h1:YuqqRuaqsGV71BV/nm9xlI0MKUv4QC54jQnBChWbGnI= -lukechampine.com/blake3 v1.2.1/go.mod h1:0OFRp7fBtAylGVCO40o87sbupkyIGgbpv1+M1k1LM6k= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +lukechampine.com/blake3 v1.3.0 h1:sJ3XhFINmHSrYCgl958hscfIa3bw8x4DqMP3u1YvoYE= +lukechampine.com/blake3 v1.3.0/go.mod h1:0OFRp7fBtAylGVCO40o87sbupkyIGgbpv1+M1k1LM6k= diff --git a/version/version.go b/version/version.go index e47c964b86..58f53d300c 100644 --- a/version/version.go +++ b/version/version.go @@ -11,7 +11,7 @@ const validCharacters = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrs const ( appMajor uint = 2 appMinor uint = 2 - appPatch uint = 1 + appPatch uint = 2 ) // appBuild is defined as a variable so it can be overridden during the build