Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

What is network value of REGTEST? #25

Open
rlaace423 opened this issue Jan 6, 2021 · 2 comments
Open

What is network value of REGTEST? #25

rlaace423 opened this issue Jan 6, 2021 · 2 comments

Comments

@rlaace423
Copy link

Hello, I have a question about network parameters.

I have used below values for litecoin testnet

{
  messagePrefix: '\x19Litecoin Signed Message:\n',
  bech32: 'tltc',
  bip32: {
    public: 0x0436f6e1,
    private: 0x0436ef7d,
  },
  pubKeyHash: 0x6f,
  scriptHash: 0x3a,
  wif: 0xef,
}

And I'm trying to find REGTEST values, but in https://github.com/litecoin-project/litecore-lib/blob/segwit/lib/networks.js,
It uses almost same values with TESTNET.

What is correct value of REGTEST?

@losh11
Copy link

losh11 commented Jan 6, 2021 via email

@rlaace423
Copy link
Author

Hi, you can find regtest params here: https://github.com/litecoin-project/litecoin/blob/master/src/chainparams.cpp#L273

On Wed, 6 Jan 2021 at 09:47, Sam (Sangho Kim) @.***> wrote: Hello, I have a question about network parameters. I have used below values for litecoin testnet { messagePrefix: '\x19Litecoin Signed Message:\n', bech32: 'tltc', bip32: { public: 0x0436f6e1, private: 0x0436ef7d, }, pubKeyHash: 0x6f, scriptHash: 0x3a, wif: 0xef, } And I'm trying to find REGTEST values, but in https://github.com/litecoin-project/litecore-lib/blob/segwit/lib/networks.js , It uses almost same values with TESTNET. What is correct value of REGTEST? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#25>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAT43OWQTPR7EOBGTNUGSJ3SYQWUZANCNFSM4VXIZ2WA .

Thank you for your reply, link you provided helps me a lot!

And I have another question.

Which file contains Ltpv (0x019D9CFE), Ltub (0x019DA462) values? chainparams.cpp only has values for xpub, xpriv.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants