Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
32d3f3d
Update the Version, BuildNumber, genesistimestamp.data
Algo-devops-service Nov 18, 2021
8590499
Three new globals for to help contract-to-contract usability
jannotti Nov 21, 2021
24055a3
detritis
jannotti Nov 21, 2021
92a26b6
Check error
jannotti Nov 22, 2021
d268300
doc comments
jannotti Nov 22, 2021
116c06e
Support transaction arguments for `goal app method` (#3233)
jasonpaulos Nov 22, 2021
9807eab
CI: use libboost-math-dev instead of libboost-all-dev (#3223)
cce Nov 22, 2021
6cb3a52
testing: fixes to rest-participation-key e2e test (#3238)
algonautshant Nov 23, 2021
52b528b
testing: interactive mode for e2e testing (#3227)
algonautshant Nov 23, 2021
8aa0728
Merge pull request #3231 from Algo-devops-service/relbeta3.2.0
algojohnlee Nov 23, 2021
e5a1e53
Merge remote-tracking branch 'upstream/feature/contract-to-contract' …
jannotti Nov 23, 2021
597fc63
Make dev-mode tests less flaky. (#3252)
winder Nov 29, 2021
5339cf0
adding libtool to ubuntu deps (#3251)
barnjamin Nov 29, 2021
715f511
Fix error shadowing in Eval (#3258)
algorandskiy Nov 30, 2021
54db1c7
Disable flaky test. (#3256)
winder Nov 30, 2021
4e34eba
Merge branch 'master' into relbeta3.2.1
Algo-devops-service Nov 30, 2021
305d7ab
Update the Version, BuildNumber, genesistimestamp.data
Algo-devops-service Nov 30, 2021
2baf39b
Merge pull request #3260 from Algo-devops-service/relbeta3.2.1
algojohnlee Dec 2, 2021
6657c2b
Fix a data race in app tests (#3269)
algorandskiy Dec 2, 2021
b3ac9bd
Fix e2e.sh mixed indent characters. (#3266)
winder Dec 2, 2021
0a6374b
Fix ParticipationKeyResponse type. (#3264)
winder Dec 2, 2021
5456323
disable parallelism for e2e-go tests (#3242)
cce Dec 2, 2021
dc25f10
Updating Readme.md with circleci status badges (#3245)
algojack Dec 2, 2021
e466aa1
Fix formatting for CircleCI badges (#3272)
onetechnical Dec 3, 2021
70ff3c7
Add Custom Scenario for Performance Testing (#3278)
algobarb Dec 6, 2021
b6cbbf3
Merge pull request #3279 from Algo-devops-service/relstable3.2.1
algojohnlee Dec 7, 2021
db80261
Impose limits on the entire "tree" of inner calls.
jannotti Dec 7, 2021
850f7c7
ParticipationRegistry - StateProof loading methods (#3261)
winder Dec 7, 2021
221955f
Op base64 decode (#3220)
tzaffi Dec 8, 2021
d02cb89
Merge remote-tracking branch 'origin/rel/stable' into relstable3.2.1-…
Algo-devops-service Dec 8, 2021
e1b4442
Bump Version, Remove buildnumber.dat and genesistimestamp.dat files.
Algo-devops-service Dec 8, 2021
46eb760
Merge pull request #3290 from Algo-devops-service/relstable3.2.1-remerge
algojohnlee Dec 8, 2021
f51d2d7
Change golang version to 1.16.11 in go-algorand (#2825)
algojack Dec 8, 2021
02f6cac
Compatibility mode for partkeyinfo. (#3291)
winder Dec 9, 2021
5318545
TestEcdsa: fix flaky "tampering" of public key (#3282)
cce Dec 9, 2021
34d35fd
Move appID tracking into EvalContext, out of LedgerForLogic
jannotti Dec 9, 2021
6260b9d
Stupid linter
jannotti Dec 9, 2021
29a10da
Support reference types in `goal app method` (#3275)
jasonpaulos Dec 9, 2021
741d1ea
Add a hash prefix for ARCs-related hashes (#3298)
fabrice102 Dec 10, 2021
94ba758
catchup: suspend the catchup session once the agreement service kicks…
algonautshant Dec 10, 2021
4860375
Compatibility mode for partkeyinfo. (#3291)
winder Dec 9, 2021
4791706
catchup: suspend the catchup session once the agreement service kicks…
algonautshant Dec 10, 2021
3ac5e0e
Bump buildnumber.dat
onetechnical Dec 10, 2021
c4ef818
Merge pull request #3300 from algorand/relbeta3.2.2
algojohnlee Dec 10, 2021
493c2ea
testing: disable flaky test (#3268)
winder Dec 10, 2021
b2ca02f
enumerate conditions that might cause this fetchAndWrite to return fa…
barnjamin Dec 10, 2021
4624e33
Fix unit tests error messages
jannotti Dec 10, 2021
34b3eca
Merge branch 'rel/beta' into relstable3.2.2
Algo-devops-service Dec 10, 2021
18cd6cd
make sure the block service is not attempting to access the ledger af…
tsachiherman Dec 10, 2021
97e8068
Merge pull request #3305 from Algo-devops-service/relstable3.2.2
algojohnlee Dec 13, 2021
6330862
Avoid creating algod process for the sole purpose of retrieving the g…
tsachiherman Dec 13, 2021
ac5f839
documentation: fix algorand specs link (#3309)
tolikzinovyev Dec 14, 2021
34e2fbd
testing: reword partitiontest lint message. (#3297)
winder Dec 15, 2021
de7fe45
testing: fix random data race in TestAppAccountDataStorage (#3315)
tsachiherman Dec 15, 2021
d494c40
Allow access to resources created in the same transaction group
jannotti Dec 15, 2021
678c1ea
Merge branch 'rel/stable' of https://github.com/algorand/go-algorand …
egieseke Dec 15, 2021
3520336
Merge pull request #3317 from egieseke/rel/stable
algojohnlee Dec 15, 2021
14e889e
ledger: perform the catchpoint writing outside the trackers lock. (#3…
tsachiherman Dec 15, 2021
8128167
Separate tx and key validity for `goal account renewpartkey` (#3286)
Dec 15, 2021
f5bf5ec
Add qkniep to THANKS.md (#3320)
winder Dec 15, 2021
4d25744
Merge branch 'master' into feature/contract-to-contract
jannotti Dec 16, 2021
320e11d
Merge remote-tracking branch 'upstream/feature/contract-to-contract' …
jannotti Dec 16, 2021
6df82a1
Merge remote-tracking branch 'upstream/feature/contract-to-contract' …
jannotti Dec 16, 2021
9a5d5cd
Followup to opcode base64_decode (#3288)
tzaffi Dec 16, 2021
b73265c
Add help and fish mode to e2e interactive mode. (#3313)
winder Dec 16, 2021
9cdcb39
Minimum Account Balance in Algod (#3287)
tzaffi Dec 17, 2021
b3215c0
Access to apps created in group
jannotti Dec 17, 2021
06edcf5
Remove tracked created mechanism in favor of examining applydata.
jannotti Dec 17, 2021
22a5ebb
Add convertAddress tool. (#3304)
winder Dec 20, 2021
0ad9900
tealdbg: increase intermediate reading/writing buffers (#3335)
barnjamin Dec 20, 2021
6be3ffa
Adding method pseudo op to readme (#3338)
barnjamin Dec 20, 2021
b7ee4a1
Allow v6 AVM code to use in-group created asas, apps (& their accts)
jannotti Dec 21, 2021
813bdf8
lint docs
jannotti Dec 21, 2021
0fcc77b
typo
jannotti Dec 21, 2021
50665a2
The review dog needs obedience training.
jannotti Dec 21, 2021
4cb4241
add config.DeadlockDetectionThreshold (#3339)
cce Dec 22, 2021
7422318
Use one EvalParams for logic evals, another for apps in dry run
jannotti Dec 22, 2021
02bd552
Use logic.NewAppEvalParams to decrease copying and bugs in debugger
jannotti Dec 22, 2021
82d9ef5
Simplify use of NewEvalParams. No more nil return when no apps.
jannotti Dec 22, 2021
11a5b53
Remove explicit PastSideEffects handling in tealdbg
jannotti Dec 22, 2021
7da1026
Fix flaky test in randomized ABI encoding test (#3346)
ahangsu Dec 23, 2021
8fa33c9
Always create EvalParams to evaluate a transaction group.
jannotti Dec 23, 2021
7e8d997
Correct mistaken commit
jannotti Dec 23, 2021
a4f9ebe
ledger: perform the catchpoint writing outside the trackers lock. (#3…
tsachiherman Dec 15, 2021
4d85356
Bump version number
onetechnical Dec 27, 2021
7dcf9d8
Merge pull request #3351 from algorand/relbeta3.2.3
algojohnlee Dec 27, 2021
2e09ebf
Update `goal app method` handling of args and return values (#3352)
jasonpaulos Dec 28, 2021
201337a
Merge branch 'rel/beta' into relstable3.2.3
Algo-devops-service Dec 29, 2021
14bf464
Support app creation in `goal app method` (#3353)
jasonpaulos Dec 29, 2021
222e4f8
Spec improvments
jannotti Dec 29, 2021
8a335bb
Update license to 2022 (#3360)
Aharonee Jan 2, 2022
d2289a5
Merge pull request #3356 from Algo-devops-service/relstable3.2.3
algojohnlee Jan 4, 2022
7248b95
Add totals checks into acct updates tests (#3367)
algorandskiy Jan 4, 2022
325b86b
More spec improvments, including resource "availability"
jannotti Jan 4, 2022
f879152
Recursively return inner transaction tree
jannotti Jan 4, 2022
5c69765
Lint
jannotti Jan 4, 2022
e9e78fd
No need for ConfirmedRound, so don't deref a nil pointer!
jannotti Jan 4, 2022
d591ab6
Merge branch 'master' into feature/contract-to-contract
jannotti Jan 5, 2022
2767f1e
remove buildnumber.dat
algobarb Jan 5, 2022
55c4fa5
remove buildnumber.dat
Algo-devops-service Jan 5, 2022
bc9a03f
license check
jannotti Jan 5, 2022
00cbd47
Merge branch 'feature/contract-to-contract' into feature/contract-to-…
jannotti Jan 5, 2022
6870ea2
Shut up, dawg.
jannotti Jan 5, 2022
cb1650e
PKI State Proof Incremental Key Loading (#3281)
winder Jan 6, 2022
e6e9ac0
Limit number of simultaneous REST connections (#3326)
tolikzinovyev Jan 6, 2022
52a1a2c
Merge pull request #3372 from Algo-devops-service/relstable3.2.3-remerge
algojohnlee Jan 6, 2022
16c3053
Use rejecting limit listener in WebsocketNetwork. (#3380)
tolikzinovyev Jan 6, 2022
35cf3b3
Delete unused constant. (#3379)
tolikzinovyev Jan 6, 2022
8f62aff
Add test to exercise lookup corner cases (#3376)
cce Jan 6, 2022
64a406f
Test for catchup stop on completion (#3306)
algonautshant Jan 6, 2022
ab65611
Delete unused AtomicCommitWriteLock(). (#3383)
tolikzinovyev Jan 6, 2022
9ec5395
Merge branch 'master' into feature/contract-to-contract
jannotti Jan 7, 2022
4945347
Merge remote-tracking branch 'upstream/feature/contract-to-contract' …
jannotti Jan 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions agreement/gossip/networkFull_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func TestMain(m *testing.M) {

logging.Base().SetLevel(logging.Debug)
// increase limit on max allowed number of sockets
err := util.RaiseRlimit(500)
err := util.SetFdSoftLimit(500)
if err != nil {
os.Exit(1)
}
Expand All @@ -50,7 +50,6 @@ func spinNetwork(t *testing.T, nodesCount int) ([]*networkImpl, []*messageCounte
cfg := config.GetDefaultLocal()
cfg.GossipFanout = nodesCount - 1
cfg.NetAddress = "127.0.0.1:0"
cfg.IncomingConnectionsLimit = -1
cfg.IncomingMessageFilterBucketCount = 5
cfg.IncomingMessageFilterBucketSize = 32
cfg.OutgoingMessageFilterBucketCount = 3
Expand Down
15 changes: 11 additions & 4 deletions config/localTemplate.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ type Local struct {
CadaverSizeTarget uint64 `version[0]:"1073741824"`

// IncomingConnectionsLimit specifies the max number of long-lived incoming
// connections. 0 means no connections allowed. -1 is unbounded.
// connections. 0 means no connections allowed. Must be non-negative.
// Estimating 5MB per incoming connection, 5MB*800 = 4GB
IncomingConnectionsLimit int `version[0]:"-1" version[1]:"10000" version[17]:"800"`

Expand All @@ -99,9 +99,9 @@ type Local struct {
PriorityPeers map[string]bool `version[4]:""`

// To make sure the algod process does not run out of FDs, algod ensures
// that RLIMIT_NOFILE exceeds the max number of incoming connections (i.e.,
// IncomingConnectionsLimit) by at least ReservedFDs. ReservedFDs are meant
// to leave room for short-lived FDs like DNS queries, SQLite files, etc.
// that RLIMIT_NOFILE >= IncomingConnectionsLimit + RestConnectionsHardLimit +
// ReservedFDs. ReservedFDs are meant to leave room for short-lived FDs like
// DNS queries, SQLite files, etc. This parameter shouldn't be changed.
ReservedFDs uint64 `version[2]:"256"`

// local server
Expand Down Expand Up @@ -423,6 +423,13 @@ type Local struct {

// ProposalAssemblyTime is the max amount of time to spend on generating a proposal block.
ProposalAssemblyTime time.Duration `version[19]:"250000000"`

// When the number of http connections to the REST layer exceeds the soft limit,
// we start returning http code 429 Too Many Requests.
RestConnectionsSoftLimit uint64 `version[20]:"1024"`
// The http server does not accept new connections as long we have this many
// (hard limit) connections already.
RestConnectionsHardLimit uint64 `version[20]:"2048"`
}

// DNSBootstrapArray returns an array of one or more DNS Bootstrap identifiers
Expand Down
2 changes: 2 additions & 0 deletions config/local_defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ var defaultLocal = Local{
PublicAddress: "",
ReconnectTime: 60000000000,
ReservedFDs: 256,
RestConnectionsHardLimit: 2048,
RestConnectionsSoftLimit: 1024,
RestReadTimeoutSeconds: 15,
RestWriteTimeoutSeconds: 120,
RunHosted: false,
Expand Down
100 changes: 87 additions & 13 deletions daemon/algod/api/algod.oas2.json
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@
}
},
"404": {
"description": "Application Not Found",
"description": "Participation Key Not Found",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
Expand Down Expand Up @@ -553,6 +553,12 @@
"$ref": "#/definitions/ErrorResponse"
}
},
"404": {
"description": "Participation Key Not Found",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
},
"500": {
"description": "Internal Error",
"schema": {
Expand All @@ -576,14 +582,14 @@
"tags": [
"private"
],
"description": "Delete a given participation key by id",
"description": "Delete a given participation key by ID",
"produces": [
"application/json"
],
"schemes": [
"http"
],
"summary": "Delete a given participation key by id",
"summary": "Delete a given participation key by ID",
"operationId": "DeleteParticipationKeyByID",
"responses": {
"200": {
Expand All @@ -601,6 +607,12 @@
"$ref": "#/definitions/ErrorResponse"
}
},
"404": {
"description": "Participation Key Not Found",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
},
"500": {
"description": "Internal Error",
"schema": {
Expand All @@ -616,14 +628,14 @@
"tags": [
"private"
],
"description": "Given a participation id, return information about that participation key",
"description": "Given a participation ID, return information about that participation key",
"produces": [
"application/json"
],
"schemes": [
"http"
],
"summary": "Get participation key info by id",
"summary": "Get participation key info given a participation ID",
"operationId": "GetParticipationKeyByID",
"responses": {
"200": {
Expand All @@ -643,7 +655,69 @@
}
},
"404": {
"description": "Application Not Found",
"description": "Participation Key Not Found",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
},
"500": {
"description": "Internal Error",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
},
"default": {
"description": "Unknown Error"
}
}
},
"post": {
"tags": [
"private"
],
"description": "Given a participation ID, append state proof keys to a particular set of participation keys",
"consumes": [
"application/msgpack"
],
"produces": [
"application/json"
],
"parameters": [
{
"description": "The state proof keys to add to an existing participation ID",
"name": "keymap",
"in": "body",
"required": true,
"schema": {
"type": "string",
"format": "binary"
}
}
],
"schemes": [
"http"
],
"summary": "Append state proof keys to a participation key",
"operationId": "AppendKeys",
"responses": {
"200": {
"description": "OK",
"$ref": "#/responses/ParticipationKeyResponse"
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
},
"401": {
"description": "Invalid API Token",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
},
"404": {
"description": "Participation Key Not Found",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
Expand Down Expand Up @@ -934,7 +1008,7 @@
},
"/v2/transactions/pending/{txid}": {
"get": {
"description": "Given a transaction id of a recently submitted transaction, it returns information about it. There are several cases when this might succeed:\n- transaction committed (committed round \u003e 0)\n- transaction still in the pool (committed round = 0, pool error = \"\")\n- transaction removed from pool due to error (committed round = 0, pool error != \"\")\nOr the transaction may have happened sufficiently long ago that the node no longer remembers it, and this will return an error.\n",
"description": "Given a transaction ID of a recently submitted transaction, it returns information about it. There are several cases when this might succeed:\n- transaction committed (committed round \u003e 0)\n- transaction still in the pool (committed round = 0, pool error = \"\")\n- transaction removed from pool due to error (committed round = 0, pool error != \"\")\nOr the transaction may have happened sufficiently long ago that the node no longer remembers it, and this will return an error.\n",
"produces": [
"application/json",
"application/msgpack"
Expand All @@ -948,7 +1022,7 @@
{
"pattern": "[A-Z0-9]+",
"type": "string",
"description": "A transaction id",
"description": "A transaction ID",
"name": "txid",
"in": "path",
"required": true
Expand All @@ -959,7 +1033,7 @@
],
"responses": {
"200": {
"description": "Given a transaction id of a recently submitted transaction, it returns information about it. There are several cases when this might succeed:\n- transaction committed (committed round \u003e 0)\n- transaction still in the pool (committed round = 0, pool error = \"\")\n- transaction removed from pool due to error (committed round = 0, pool error != \"\")\n\nOr the transaction may have happened sufficiently long ago that the node no longer remembers it, and this will return an error.",
"description": "Given a transaction ID of a recently submitted transaction, it returns information about it. There are several cases when this might succeed:\n- transaction committed (committed round \u003e 0)\n- transaction still in the pool (committed round = 0, pool error = \"\")\n- transaction removed from pool due to error (committed round = 0, pool error != \"\")\n\nOr the transaction may have happened sufficiently long ago that the node no longer remembers it, and this will return an error.",
"schema": {
"$ref": "#/definitions/PendingTransactionResponse"
}
Expand Down Expand Up @@ -998,7 +1072,7 @@
},
"/v2/applications/{application-id}": {
"get": {
"description": "Given a application id, it returns application information including creator, approval and clear programs, global and local schemas, and global state.",
"description": "Given a application ID, it returns application information including creator, approval and clear programs, global and local schemas, and global state.",
"produces": [
"application/json"
],
Expand Down Expand Up @@ -1061,7 +1135,7 @@
},
"/v2/assets/{asset-id}": {
"get": {
"description": "Given a asset id, it returns asset information including creator, name, total supply and special addresses.",
"description": "Given a asset ID, it returns asset information including creator, name, total supply and special addresses.",
"produces": [
"application/json"
],
Expand Down Expand Up @@ -2576,7 +2650,7 @@
}
},
"ParticipationKeyResponse": {
"description": "A detailed description of a participation id",
"description": "A detailed description of a participation ID",
"schema": {
"$ref": "#/definitions/ParticipationKey"
}
Expand All @@ -2593,7 +2667,7 @@
],
"properties": {
"partId": {
"description": "encoding of the participation id.",
"description": "encoding of the participation ID.",
"type": "string"
}
}
Expand Down
Loading