• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bernardladenthin / BitcoinAddressFinder / #352

19 Jul 2025 08:06AM UTC coverage: 70.173% (+0.2%) from 69.971%
#352

push

bernardladenthin
Implement keyProducerJavaIncremental, see #27

28 of 31 new or added lines in 8 files covered. (90.32%)

1461 of 2082 relevant lines covered (70.17%)

0.7 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

80.0
/src/main/java/net/ladenthin/bitcoinaddressfinder/configuration/CKeyProducerJavaIncremental.java
1
// @formatter:off
2
/**
3
 * Copyright 2025 Bernard Ladenthin bernard.ladenthin@gmail.com
4
 *
5
 * Licensed under the Apache License, Version 2.0 (the "License");
6
 * you may not use this file except in compliance with the License.
7
 * You may obtain a copy of the License at
8
 *
9
 *    http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 * Unless required by applicable law or agreed to in writing, software
12
 * distributed under the License is distributed on an "AS IS" BASIS,
13
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 * See the License for the specific language governing permissions and
15
 * limitations under the License.
16
 *
17
 */
18
// @formatter:on
19
package net.ladenthin.bitcoinaddressfinder.configuration;
20

21
import java.math.BigInteger;
22
import net.ladenthin.bitcoinaddressfinder.BitHelper;
23
import net.ladenthin.bitcoinaddressfinder.PublicKeyBytes;
24

25
public class CKeyProducerJavaIncremental extends CKeyProducerJava {
1✔
26
    
27
    public String startAddress = PublicKeyBytes.MIN_VALID_PRIVATE_KEY.toString(BitHelper.RADIX_HEX).toUpperCase();
1✔
28
    public String endAddress = PublicKeyBytes.MAX_PRIVATE_KEY_HEX;
1✔
29
    
30
    public BigInteger getStartAddress() {
NEW
31
        return new BigInteger(startAddress, BitHelper.RADIX_HEX);
×
32
    }
33
    
34
    public BigInteger getEndAddress() {
35
        return new BigInteger(endAddress, BitHelper.RADIX_HEX);
1✔
36
    }
37
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc