- Apr 17, 2015
-
-
Felix Lange authored
-
Felix Lange authored
-
Felix Lange authored
The rules have changed as follows: * When decoding into pointers, empty values no longer produce a nil pointer. This can be overriden for struct fields using the struct tag "nil". * When decoding into structs, the input list must contain an element for each field.
-
Felix Lange authored
Input strings of length 1 containing a byte < 56 are non-minimal and should be encoded as a single byte instead. Reject such strings.
-
Felix Lange authored
All integers (including size information in type tags) need to be encoded using the smallest possible encoding. This commit expands the stricter validation introduced for *big.Int in commit 59597d23 to all integer types and size tags.
-
Felix Lange authored
A single zero byte carries information and should not set the pointer to nil. This is arguably a corner case. While here, fix the comment to explain pointer reuse.
-
Felix Lange authored
-
Felix Lange authored
-
Felix Lange authored
It is not safe to add anything to s.size.
-
Felix Lange authored
-
Felix Lange authored
This is a preliminary fix for #420 (SEC-18 RLP decoder unsafe allocation). If a sane input limit is set on the rlp.Stream, it should no longer be possible to cause huge []byte allocations.
-
Felix Lange authored
Whisper cleanup, part 2
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Jeffrey Wilcke authored
p2p: fix the dial timer
-
Felix Lange authored
The dial timer was not reset properly when the peer count reached MaxPeers.
-
- Apr 16, 2015
-
-
Jeffrey Wilcke authored
Fix RPC Call output when empty
-
Jeffrey Wilcke authored
-
Jeffrey Wilcke authored
-
Jeffrey Wilcke authored
Update transaction tests
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Jeffrey Wilcke authored
-
- Apr 15, 2015
-
-
Jeffrey Wilcke authored
Properly ignore blocks coming from peers not in our peer list (blocked) and do never request anything from bad peers. Added some checks to account for blocks known when requesting hashes (missing parents).
-
Jeffrey Wilcke authored
-
Gustav Simonsson authored
* Include tests which now has consistent HEX encodings * Comment out two failing tests: " "TransactionWithHihghNonce" due to wrong nonce size "TransactionWithSvalueHigh" due to wrong ECDSA s range * Cleanup conversion functions and fix expected encodings for tests validation fields
-
Gustav Simonsson authored
-
Taylor Gerring authored
-
Jeffrey Wilcke authored
-
Jeffrey Wilcke authored
NOTE: For known, non-consensus, hard to reproduce bugs consider the following method `common.Report("extra", stuff, "you need logged")` will give you a stack trace and a friendly request to submit it as an issue on our issue tracker.
-
Jeffrey Wilcke authored
-
Péter Szilágyi authored
-
Jeffrey Wilcke authored
Log filter `Address` field was cast to a Hash which causes it to always fail.
-
Jeffrey Wilcke authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
- Apr 14, 2015
-
-
Jeffrey Wilcke authored
-
Jeffrey Wilcke authored
-
Jeffrey Wilcke authored
-