108 Commits (fe862c5ad4bdce6bcc3bf8712d9472561b270c02)

Author SHA1 Message Date
practicalswift 64fb0ac016 Declare single-argument (non-converting) constructors "explicit" 7 years ago
Jeremy Rubin 4cac0d1e04 Fix subscript[0] in validation.cpp 8 years ago
Gregory Maxwell 45f09618f2 Prevent integer overflow in ReadVarInt. 8 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016 8 years ago
Karl-Johan Alm 8c1dbc5e9d Refactor: Removed begin/end_ptr functions. 8 years ago
Pieter Wuille 0e85204a10 Add serialization for unique_ptr and shared_ptr 8 years ago
Pieter Wuille 25a211aa9e Add optimized CSizeComputer serializers 8 years ago
Pieter Wuille a2929a26f5 Make CSerAction's ForRead() constexpr 8 years ago
Pieter Wuille a603925c77 Avoid -Wshadow errors 8 years ago
Pieter Wuille 528472111b Get rid of nType and nVersion 8 years ago
Pieter Wuille 657e05ab2e Make GetSerializeSize a wrapper on top of CSizeComputer 8 years ago
Pieter Wuille fad9b66504 Make nType and nVersion private and sometimes const 8 years ago
Pieter Wuille c2c5d42f36 Make streams' read and write return void 8 years ago
Cory Fields b98c14c4e3 serialization: teach serializers variadics 8 years ago
Wladimir J. van der Laan f00705ae7f
serialize: Deprecate `begin_ptr` / `end_ptr` 8 years ago
Christian Barcenas 7bd5ff4623 Trivial: Fix two VarInt examples in serialize.h 8 years ago
Matt Corallo 5249daca5a Add COMPACTSIZE wrapper similar to VARINT for serialization 9 years ago
MarcoFalke fa24439ff3 Bump copyright headers to 2015 9 years ago
Pieter Wuille 114b5812f6 Prevector type 9 years ago
Philip Kaufmann 5207f33f45 fix header include groups 10 years ago
Wladimir J. van der Laan 01f9c3449a src/serialize.h: base serialization level endianness neutrality 10 years ago
Pavel Janík 5262fde0ec Remove whitespaces before double colon in errors and logs 10 years ago
sandakersmann f914f1a746
Added "Core" to copyright headers 10 years ago
Michael Ford 1c0aa9110e Update serialize comments to be doxygen compatible 10 years ago
Cory Fields fa7361907a boost: split stream classes out of serialize.h 10 years ago
Wladimir J. van der Laan a873823864
CAutoFile: Explicit Get() and remove unused methods 10 years ago
Ruben Dario Ponticeli fef24cab1a Add IsNull() to class CAutoFile and remove operator ! 10 years ago
Cory Fields 52955068b7 boost: drop dependency on tuple in serialization 10 years ago
Cory Fields 1d9b86d584 boost: drop dependency on is_fundamental in serialization 10 years ago
Philip Kaufmann 938bccebf1 CAutoFile: make file private 10 years ago
Philip Kaufmann 0c35486dc9 CBufferedFile: add explicit close function 10 years ago
Philip Kaufmann c9fb27da0a CBufferedFile: convert into a non-refcounted RAII wrapper 10 years ago
sinetek 775b7b8d70 LLu is standard, but not portable. use ULL 10 years ago
Cory Fields 6eb67b0ed2 autofile: Disallow by-value copies of CAutoFile 10 years ago
ENikS 87314c1c5e Fixing improper input syntax and failing bounds check 10 years ago
Philip Kaufmann 611116d4e3 header include cleanup 10 years ago
Pieter Wuille 3f6540ad8f Rename IMPLEMENT_SERIALIZE to ADD_SERIALIZE_METHODS 10 years ago
Pieter Wuille 31e9a8384a Use CSizeComputer to avoid counting sizes in SerializationOp 10 years ago
Kamil Domanski 84881f8c47 rework overhauled serialization methods to non-static 10 years ago
Kamil Domanski 5d96b4ae01 remove fields of ser_streamplaceholder 10 years ago
Kamil Domanski 3d796f8996 overhaul serialization code 10 years ago
Philip Kaufmann 093303a887 add missing header end comments 10 years ago
Kamil Domanski 8695a39350 replace int with size_t in stream methods 10 years ago
Pieter Wuille eb0b56b190 Simplify serialize.h's exception handling 11 years ago
Pieter Wuille 216e9a4456 Add a way to limit deserialized string lengths 11 years ago
Pieter Wuille b069750d3f Break up CAddrMan's IMPLEMENT_SERIALIZE 11 years ago
Wladimir J. van der Laan fa126effc2
Avoid undefined behavior using CFlatData in CScript serialization 11 years ago
Yoichi Hirai fbf617a5f1 remove an assignment which is never used. 11 years ago
Brandon Dahler 51ed9ec971 Cleanup code using forward declarations. 11 years ago
Gavin Andresen d5d1425657 Bug fix: CDataStream::GetAndClear() when nReadPos > 0 11 years ago