Commit 7699366
committed
Merge rust-bitcoin#4911: bitcoin: add "extreme object size" deserialization unit test
1c18ed9 bitcoin: add "extreme object size" deserialization unit test (Andrew Poelstra)
Pull request description:
As promised in rust-bitcoin#4762
I am not convinced that our decoding of large transactions and blocks is properly tested to make sure that we don't accidentally start rejecting very large objects. Add a unit test specifically for this.
ACKs for top commit:
tcharding:
ACK 1c18ed9
Tree-SHA512: 8271761d1bc1b5c7210c0f4871a8cce4b61305a09996d265c1c44dedcbd829fd5848f48ce976e6be348fae2a22b200f9b398c473e6d7594ff62ddacff1657ab31 file changed
+41
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1058 | 1058 | | |
1059 | 1059 | | |
1060 | 1060 | | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
1061 | 1102 | | |
0 commit comments