Commit Graph

2 Commits

Author SHA1 Message Date
Pieter Wuille
4e7ac7b94d Make ProcessNextHeaders use the headers argument as in/out
This allows reusing the same vector storage for input and output headers to
HeadersSync::ProcessNextHeaders. It's also natural in the sense that this argument
just represents the headers-to-be-processed, both in the caller and the callee, and
both before and after the calls.
2022-09-01 08:30:09 -04:00
Suhas Daftuar
0b6aa826b5 Add unit test for HeadersSyncState 2022-08-29 08:10:35 -04:00