forked from openwalletGH/openwallet-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1420eb9
commit 87da17d
Showing
8 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
core/src/main/java/com/coinomi/core/coins/RichcoinMain.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package com.coinomi.core.coins; | ||
|
||
import com.coinomi.core.coins.families.BitFamily; | ||
import com.coinomi.core.coins.families.ReddFamily; | ||
|
||
import org.bitcoinj.core.Coin; | ||
|
||
/** | ||
* @author Ahmed Bodiwala | ||
*/ | ||
public class RichcoinMain extends BitFamily { | ||
private RichcoinMain() { | ||
id = "richcoin.main"; | ||
|
||
addressHeader = 61; | ||
p2shHeader = 9; | ||
acceptableAddressCodes = new int[] { addressHeader, p2shHeader }; | ||
spendableCoinbaseDepth = 100; | ||
dumpedPrivateKeyHeader = 128; | ||
|
||
name = "Richcoin (beta)"; | ||
symbol = "RICHX"; | ||
uriScheme = "richcoin"; | ||
bip44Index = 80; | ||
unitExponent = 8; | ||
feeValue = value(100000); | ||
minNonDust = value(1000000); | ||
softDustLimit = value(100000000); | ||
softDustPolicy = SoftDustPolicy.BASE_FEE_FOR_EACH_SOFT_DUST_TXO; | ||
signedMessageHeader = toBytes("Richcoin Signed Message:\n"); | ||
|
||
} | ||
|
||
private static RichcoinMain instance = new RichcoinMain(); | ||
public static synchronized RichcoinMain get() { | ||
return instance; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.