From 521cf5fa105df81ba8f314ff4d7c0b65fc423f1a Mon Sep 17 00:00:00 2001 From: John Jannotti Date: Wed, 27 Nov 2024 14:26:19 -0500 Subject: [PATCH] Make the pending transaction endpoint notice heartbeats --- daemon/algod/api/algod.oas2.json | 2 +- daemon/algod/api/algod.oas3.yml | 2 +- .../nonparticipating/public/routes.go | 188 +++++++++--------- data/transactions/transaction.go | 9 +- 4 files changed, 101 insertions(+), 100 deletions(-) diff --git a/daemon/algod/api/algod.oas2.json b/daemon/algod/api/algod.oas2.json index 9b11f26642..1e5db8d9bc 100644 --- a/daemon/algod/api/algod.oas2.json +++ b/daemon/algod/api/algod.oas2.json @@ -245,7 +245,7 @@ }, "/v2/accounts/{address}": { "get": { - "description": "Given a specific account public key, this call returns the accounts status, balance and spendable amounts", + "description": "Given a specific account public key, this call returns the account's status, balance and spendable amounts", "tags": [ "public", "nonparticipating" diff --git a/daemon/algod/api/algod.oas3.yml b/daemon/algod/api/algod.oas3.yml index 9b7ec0a37d..57bc22ce87 100644 --- a/daemon/algod/api/algod.oas3.yml +++ b/daemon/algod/api/algod.oas3.yml @@ -2978,7 +2978,7 @@ }, "/v2/accounts/{address}": { "get": { - "description": "Given a specific account public key, this call returns the accounts status, balance and spendable amounts", + "description": "Given a specific account public key, this call returns the account's status, balance and spendable amounts", "operationId": "AccountInformation", "parameters": [ { diff --git a/daemon/algod/api/server/v2/generated/nonparticipating/public/routes.go b/daemon/algod/api/server/v2/generated/nonparticipating/public/routes.go index b2f8e4a070..ed6e87f99f 100644 --- a/daemon/algod/api/server/v2/generated/nonparticipating/public/routes.go +++ b/daemon/algod/api/server/v2/generated/nonparticipating/public/routes.go @@ -954,100 +954,100 @@ var swaggerSpec = []string{ "mf/p/+9P2DQXq2Z4/+uR6890tNS6Us+Oj6+urqbxJ8cLTP3PtKjz5bGfB7sNtuSV16chRt/G4eCONtZj", "3FRHCif47M03Z+fk5PXptCGYo2dHj6aPpo9da2tOK3b07Ogz/AlPzxL3/Rjrax4r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wqmRGXokmId1qUP+Wrsf3ebO/7wW9Ehysj91IvpYW79ypQewwjMMixVcisfpL", - "017ruiLIsa/gs1UO+d68tEMWGXN7YzWgT/EK/z5Z56h1y5i1TXeWWWhGG8OczYu2H0JcCGX6IbWYD8JP", - "P0LV5kNwrNthMXhIPZ9xYgE/LNPB4j6WmI8rX4lpiAO9NC9HcpmtdzSaG2kRwtAgUVWIzKAUfKE+Tla0", - "jTrSeElQia1hZduq9NY//Rue3eeu54lv5u8qSSnGcyBKrABVBiOju4LUFsJ/3B6Emq18524ep7d+YO7y", - "+aPPbm/6M5CXLAdyDqtKSCpZuSE/89Db5CbcThHq9jy2BieYA+PobWpXHMvj8kg3YIKuc37aauzs1k3N", - "RGXlKlFrkLZaXqeFFesx6ZQ9GBnGSzP1AeS5Uiw+NXHOY31skefntCwRXbucTDjwqCjlsrT7CSumddMy", - "Ir5dyTc0X4a9nTTWvdDYz9cWn3SqUeLIrsubTfVXYPZZA4lWE1krQNoW5Rr7Nq0oBiyv6lKzqmx/Ezpf", - "YiegRBiSpc24icDpC78665wV82boLv36SuRu8KmZ2z3Cmbmwi6MSkHcH20qnudS0BbTtieXDr6NORq4f", - "kyt0yGSn8mQTO1NVQGXzsaX8+5WEzA0h6SVIRfGwdhb14E5U/zhE9bUrdfyRCOpJH+VNef31r6JWFPVf", - "es2Kd7vl8qha8J4iOeORSB6zC3vWri+L746i6HYWP30RJ6qIUE/LCwgDoBgU7Zmr9b+ORrpAsEiLmDs9", - "rOYWUF/i0kmsLotEzCchTtMopGL+jLzlD4laUl+B2f355PMvBpw4Zh5Xma7vxmkGMo/tMGN8OZ+0Z+qw", - "EkfA77Pb3u39NnFyxIp1osw8L2AddTZpdz529+E9RSq68RkdvUqLVbraclBM42FXYK4ptWTV7Vf0VZrN", - "0iXNvSUudNA/5V8Hg6wtO2ukhupDVHKdHGkJUECllzsLPONbzW6CK/XMlGvKY8vwTgibwtRWqW2apxUL", - "cBcTJSXQeeiCJsSYPL6IzxhC81QR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wtZVNNqlwH1ivKo1BoC/TwMeXNIyE5cgJStAjVwpE/ybS1r+FD57", + "NzmCNeSZljSHzFoUxmLt3Hxj6RQbDXKmGS0z1KrHAgSn9qsz+9GO+zjqNrpaQcGohnJDKgk5FLYQGVOk", + "0eentkADyZeUL/DqlqJeLO1rdpwrkBAaMxoVujtEuhDMmme2KF0fxhPXqDmu2ws0XyYax+AFZ3R2T1BF", + "qyfVyD1olRwdUtInR4OCtkHqZRM6Z5HTZjMjpIiWPBDhp5n4EDVa74j+jug/daJPlVRE1M071gqLr3hb", + "3rNZ630XEL1FK9kHqS58V6L/371Ev+dAilAiaUsHSfeGo4owTa6wLNIMiLm/arTOu4Z7Tl/HTLvoqLtK", + "m8q158uXlHFXUyfkNSAcRiVerZjWvj3tezFsWmaGFk2DDshryfQGtRZasd8vwPz/NyP2K5CXXqGpZXn0", + "7GipdfXs+LgUOS2XQunjo3eT+JnqPPwtwP+X10UqyS6NfvUOwRaSLRg3d+4VXSxANibEoyfTR0fv/r8A", + "AAD///qwGHIKvwEA", } // GetSwagger returns the content of the embedded swagger specification file diff --git a/data/transactions/transaction.go b/data/transactions/transaction.go index 363747a996..65b9a4bbe2 100644 --- a/data/transactions/transaction.go +++ b/data/transactions/transaction.go @@ -325,7 +325,7 @@ func (tx Header) Alive(tc TxnContext) error { // MatchAddress checks if the transaction touches a given address. func (tx Transaction) MatchAddress(addr basics.Address, spec SpecialAddresses) bool { - return slices.Contains(tx.RelevantAddrs(spec), addr) + return slices.Contains(tx.relevantAddrs(spec), addr) } var errKeyregTxnFirstVotingRoundGreaterThanLastVotingRound = errors.New("transaction first voting round need to be less than its last voting round") @@ -714,9 +714,8 @@ func (tx Header) Last() basics.Round { return tx.LastValid } -// RelevantAddrs returns the addresses whose balance records this transaction will need to access. -// The header's default is to return just the sender and the fee sink. -func (tx Transaction) RelevantAddrs(spec SpecialAddresses) []basics.Address { +// relevantAddrs returns the addresses whose balance records this transaction will need to access. +func (tx Transaction) relevantAddrs(spec SpecialAddresses) []basics.Address { addrs := []basics.Address{tx.Sender, spec.FeeSink} switch tx.Type { @@ -733,6 +732,8 @@ func (tx Transaction) RelevantAddrs(spec SpecialAddresses) []basics.Address { if !tx.AssetTransferTxnFields.AssetSender.IsZero() { addrs = append(addrs, tx.AssetTransferTxnFields.AssetSender) } + case protocol.HeartbeatTx: + addrs = append(addrs, tx.HeartbeatTxnFields.HbAddress) } return addrs