Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
001b846
Add support for CVM memory (#141)
Jun 26, 2024
b4836ab
Add VM instructions to initialize virtual accounts (#143)
Jun 26, 2024
fb0f4bb
Add VM instruction to deposit into Virtual Timelock Accounts (#144)
Jun 27, 2024
36da0a8
Add virtual instruction support starting with internal Timelock trans…
Jul 3, 2024
b6c29c8
Implement new VM deposit flow (#147)
Jul 4, 2024
956a96c
Add virtual instruction for external Timelock transfer (#148)
Jul 4, 2024
d51b342
Support VM relay account management and the ability to advance treasu…
Jul 5, 2024
f9c9be3
Support cashing cheques from treasury advances with Timelock transfer…
Jul 9, 2024
9d30075
VM memory rename updates (#152)
Jul 15, 2024
555f4d7
Add VM virtual account Marshal utilities (#153)
Jul 17, 2024
a570d1c
VM nonce worker (#154)
Jul 23, 2024
1660e50
VM commitment worker (#155)
Jul 24, 2024
2093be2
Update recent roots structure with new circular buffer structure (#156)
Jul 24, 2024
7afc626
VM treasury worker (#157)
Jul 25, 2024
83ba381
Update treasury worker to use new save recent root instruction (#158)
Jul 29, 2024
cfb19ef
First Timelock DB model update (#160)
Jul 30, 2024
ae03fb8
Round out virtual instructions with signature updates and adding miss…
Jul 30, 2024
0685b20
Implement virtual instruction for closing Timelock account with balan…
Jul 31, 2024
9986ce6
VM sequencer (#159)
Aug 2, 2024
7a0a24f
VM memory management (#163)
Aug 7, 2024
4a4599f
Fix getFulfillmentHandlers
Aug 7, 2024
e916cd1
Support new memory account layouts (#164)
Aug 7, 2024
63bbb4c
Support VM compression with signature verification (#165)
Aug 7, 2024
c4b5d29
Ensure indexed Timelock account state has zero balance when closing e…
Aug 8, 2024
7b767af
Fix signature to be virtual account state hash for compression (#167)
Aug 8, 2024
0193a15
VM storage management (#168)
Aug 13, 2024
68b136a
Pull official version of the VM Indexer Service
Aug 15, 2024
3ed5d90
Setup common VM instance public key (#169)
Aug 15, 2024
28d7a26
Update SubmitIntent for VM intent creations (#171)
Aug 21, 2024
52e9b63
Make server VM branch buildable (#172)
Aug 22, 2024
068c1e2
Merge branch 'main' into vm
Aug 23, 2024
247f545
Merge branch 'main' into vm
Sep 9, 2024
2950baf
Merge branch 'main' into vm
Sep 9, 2024
e32bfa1
Merge branch 'main' into vm
Sep 10, 2024
1b916d7
Pull latest protobuf APIs
Sep 10, 2024
1e45085
Update VM vixn amount arguments to uint64 (#178)
Sep 10, 2024
1e863ce
Implement simplest vixn packing (#177)
Sep 11, 2024
e1070ba
Support external VM transfers (#179)
Sep 11, 2024
97a0c21
Support privacy upgrades for the VM (#180)
Sep 12, 2024
d96e5c8
Disable gift card auto returns until we have a new solution (#181)
Sep 12, 2024
817f8db
Update swap destination to VM deposit token account (#182)
Sep 12, 2024
418048b
Add additional VM program accounts and ixns (#183)
Sep 13, 2024
67f242b
Support change log in Code VM account (#184)
Sep 16, 2024
e2b3738
Dynamic paged memory setup in VM accounts (#185)
Sep 16, 2024
bbc8aee
Fix comment
Sep 16, 2024
d9ce773
Minor postgres DB changes
Sep 25, 2024
0d7aef1
Updates to cvm solana package
Oct 1, 2024
6917f7b
Fixes for VM paged memory unmarshalling
Oct 1, 2024
4b4b1b8
Fix Solana mainnet nonce creation and optimize metric query counts
Oct 2, 2024
ee8603a
Merge branch 'main' into vm
Oct 8, 2024
c968148
Fix nonce signature updates in SubmitIntent
Oct 10, 2024
e3e133f
Fix VM opcodes
Oct 10, 2024
dcc80ce
Merge memory banks used in VM exec instruction
Oct 11, 2024
c49cb2f
Virtual transaction hash should be calculated from the transaction me…
Oct 11, 2024
44a7d18
Fix external transfer with authority transaction contruction
Oct 11, 2024
e9d85b6
Ensure VM omnibus is provided for external transfers
Oct 11, 2024
1e611a4
Keep virtual nonce reserved after fulfillment failure
Oct 15, 2024
7da932d
Fix welcome bonus airdrop
Oct 15, 2024
b7ba55e
Fix treasury pool record update method
Oct 17, 2024
3679f23
Fixes for VM storage worker
Oct 17, 2024
2ec5669
VM without anchor (#188)
Oct 28, 2024
b90f9f2
Updates to VM nonces and messages
Oct 28, 2024
aea08d3
Reintroduce GetPageSizeFromMemoryLayout
Oct 29, 2024
27d6adc
Fix InitMemoryInstructionArgsSize
Oct 29, 2024
69085d2
Fix MemoryAccountWithData Unmarshal for nonce layout
Oct 29, 2024
98bf7e8
Update padding position in memory account
Nov 7, 2024
1183038
Update default compact state items to 1k
Nov 7, 2024
a7dd419
Bump memory DB record page and sector count to uint16
Nov 7, 2024
7902dd0
Fix MemoryAccountWithData unmarshalling
Nov 7, 2024
973241d
Setup real program address and configuration
Nov 25, 2024
cdc48b5
New memory account structure (#190)
Dec 18, 2024
115948e
Geyser backup worker for detecting unlocked Timelock accounts
Jan 29, 2025
9c097b0
Timelock backup tweaks and metric fix
Jan 29, 2025
02eed8a
Ensure Timelock accounts aren't unlocked when being opened
Jan 29, 2025
eed91c1
Fix Timelock oldest record metric
Jan 29, 2025
cff3ef8
Add support for VM airdrop virtual instruction
Feb 11, 2025
7ccf638
Export MergeMemoryBanks utility
Feb 24, 2025
d6f495e
Fix tests
Feb 27, 2025
6edbcf8
Initial airdrop worker based on PoC
Feb 27, 2025
8a8a200
Skip airdrops for virtual accounts that are not currently indexed
Mar 3, 2025
afa66f7
Be more resilient against missing exchange rates for airdrops
Mar 3, 2025
8bc9d9a
Reduce maxAirdropsInTxn to 150
Mar 7, 2025
362c153
Cleanup VM branch (#191)
Apr 2, 2025
fac4c08
Merge branch 'main' into vm
Apr 2, 2025
1d19fd7
Pull latest code-protobuf-api
Apr 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
60 changes: 15 additions & 45 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
module github.com/code-payments/code-server

go 1.21.3
go 1.23.0

require (
firebase.google.com/go/v4 v4.8.0
github.com/aws/aws-sdk-go-v2 v0.17.0
github.com/bits-and-blooms/bloom/v3 v3.1.0
github.com/code-payments/code-protobuf-api v1.19.0
github.com/dghubble/oauth1 v0.7.3
github.com/code-payments/code-protobuf-api v1.19.1-0.20250402192552-177b85d5508d
github.com/code-payments/code-vm-indexer v0.1.11-0.20241028132209-23031e814fba
github.com/emirpasic/gods v1.12.0
github.com/envoyproxy/protoc-gen-validate v1.0.4
github.com/envoyproxy/protoc-gen-validate v1.2.1
github.com/golang-jwt/jwt/v5 v5.0.0
github.com/golang/protobuf v1.5.4
github.com/google/uuid v1.6.0
Expand All @@ -22,41 +21,29 @@ require (
github.com/mr-tron/base58 v1.2.0
github.com/newrelic/go-agent/v3 v3.20.1
github.com/newrelic/go-agent/v3/integrations/nrpgx v1.0.0
github.com/nicksnyder/go-i18n/v2 v2.4.0
github.com/ory/dockertest/v3 v3.7.0
github.com/oschwald/maxminddb-golang v1.11.0
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58
github.com/pkg/errors v0.9.1
github.com/rinchsan/device-check-go v1.3.0
github.com/robfig/cron/v3 v3.0.1
github.com/sirupsen/logrus v1.8.1
github.com/spaolacci/murmur3 v1.1.0
github.com/spf13/viper v1.7.0
github.com/stretchr/testify v1.8.4
github.com/twilio/twilio-go v0.26.0
github.com/vence722/base122-go v0.0.2
github.com/ybbus/jsonrpc v2.1.2+incompatible
go.etcd.io/etcd/api/v3 v3.5.13
go.etcd.io/etcd/client/v3 v3.5.13
go.uber.org/zap v1.17.0
golang.org/x/crypto v0.21.0
golang.org/x/crypto v0.32.0
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842
golang.org/x/net v0.22.0
golang.org/x/text v0.14.0
golang.org/x/net v0.34.0
golang.org/x/text v0.21.0
golang.org/x/time v0.5.0
google.golang.org/api v0.170.0
google.golang.org/grpc v1.62.1
google.golang.org/protobuf v1.33.0
google.golang.org/grpc v1.71.1
google.golang.org/protobuf v1.36.6
)

require (
cloud.google.com/go v0.112.0 // indirect
cloud.google.com/go/compute v1.23.4 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/firestore v1.14.0 // indirect
cloud.google.com/go/iam v1.1.6 // indirect
cloud.google.com/go/longrunning v0.5.5 // indirect
cloud.google.com/go/storage v1.36.0 // indirect
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
github.com/Microsoft/go-winio v0.4.14 // indirect
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
Expand All @@ -70,18 +57,9 @@ require (
github.com/docker/docker v20.10.7+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.4.0 // indirect
github.com/dvsekhvalnov/jose2go v1.5.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.4.7 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/mock v1.6.0 // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.2 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/imdario/mergo v0.3.12 // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
Expand All @@ -93,9 +71,11 @@ require (
github.com/jackc/pgtype v1.8.1 // indirect
github.com/jackc/pgx v3.6.2+incompatible // indirect
github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af // indirect
github.com/kr/text v0.2.0 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/mitchellh/mapstructure v1.4.1 // indirect
github.com/moby/term v0.0.0-20201216013528-df9cb8a40635 // indirect
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/onsi/gomega v1.30.0 // indirect
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
github.com/opencontainers/image-spec v1.0.1 // indirect
Expand All @@ -111,22 +91,12 @@ require (
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
go.etcd.io/etcd/client/pkg/v3 v3.5.13 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/otel v1.24.0 // indirect
go.opentelemetry.io/otel/metric v1.24.0 // indirect
go.opentelemetry.io/otel/trace v1.24.0 // indirect
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
golang.org/x/oauth2 v0.18.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.18.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/appengine/v2 v2.0.1 // indirect
google.golang.org/genproto v0.0.0-20240205150955-31a09d347014 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240205150955-31a09d347014 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240311132316-a219d84964c2 // indirect
golang.org/x/sys v0.29.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f // indirect
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b // indirect
gopkg.in/ini.v1 v1.51.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
Loading