neo-go/pkg/core/transaction
Ekaterina Pavlova 956fd08adb *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest
Add a method that makes a deep copy of all fields and resets size/hash
caches.

Close #3288

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-04-28 00:59:15 +05:30
..
attribute.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
attribute_test.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
attrtype.go native: introduce attribute pricing 2023-11-21 13:42:56 +03:00
attrtype_string.go core: adjust types of NVB, Conflicts and NotaryAssisted attributes 2022-06-01 15:09:06 +03:00
bench_test.go transaction: add benchmark for transaction serialization 2021-08-09 12:01:38 +03:00
conflicts.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
doc.go *: add more package-specific documentation 2021-03-19 16:18:45 +03:00
fuzz_test.go *: drop go 1.18 support in doc and build targets 2023-10-12 17:59:42 +03:00
helper_test.go *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
not_valid_before.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
notary_assisted.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
oracle.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
oracle_test.go *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
oracleresponsecode_string.go oracle: check response Content-Type 2021-07-12 13:13:48 +03:00
reserved.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
signer.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
signer_test.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
transaction.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
transaction_test.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
witness.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
witness_condition.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
witness_condition_test.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
witness_rule.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
witness_rule_test.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
witness_scope.go core: do not use formatted error if not needed 2023-07-20 10:33:50 +03:00
witness_scope_string.go *: update Stringers wrt fresh Stringer version 2023-10-19 11:33:07 +03:00
witness_scope_test.go neorpc: adjust SignerWithWitness scopes parsing 2023-07-20 10:33:48 +03:00
witness_test.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
witnessaction_string.go transaction: add new Rules witness scope 2021-11-12 15:29:28 +03:00
witnessconditiontype_string.go *: update Stringers wrt fresh Stringer version 2023-10-19 11:33:07 +03:00