Skip to content

LTC transition#277

Merged
ca333 merged 17 commits intoKomodoPlatform:LTC-devfrom
Alrighttt:LTC-dev
Apr 22, 2021
Merged

LTC transition#277
ca333 merged 17 commits intoKomodoPlatform:LTC-devfrom
Alrighttt:LTC-dev

Conversation

@Alrighttt
Copy link
Copy Markdown
Contributor

This is a very simple change that will change all functionality from BTC to LTC. If we require both to function simultaneously, please let me know, but I expect this to be sufficient.

If there is some need to follow the dpow/iguana/coins convention for activating LTC. I believe the m_notary_LTC_testnet activates it in a more sensible way, and I would like to see the new equivalent to m_notary_KMD follow this same format.

A small testnet has been running for the past week. I will roll out these changes to the larger 2021-testnet in about 6 hours from this post. You can see the result of it here:
https://live.blockcypher.com/ltc/address/LhGojDga6V1fGzQfNGcYFAfKnDvsWeuAsP/

Please squash when merged as there are commits pertaining to a temporary testnet that do not belong in the main repo.

@Alrighttt Alrighttt requested a review from ca333 March 30, 2021 05:41
# Unlock wallet.
./wp_testnet

curl --url "http://127.0.0.1:7776" --data "{\"conf\":\"litecoin.conf\",\"path\":\"${HOME#"/"}/.litecoin\",\"prefetchlag\":-1,\"poll\":1,\"active\":1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"newcoin\":\"LTC\",\"startpend\":64,\"endpend\":64,\"services\":0,\"maxpeers\":512,\"RELAY\":-1,\"VALIDATE\":0,\"portp2p\":10111,\"minconfirms\":1,\"name\":\"litecoin\",\"netmagic\":\"deadbeef\",\"p2p\":9333,\"rpc\":9332,\"pubval\":48,\"p2shval\":5,\"wifval\":176}"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we change deadbeef to fbc0b6db just for clarity - https://github.com/litecoin-project/litecoin/blob/master/src/chainparams.cpp#L104-L107

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is dead code from when iguana acted as a full node. I will change it for the sake of consistency.

@ca333 ca333 requested a review from DeckerSU March 31, 2021 14:52
Copy link
Copy Markdown
Contributor

@DeckerSU DeckerSU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@ca333 ca333 merged commit 057c1fa into KomodoPlatform:LTC-dev Apr 22, 2021
ca333 added a commit that referenced this pull request Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants