-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Conversation
… parsedRlp. Create a new method makeRlp() that reconstructs and returns an rlp from a parsedRlp LList object. Add (parsedRlp != null) case to the if (!dirty) section of the encode method. Note that the newly created rlp length may be >= 32, so it may need to be saved and returned as a hash. The last section of the else clause handles saving a new rlp. Move this section of code out of the else clause so it can handle a new rlp from either the if or else clause.
(cherry picked from commit 77a01b0)
- NodeFilterTest's acceptNullIpPatternAsCatchAllForNodes and doNotAcceptNullIpPatternAsCatchAllForInetAddresses seem to indicate a discrepancy between InetAddress and Node acceptance. Smells like a potential bug. - NodeFilterTest's acceptInvalidNodeHostnameWhenUsingWildcard and doNotAcceptInvalidNodeHostnameWhenUsingPattern seem to indicate a discrepancy in acceptance logic. Smells like a potential bug. - SystemPropertiesTest's testExposeBugWhereNonHexEncodedIsAcceptedWithoutValidation seems to indicate that private key validation is not correct.
- EIP-706 provides snappy samples. FrameCodec should be able to decode these samples.
Fix word misspelled: thisLenght -> thisLength
remove broken blog link
@@ -203,6 +203,7 @@ database { | |||
# controls how much last block states are not pruned | |||
# it is not recommneded to set this value below 192 | |||
# as it can prevent rebranching from long fork chains | |||
# consider enlarging cache.pruneWindowCacheSize if you want to increase maxDepth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
property is pruneCacheSize
# maximum size (in Mb) the state bloom fiter can grow up to | ||
# when reaching this threshold the bloom filter | ||
# is turned off forever | ||
# 128M can manage approx up to 50M of db entries | ||
# deprecated, states source is no more backed with bloom filter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may be capitalize DEPRECATED or smth like this, looks like a wall of text
same for the next "deprecated" note
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea 👍
import org.ethereum.datasource.ObjectDataSource; | ||
import org.ethereum.datasource.Serializer; | ||
import org.ethereum.datasource.Source; | ||
import org.ethereum.datasource.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
imports: LevelDbDataSource unused
do we use * imports?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, we don't
@@ -22,6 +22,7 @@ | |||
import org.ethereum.datasource.*; | |||
import org.ethereum.trie.*; | |||
import org.ethereum.vm.DataWord; | |||
import org.spongycastle.util.encoders.Hex; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused import
@RunWith(SpringJUnit4ClassRunner.class) | ||
@ContextConfiguration(loader = AnnotationConfigContextLoader.class) | ||
@NoAutoscan | ||
@Ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why ignored? It's not very long
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decided to create similar integration test which uses memory instead of disk and don't need whole context to be involved
…indows DLL (works starting from SSE4.2 CPU architecture and Win Vista)
…nto feature/db-upgrade
This change fixes bulk test run issue which is somehow related to incorrect blockchain config. Only bulk run was affected by this problem.
No description provided.