repo
stringlengths
1
191
file
stringlengths
23
351
code
stringlengths
0
5.32M
file_length
int64
0
5.32M
avg_line_length
float64
0
2.9k
max_line_length
int64
0
288k
extension_type
stringclasses
1 value
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/jsontestsuite/suite/validators/OutputValidator.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
1,868
34.942308
107
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/jsontestsuite/suite/validators/LogsValidator.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
3,568
34.69
131
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/jsontestsuite/suite/runners/StateTestRunner.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
6,305
36.987952
123
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/jsontestsuite/suite/runners/TransactionTestRunner.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
4,883
39.7
127
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/jsontestsuite/suite/model/BlockHeaderTck.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
4,899
23.257426
80
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/jsontestsuite/suite/model/BlockTck.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,541
25.479167
80
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/jsontestsuite/suite/model/TransactionDataTck.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
3,500
23.144828
131
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/jsontestsuite/suite/model/LogTck.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
1,565
23.46875
80
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/jsontestsuite/suite/model/TransactionTck.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
3,008
20.963504
80
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/jsontestsuite/suite/model/EnvTck.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,223
26.8
80
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/jsontestsuite/suite/model/PostDataTck.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,273
23.989011
80
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/jsontestsuite/suite/model/AccountTck.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,146
23.123596
80
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/longrun/FastSyncSanityTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
9,417
35.933333
134
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/longrun/HardExitSanityTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
12,197
37.238245
142
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/longrun/SyncSanityTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
7,234
33.452381
131
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/longrun/BasicNode.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
6,310
30.39801
133
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/longrun/BlockchainValidation.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
11,259
45.337449
157
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/longrun/TrieTraversal.java
package org.ethereum.longrun; import org.ethereum.core.AccountState; import org.ethereum.crypto.HashUtil; import org.ethereum.datasource.NodeKeyCompositor; import org.ethereum.datasource.Source; import org.ethereum.datasource.SourceCodec; import org.ethereum.trie.SecureTrie; import org.ethereum.trie.TrieImpl; import o...
12,508
38.711111
146
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/longrun/SyncWithLoadTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
12,408
38.022013
153
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/mine/MinerTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
21,837
62.298551
3,171
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/mine/SyncDoneTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
14,679
38.146667
181
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/mine/EthashValidationHelperTest.java
package org.ethereum.mine; import org.junit.Test; import static org.ethereum.mine.EthashValidationHelper.CacheOrder.direct; import static org.ethereum.mine.EthashValidationHelper.CacheOrder.reverse; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Asse...
7,996
36.721698
92
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/mine/EthashTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
33,792
100.786145
2,124
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/mine/FutureTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
5,117
38.369231
127
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/mine/MineBlock.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
3,696
34.548077
124
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/mine/ExternalMinerTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
4,498
35.877049
117
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/PeerTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,285
28.307692
137
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/HelloMessageTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
4,637
40.410714
282
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/NewBlockMessageTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
1,991
41.382979
694
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/MessageRoundtripTest.java
package org.ethereum.net; import org.ethereum.net.p2p.P2pMessage; import org.junit.Test; import static org.junit.Assert.*; import static org.mockito.Mockito.mock; /** * @author alexbraz * @since 29/03/2019 */ public class MessageRoundtripTest { @Test public void testMessageNotAnswered(){ P2pMessa...
1,330
27.319149
78
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/TransactionsMessageTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
9,079
42.864734
256
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/PingPongMessageTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
1,686
30.240741
80
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/NettyTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
5,356
39.278195
111
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/UdpTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
8,457
38.339535
178
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/TwoPeerTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
11,278
40.164234
213
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/DisconnectMessageTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
3,746
32.455357
98
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/NewBlockHashesMessageTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,336
39.293103
173
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/StatusMessageTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
1,854
34.673077
190
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/eth/MessagesTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
27,403
569.916667
25,723
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/eth/handler/ProcessNewBlockHashesTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
4,891
37.519685
123
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/eth/handler/HeaderMessageValidationTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
7,386
47.281046
113
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/eth/handler/LockBlockchainTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
8,647
38.309091
1,061
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/p2p/EIP8P2pTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
1,567
35.465116
100
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/wire/AdaptiveMessageIdsTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
7,490
47.960784
111
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/swarm/MessageTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,196
37.54386
99
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/swarm/RLPTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,623
29.870588
93
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/swarm/ManifestTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,426
31.797297
92
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/swarm/KademliaTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
3,312
32.806122
96
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/swarm/StringTrieTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
3,406
24.616541
80
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/swarm/SimpleDPA.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
1,894
28.153846
80
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/swarm/BzzProtocolTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
22,426
37.011864
122
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/swarm/ChunkerTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,419
31.702703
90
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/swarm/GoPeerTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
1,623
32.833333
81
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/shh/FilterTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,788
30.693182
89
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/shh/ShhTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
6,161
37.273292
135
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/shh/TopicTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
1,270
30.775
80
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/shh/BloomFilterTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
1,752
32.711538
81
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/shh/ShhLongRun.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
11,235
40.157509
171
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/shh/EnvelopeTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
5,618
43.952
248
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/rlpx/SnappyConnectionTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
4,650
34.234848
175
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/rlpx/EncryptionHandshakeTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,373
37.290323
88
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/rlpx/FramingTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
4,825
34.485294
175
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/rlpx/EIP8DiscoveryTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
5,462
52.038835
112
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/rlpx/RlpxConnectionTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
4,263
37.763636
101
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/rlpx/SnappyCodecTest.java
/* * Copyright (c) [2017] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
3,953
38.54
108
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/rlpx/SanityLongRunTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
7,801
37.623762
166
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/rlpx/KademliaTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
3,896
27.445255
128
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/rlpx/EIP8HandshakeTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
12,334
56.372093
132
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/rlpx/RLPXTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
12,250
42.137324
1,257
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/net/rlpx/discover/QueueTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,827
29.408602
83
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/BlockReplayTest.java
package org.ethereum.datasource; import org.ethereum.core.Block; import org.ethereum.core.Genesis; import org.ethereum.datasource.inmem.HashMapDB; import org.ethereum.db.IndexedBlockStore; import org.ethereum.db.TransactionStore; import org.ethereum.listener.BlockReplay; import org.ethereum.listener.EthereumListener; ...
4,370
31.619403
90
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/BlockSerializerTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
5,033
40.262295
120
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/AsyncWriteCacheTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
5,821
32.653179
93
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/RocksDbDataSourceTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
5,552
38.105634
167
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/CountingBytesSourceTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
4,203
30.140741
80
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/TrieNodeSourceTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
7,823
47
138
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/CountingQuotientFilterTest.java
package org.ethereum.datasource; import org.ethereum.datasource.CountingQuotientFilter; import org.junit.Ignore; import org.junit.Test; import static org.ethereum.crypto.HashUtil.sha3; import static org.ethereum.util.ByteUtil.intToBytes; /** * @author Mikhail Kalinin * @since 15.02.2018 */ public class CountingQu...
4,736
28.981013
89
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/LevelDbDataSourceTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,232
30.450704
80
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/WriteCacheTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
6,470
40.480769
115
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/BloomFilterTest.java
package org.ethereum.datasource; import org.junit.Test; import java.io.UnsupportedEncodingException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.UUID; import static org.junit.Assert.*; /** * The class mostly borrowed from http://github.co...
12,178
29.989822
113
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/JournalPruneTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
13,569
30.412037
80
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/TrieNodeSourceIntegrationTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
8,916
44.728205
138
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/SourceCodecTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
3,930
35.06422
123
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/ReadCacheTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
3,360
35.532609
97
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/BatchSourceWriterTest.java
package org.ethereum.datasource; import org.junit.Test; import java.math.BigInteger; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.mock; /** * @author alexbraz * @since 29/03/2019 */ public class BatchSourceWriterTest { @Test pu...
988
24.358974
87
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/ReadWriteCacheTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,988
34.583333
111
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/MultiThreadSourcesTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
15,851
34.622472
118
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/ObjectDataSourceTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
3,855
34.376147
92
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/datasource/RepoNewTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
8,625
42.786802
89
java
ethereumj
ethereumj-master/ethereumj-core/src/test/java/org/ethereum/log/DecodeLogTest.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
8,152
51.262821
351
java
ethereumj
ethereumj-master/ethereumj-core/src/main/java/org/ethereum/ConcatKDFBytesGenerator.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
4,737
28.067485
92
java
ethereumj
ethereumj-master/ethereumj-core/src/main/java/org/ethereum/Start.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
4,348
34.942149
101
java
ethereumj
ethereumj-master/ethereumj-core/src/main/java/org/ethereum/cli/CLIInterface.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
6,090
32.467033
139
java
ethereumj
ethereumj-master/ethereumj-core/src/main/java/org/ethereum/crypto/ECKey.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
46,166
36.903941
148
java
ethereumj
ethereumj-master/ethereumj-core/src/main/java/org/ethereum/crypto/HashUtil.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
9,384
32.637993
98
java
ethereumj
ethereumj-master/ethereumj-core/src/main/java/org/ethereum/crypto/MGF1BytesGeneratorExt.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
3,502
35.873684
116
java
ethereumj
ethereumj-master/ethereumj-core/src/main/java/org/ethereum/crypto/ECIESCoder.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
10,304
40.552419
141
java
ethereumj
ethereumj-master/ethereumj-core/src/main/java/org/ethereum/crypto/ECIESPublicKeyEncoder.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
1,325
38
89
java
ethereumj
ethereumj-master/ethereumj-core/src/main/java/org/ethereum/crypto/EthereumIESEngine.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
14,452
30.148707
132
java
ethereumj
ethereumj-master/ethereumj-core/src/main/java/org/ethereum/crypto/jce/ECKeyPairGenerator.java
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
3,228
34.483516
127
java