Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ElementsProject/lightning
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Feathercoin-Applications/lightning
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 5 commits
  • 2 files changed
  • 1 contributor

Commits on Mar 17, 2022

  1. Copy the full SHA
    a672825 View commit details

Commits on Mar 22, 2022

  1. Copy the full SHA
    5697521 View commit details

Commits on Apr 1, 2022

  1. Copy the full SHA
    1ab81bc View commit details

Commits on Nov 23, 2022

  1. Copy the full SHA
    1227085 View commit details
  2. Copy the full SHA
    5fbd4a1 View commit details
Showing with 58 additions and 0 deletions.
  1. +56 −0 bitcoin/chainparams.c
  2. +2 −0 external/.gitignore
56 changes: 56 additions & 0 deletions bitcoin/chainparams.c
Original file line number Diff line number Diff line change
@@ -239,6 +239,62 @@ const struct chainparams networks[] = {
.bip32_key_version = {.bip32_pubkey_version = BIP32_VER_MAIN_PUBLIC,
.bip32_privkey_version = BIP32_VER_MAIN_PRIVATE},
.is_elements = true},

{.network_name = "feathercoin",
.onchain_hrp = "fc",
.lightning_hrp = "fc",
.bip70_name = "main",

//12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2
.genesis_blockhash = {{{.u.u8 = {0xe2, 0xbf, 0x04, 0x7e, 0x7e, 0x5a, 0x19,
0x1a, 0xa4, 0xef, 0x34, 0xd3, 0x14, 0x97,
0x9d, 0xc9, 0x98, 0x6e, 0x0f, 0x19, 0x25,
0x1e, 0xda, 0xba, 0x59, 0x40, 0xfd, 0x1f,
0xe3, 0x65, 0xa7, 0x12}}}},

.rpc_port = 9336,
.cli = "feathercoin-cli",
.cli_args = NULL,
.cli_min_supported_version = 150000,
.dust_limit = { 546 },
.max_funding = AMOUNT_SAT_INIT(((1 << 24) - 1)),
.max_supply = AMOUNT_SAT_INIT(2100000000000000),
.max_payment = AMOUNT_MSAT_INIT(60 * 0xFFFFFFFFULL),
.when_lightning_became_cool = 4087000,
.p2pkh_version = 0x14,
.p2sh_version = 0x5,
.testnet = false,
.fee_asset_tag = NULL,
.bip32_key_version = {.bip32_pubkey_version = BIP32_VER_MAIN_PUBLIC,
.bip32_privkey_version = BIP32_VER_MAIN_PRIVATE},
.is_elements = false},
{.network_name = "feathercoin-testnet",
.onchain_hrp = "tfc",
.lightning_hrp = "tfc",
.bip70_name = "feathercoin-test",
.genesis_blockhash = {{{.u.u8 = {0x79, 0xe4, 0x68, 0x3a, 0x94, 0xfb, 0x03,
0x74, 0xac, 0x9d, 0x52, 0x63, 0x8b, 0x59,
0x4d, 0xcf, 0x03, 0x18, 0x97, 0x5a, 0xcb,
0x8b, 0x27, 0x5e, 0x28, 0x0f, 0x93, 0xc0,
0x82, 0xc0, 0x96, 0x4c}}}},


.rpc_port = 19336,
.cli = "feathercoin-cli",
.cli_args = "-testnet",
.cli_min_supported_version = 150000,
.dust_limit = { 100000 },
.max_funding = AMOUNT_SAT_INIT(60 * ((1 << 24) - 1)),
.max_payment = AMOUNT_MSAT_INIT(60 * 0xFFFFFFFFULL),
.max_supply = AMOUNT_SAT_INIT(2100000000000000),
.when_lightning_became_cool = 1,
.p2pkh_version = 111,
.p2sh_version = 58,
.testnet = true,
.fee_asset_tag = NULL,
.bip32_key_version = {.bip32_pubkey_version = BIP32_VER_TEST_PUBLIC,
.bip32_privkey_version = BIP32_VER_TEST_PRIVATE},
.is_elements = false}
};

const struct chainparams *chainparams_for_network(const char *network_name)
2 changes: 2 additions & 0 deletions external/.gitignore
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@ x86_64-linux-gnu
aarch64-linux-gnu
arm-linux-gnueabihf
x86_64-pc-linux-gnu
<<<<<<< HEAD
x86_64-suse-linux
arm64-apple-darwin*
x86_64-apple-darwin*