Litecoin: สกุลเงินอินเทอร์เน็ตแบบ Peer-to-Peer

Litecoin: A Peer-to-Peer Internet Currency

作者 Charlie Lee · 2011

Litecoin 没有自己的白皮书。由 Charlie Lee 于 2011 年作为 Bitcoin 的分叉创建,在 Bitcoin 设计基础上采用 Scrypt 哈希算法并将出块时间改为 2.5 分钟。本页面所呈现的内容基于 Bitcoin 原始白皮书,该白皮书是 Litecoin 的技术基础。

Introduction

Introduction

Litecoin is the result of some of us who joined together on IRC in an effort to create a real alternative currency similar to Bitcoin. We wanted to make a coin that is silver to Bitcoin's gold. Various alternative currencies have come and gone. Some brought innovation, but they all had problems.

Litecoin is a peer-to-peer Internet currency that enables instant, near-zero cost payments to anyone in the world. Litecoin is an open source, global payment network that is fully decentralized without any central authorities. Mathematics secures the network and empowers individuals to control their own finances. Litecoin features faster transaction confirmation times and improved storage efficiency than the leading mathbased currency. With substantial industry support, trade volume and liquidity, Litecoin is a proven medium of commerce complementary to Bitcoin.

การแนะนำ

Litecoin เป็นผลมาจากพวกเราบางคนที่รวมตัวกันใน IRC ด้วยความพยายามที่จะสร้าง สกุลเงินทางเลือกจริงที่คล้ายกับ Bitcoin เราต้องการสร้างเหรียญที่เป็นเงิน Bitcoin ทองคำ สกุลเงินทางเลือกต่างๆ เข้ามาและหายไป บ้างก็นำมา นวัตกรรม แต่พวกเขาทั้งหมดมีปัญหา

Litecoin เป็นสกุลเงินอินเทอร์เน็ตแบบเพียร์ทูเพียร์ที่เปิดใช้งานทันทีและมีค่าใช้จ่ายเกือบเป็นศูนย์ การชำระเงินให้กับทุกคนในโลก Litecoin เป็นเครือข่ายการชำระเงินแบบโอเพ่นซอร์สระดับโลก ที่มีการกระจายอำนาจอย่างสมบูรณ์โดยไม่มีหน่วยงานกลาง คณิตศาสตร์มีความปลอดภัย เครือข่ายและให้อำนาจแก่บุคคลในการควบคุมการเงินของตนเอง Litecoin คุณสมบัติเร็วขึ้น เวลายืนยันการทำธุรกรรมและประสิทธิภาพการจัดเก็บที่ดีขึ้นกว่าสกุลเงินทางคณิตศาสตร์ชั้นนำ ด้วยการสนับสนุนทางอุตสาหกรรม ปริมาณการซื้อขาย และสภาพคล่อง Litecoin จึงเป็นเช่นนั้น สื่อการค้าที่ได้รับการพิสูจน์แล้วซึ่งเสริมกับ Bitcoin

Blockchain

Blockchain

The Litecoin blockchain is capable of handling higher transaction volume than its counterpart - Bitcoin. Due to more frequent block generation, the network supports more transactions without a need to modify the software in the future.
As a result, merchants get faster confirmation times, while still having ability to wait for more confirmations when selling bigger ticket items.

Wallet Encryption

Wallet encryption allows you to secure your wallet, so that you can view transactions and your account balance, but are required to enter your password before spending litecoins.
This provides protection from wallet-stealing viruses and trojans as well as a sanity check before sending payments.

Mining Reward

Miners are currently awarded with 25 new litecoins per block, an amount which gets halved roughly every 4 years (every 840,000 blocks).
The Litecoin network is therefore scheduled to produce 84 million litecoins, which is 4 times as many currency units as Bitcoin.

Open Source Software Litecoin is an open source software project released under the MIT/X11 license which gives you the power to run, modify, and copy the software and to distribute, at your option, modified copies of the software. The software is released in a transparent process that allows for independent verification of binaries and their corresponding source code.

 ixcoin - Nasakioto premined 580k coins. Seemed like a pump and dump. Competed with Bitcoin for GPU resources - Dead (~2 gh/s)  i0coin - Basically ixcoin without the premine. Not much support was given to this coin after it was released. - Dead (~5 gh/s)

 SolidCoin - Innovative quick transaction times. Appears to have been run aground by CoinHunter, its creator, due to insecure changes and immature forum presence. - Dead, shutdown by CoinHunter  GeistGeld - Lolcust premined 7.7 million coins. 15 second block time is probably a bit extreme. - Alive, but limping (~15 gh/s)  Tenebrix - Lolcust premined 7.7 million coins. CPU proof of work using scrypt is very innovative. Price doing fairly well on btc-e.com. - Alive (~0.003 gh/s)  Fairbrix - Basically Tenebrix without the premine. First launch was crippled due to bad config. Relaunch attacked initially - Doing OK now, but no exchange so far. - Alive, but limping (~0.0001 gh/s)

We wanted the best innovations of Bitcoin and these other currencies to create a coin with all of their benefits, but nearly none of their problems.

บล็อกเชน

Litecoin blockchain มีความสามารถในการจัดการปริมาณธุรกรรมที่สูงกว่า คู่กัน - Bitcoin. เนื่องจากการสร้างบล็อกบ่อยขึ้น เครือข่ายจึงรองรับ ทำธุรกรรมได้มากขึ้นโดยไม่จำเป็นต้องแก้ไขซอฟต์แวร์ในอนาคต
ส่งผลให้ร้านค้าได้รับเวลาการยืนยันที่รวดเร็วขึ้นโดยที่ยังสามารถรอได้ การยืนยันเพิ่มเติมเมื่อขายสินค้าตั๋วที่ใหญ่กว่า

การเข้ารหัสกระเป๋าเงิน

การเข้ารหัสกระเป๋าเงินช่วยให้คุณรักษาความปลอดภัยกระเป๋าเงินของคุณ เพื่อให้คุณสามารถดูธุรกรรมได้ และยอดเงินในบัญชีของคุณ แต่ต้องกรอกรหัสผ่านก่อนใช้จ่าย ไลท์คอยน์
สิ่งนี้ให้การป้องกันไวรัสและโทรจันที่ขโมยกระเป๋าเงินรวมถึงสุขภาพที่ดีด้วย ตรวจสอบก่อนส่งการชำระเงิน

รางวัลการขุด

ปัจจุบันผู้ขุดได้รับรางวัลเป็น 25 litecoins ใหม่ต่อบล็อก ซึ่งเป็นจำนวนที่ได้รับ ลดลงครึ่งหนึ่งทุกๆ 4 ปี (ทุกๆ 840,000 บล็อค)
เครือข่าย Litecoin จึงมีกำหนดผลิต 84 ล้าน litecoins ซึ่งเท่ากับ 4 เท่าของหน่วยสกุลเงินเท่ากับ Bitcoin

ซอฟต์แวร์โอเพ่นซอร์ส Litecoin เป็นโครงการซอฟต์แวร์โอเพ่นซอร์สที่เผยแพร่ภายใต้ลิขสิทธิ์ MIT/X11 ซึ่ง ให้อำนาจแก่คุณในการรัน แก้ไข และคัดลอกซอฟต์แวร์และแจกจ่ายได้ที่คุณ ตัวเลือกสำเนาซอฟต์แวร์ที่แก้ไขแล้ว ซอฟต์แวร์ถูกเผยแพร่อย่างโปร่งใส กระบวนการที่ช่วยให้สามารถตรวจสอบไบนารี่และสิ่งที่เกี่ยวข้องได้โดยอิสระ ซอร์สโค้ด

 ixcoin - Nasakioto ขุดเหรียญไว้ล่วงหน้า 580,000 เหรียญ ดูเหมือนปั๊มและการถ่ายโอนข้อมูล แข่งขันกับ Bitcoin สำหรับทรัพยากร GPU - ตาย (~2 gh/s)  i0coin - โดยพื้นฐานแล้ว ixcoin โดยไม่มีพรีมีน ไม่ได้รับการสนับสนุนมากนักในเรื่องนี้ เหรียญหลังจากที่มันออก - ตาย (~5 gh/s)

 SolidCoin - นวัตกรรมเวลาการทำธุรกรรมที่รวดเร็ว ปรากฏว่าถูกเกยตื้น โดย CoinHunter ผู้สร้าง เนื่องจากการเปลี่ยนแปลงที่ไม่ปลอดภัยและฟอรัมที่ไม่บรรลุนิติภาวะ การแสดงตน - ตายแล้ว ปิดตัวลงโดย CoinHunter  GeistGeld - Lolcust ขุดได้ 7.7 ล้านเหรียญ น่าจะเป็นช่วงบล็อก 15 วินาที สุดขั้วเล็กน้อย - ยังมีชีวิตอยู่แต่เดินกะโผลกกะเผลก (~15 gh/s)  Tenebrix - Lolcust ขุดได้ 7.7 ล้านเหรียญ CPU พิสูจน์การทำงานโดยใช้สคริปต์คือ นวัตกรรมมาก ราคาทำได้ค่อนข้างดีบน btc-e.com - มีชีวิตอยู่ (~0.003 gh/s)  Fairbrix - โดยพื้นฐานแล้ว Tenebrix โดยไม่มีพรีมีน การเปิดตัวครั้งแรกพิการเนื่องจาก ถึงการกำหนดค่าที่ไม่ดี การเปิดใหม่ถูกโจมตีในตอนแรก - ตอนนี้ใช้งานได้ดี แต่ไม่มีการแลกเปลี่ยน ไกล - ยังมีชีวิตอยู่ แต่เดินกะโผลกกะเผลก (~0.0001 gh/s)

เราต้องการนวัตกรรมที่ดีที่สุดของ Bitcoin และสกุลเงินอื่นๆ เหล่านี้เพื่อสร้างเหรียญ ด้วยคุณประโยชน์ทั้งหมดแต่แทบไม่มีปัญหาเลย

Proof of Work

Proof of Work

We really liked Tenebrix's Scrypt proof of work. Using Scrypt allows one to mine Litecoin while also mining Bitcoin. We humbly offer a big thanks to ArtForz for the implementation.

Premines

Litecoin will come with 150 premined coins: just the genesis block and the first 2 blocks to confirm the genesis is valid. We believe a coin needs to be released in a fair manner. Having one person (or a group) control a large amount of coins that can be used as they see fit is against the decentralized vision of Bitcoin. Yes, it is true that without a stash of premined coins, we will not be able to afford to pay for bounties, but we believe people will see the virtue of this coin, invest in it as early adopters, and will be willing to spend time creating services to make this coin better.

Fast transactions

We were impressed by the convenience of SolidCoin's fast transactions. Although we know that fast confirmations are not necessarily as secure as Bitcoin's slower confirmations, they are very convenient for small merchants who don't need transactions to be super secure. The average Litecoin block takes 2.5 minutes, one quarter of Bitcoin's 10 minutes. So if merchants wanted to be as safe as Bitcoin, they can wait for 4 times the number of Litecoin confirmations as compared to Bitcoin. But most merchants can readily accept 1-confirmed transactions for small amounts of litecoins.

Difficulty retarget

We will keep the retarget block the same as Bitcoin's 2016, but because blocks are found 4 times faster, difficulty will retarget about every 3.5 days. The combination of fast retarget times and Scrypt proof of work (Litecoin will not compete with Bitcoin for miners) means we expect to not see the sort of problem Namecoin encountered; hashing power that leaves more suddenly than it came, causing a high difficulty slog for everyone who stayed.

Coin generation

Miners will generate 50 coins per block. In light of our faster blocks, to properly mimic

Bitcoin's generation trajectory, we needed to change the blocks at which coin generation is halved. Bitcoin generation is halved every 210,000 blocks. Litecoin generation will be halved every 840,000 blocks. For those of you doing the math, Litecoin is scheduled to produce roughly 4 times as many coins as Bitcoin, about 84 million litecoins.

หลักฐานการทำงาน

เราชอบผลงาน Scrypt ของ Tenebrix มาก การใช้ Scrypt ช่วยให้สามารถขุด Litecoin ในขณะเดียวกันก็ขุด Bitcoin เราขอขอบคุณ ArtForz เป็นอย่างยิ่งสำหรับ การดำเนินการ

พรีมีน

Litecoin จะมาพร้อมกับ 150 เหรียญที่ขุดไว้ล่วงหน้า: เฉพาะบล็อกกำเนิดและ 2 บล็อกแรก เพื่อยืนยันว่ากำเนิดนั้นถูกต้อง เราเชื่อว่าต้องมีการเปิดตัวเหรียญในงาน ลักษณะ การมีคนเดียว (หรือกลุ่ม) ควบคุมเหรียญจำนวนมากที่สามารถทำได้ ใช้ตามที่เห็นสมควรขัดต่อวิสัยทัศน์แบบกระจายอำนาจของ Bitcoin ใช่มันเป็นความจริงอย่างนั้น หากไม่มีเหรียญที่ขุดไว้ล่วงหน้า เราจะไม่สามารถจ่ายค่าหัวได้ แต่ เราเชื่อว่าผู้คนจะเห็นคุณธรรมของเหรียญนี้ ลงทุนในเหรียญนี้ในฐานะผู้เริ่มใช้งานในช่วงแรก ๆ และจะตั้งใจ ยินดีที่จะใช้เวลาสร้างบริการเพื่อทำให้เหรียญนี้ดีขึ้น

การทำธุรกรรมที่รวดเร็ว

เราประทับใจกับความสะดวกในการทำธุรกรรมที่รวดเร็วของ SolidCoin แม้ว่าเรา โปรดทราบว่าการยืนยันที่รวดเร็วไม่จำเป็นต้องปลอดภัยเท่ากับ Bitcoin ที่ช้ากว่า การยืนยัน สะดวกมากสำหรับร้านค้ารายย่อยที่ไม่ต้องการทำธุรกรรม ให้มีความปลอดภัยสูง บล็อก Litecoin โดยเฉลี่ยใช้เวลา 2.5 นาที หนึ่งในสี่ของ Bitcoin 10 นาที ดังนั้นหากผู้ค้าต้องการความปลอดภัยเหมือน Bitcoin พวกเขาสามารถรอได้ 4 เท่าของจำนวนการยืนยัน Litecoin เมื่อเปรียบเทียบกับ Bitcoin แต่ส่วนใหญ่ ร้านค้าสามารถรับธุรกรรมที่ยืนยันแล้ว 1 ครั้งสำหรับ Litecoin จำนวนเล็กน้อยได้อย่างง่ายดาย

การกำหนดเป้าหมายใหม่ที่ยากลำบาก

เราจะเก็บบล็อกเป้าหมายใหม่ไว้เหมือนกับปี 2559 ของ Bitcoin แต่เนื่องจากพบบล็อกแล้ว เร็วขึ้น 4 เท่า ความยากจะกำหนดเป้าหมายใหม่ทุกๆ 3.5 วัน ผสมผสานความรวดเร็ว เวลากำหนดเป้าหมายใหม่และหลักฐานการทำงาน Scrypt (Litecoin จะไม่แข่งขันกับ Bitcoin สำหรับ miners) หมายความว่าเราคาดว่าจะไม่เห็นปัญหา Namecoin ที่พบ hashing พลังที่จากไปอย่างกะทันหันมากกว่าที่มาทำให้เกิดความยากลำบากอย่างมาก ทุกคนที่เข้าพัก

การสร้างเหรียญ

นักขุดจะสร้างเหรียญได้ 50 เหรียญต่อบล็อก ในแง่ของบล็อกที่เร็วกว่าของเราเพื่อเลียนแบบอย่างเหมาะสม

วิถีการสร้างของ Bitcoin เราจำเป็นต้องเปลี่ยนบล็อกที่สร้างเหรียญ ลดลงครึ่งหนึ่ง Bitcoin การสร้างลดลงครึ่งหนึ่งทุกๆ 210,000 บล็อก Litecoin รุ่นจะเป็น ลดลงครึ่งหนึ่งทุกๆ 840,000 บล็อก สำหรับผู้ที่กำลังคำนวณ Litecoin มีกำหนดการ ผลิตเหรียญได้ประมาณ 4 เท่าของ Bitcoin หรือประมาณ 84 ล้าน litecoins

Fairness

Fairness

We have come up with a plan that we believe is most fair. Some previous coins were released without Windows binaries or without source code; we consider this as unfair as it is unsafe.

We released the source code and binaries ahead of time... 3 days before launch. People had time to compile the source and run the client on their machines against the Litecoin testnet. So people were able to make sure everything was working well before the launch. We also had a poll so that people can vote for a launch time that best suits them. At the time of the launch (Oct 12 03:00 GMT), we released the genesis hash and everyone started mining at the same time. All it took was a simple change in the config file in order to mine the real coin instead of the testnet coin.

51% attack

The problem with alternative currencies is that the network hashrate is likely low when the coin starts up, making an easy target for any potential 51% attacker. With a little hope, a little prayer, a lot of hype, and due to our innovative release, there was a large hashrate from minute one. We believe this deterred any attackers from targeting this chain. As expected, there was a lot of natural orphaning of blocks, due to having so many people mining on the chain at once. With block locking at every difficulty change, we were able to avoid any attacks from succeeding. (if there were any)

Source code

The source code is here: https://github.com/litecoin-project/litecoin

This is based on the latest Bitcoin code. You can either build the daemon version (litecoind) or you can build the gui version (Litecoin QT). See the build docs.

Similar to Bitcoin, you may want to create a litecoin.conf file here: Windows: C:\Documents and Settings\\Application Data\Litecoin Win7: C:\Users\\AppData\Roaming\Litecoin Mac: ~/Library/Application Support/Litecoin Unix: ~/.litecoin

Port is 9333. Open if on your router if you know how. This will allow you to have more than 8 connections. And default RPC port is 9332. This is the port miners will use to communicate with your client/daemon.

Sample litecoin.conf file: Code: server=1 rpcuser=user

rpcpassword=password

Change this if you want to use a different rpc port for mining

rpcport=9332

Only uncomment this if you are running litecoind and want to run Litecoin in the

background (not Litecoin QT)

daemon=1

See also Bitcoin white paper

ความเป็นธรรม

เราได้มีแผนที่เราเชื่อว่ายุติธรรมที่สุด เหรียญบางรุ่นก่อนหน้านี้มี เผยแพร่โดยไม่มีไบนารีของ Windows หรือไม่มีซอร์สโค้ด เราถือว่าสิ่งนี้ไม่ยุติธรรม มันไม่ปลอดภัย

เราเผยแพร่ซอร์สโค้ดและไบนารีล่วงหน้า... 3 วันก่อนเปิดตัว ผู้คน มีเวลารวบรวมแหล่งที่มาและรันไคลเอนต์บนเครื่องของตนกับ Litecoin เทสเน็ต ดังนั้นผู้คนจึงสามารถตรวจสอบให้แน่ใจว่าทุกอย่างทำงานได้ดีก่อนที่จะเกิด เปิดตัว นอกจากนี้เรายังมีการสำรวจความคิดเห็นเพื่อให้ผู้คนสามารถโหวตเวลาเปิดตัวที่เหมาะสมที่สุดได้ พวกเขา ในช่วงเวลาของการเปิดตัว (12 ต.ค. 03:00 GMT) เราได้เผยแพร่ปฐมกาล hash และ ทุกคนเริ่มขุดในเวลาเดียวกัน สิ่งที่ต้องทำก็แค่เปลี่ยนการกำหนดค่าง่ายๆ ไฟล์เพื่อขุดเหรียญจริงแทนเหรียญ testnet

โจมตี 51%

ปัญหาเกี่ยวกับสกุลเงินทางเลือกคือเครือข่าย hashrate น่าจะต่ำเมื่อใด เหรียญเริ่มทำงาน ทำให้ตกเป็นเป้าหมายได้ง่ายสำหรับผู้โจมตี 51% ด้วยเพียงเล็กน้อย ความหวัง การอธิษฐานเล็กๆ น้อยๆ การโฆษณาเกินจริง และเนื่องจากการเปิดตัวเชิงสร้างสรรค์ของเรา จึงมีจำนวนมาก hashอัตราตั้งแต่นาทีที่หนึ่ง เราเชื่อว่าสิ่งนี้จะขัดขวางไม่ให้ผู้โจมตีกำหนดเป้าหมายสิ่งนี้ได้ โซ่ ตามที่คาดไว้ มีบล็อกกำพร้าตามธรรมชาติมากมายเนื่องจากการทำเช่นนั้น หลายคนทำการขุดบนโซ่พร้อมกัน ด้วยการล็อคบล็อกทุกครั้งที่เปลี่ยนความยากลำบาก เราสามารถหลีกเลี่ยงการโจมตีใด ๆ ที่ไม่ประสบความสำเร็จ (ถ้ามี)

ซอร์สโค้ด

ซอร์สโค้ดอยู่ที่นี่: https://github.com/litecoin-project/litecoin

ข้อมูลนี้อิงตามโค้ด Bitcoin ล่าสุด คุณสามารถสร้างเวอร์ชัน daemon ได้ (litecoind) หรือคุณสามารถสร้างเวอร์ชัน gui (Litecoin QT) ดูเอกสารประกอบ

เช่นเดียวกับ Bitcoin คุณอาจต้องการสร้างไฟล์ litecoin.conf ที่นี่: Windows: C:\Documents and Settings\<ชื่อผู้ใช้>\Application Data\Litecoin Win7: C:\Users\<ชื่อผู้ใช้>\AppData\Roaming\Litecoin Mac: ~/ไลบรารี/การสนับสนุนแอปพลิเคชัน/Litecoin ยูนิกซ์: ~/.litecoin

พอร์ตคือ 9333 เปิดหากอยู่บนเราเตอร์ของคุณหากคุณรู้วิธี ซึ่งจะช่วยให้คุณมีมากขึ้น การเชื่อมต่อมากกว่า 8 รายการ และพอร์ต RPC เริ่มต้นคือ 9332 นี่คือพอร์ตที่นักขุดจะใช้เพื่อสื่อสารกับคุณ ลูกค้า/เดมอน

ตัวอย่างไฟล์ litecoin.conf: รหัส: เซิร์ฟเวอร์=1 rpcuser=ผู้ใช้

rpcpassword=รหัสผ่าน

เปลี่ยนสิ่งนี้หากคุณต้องการใช้พอร์ต rpc อื่นสำหรับการขุด

rpcport=9332

เฉพาะการยกเลิกความคิดเห็นนี้หากคุณใช้งาน litecoind และต้องการเรียกใช้ Litecoin ใน

พื้นหลัง (ไม่ใช่ Litecoin QT)

ภูต=1

ดูเพิ่มเติมที่ Bitcoin เอกสารไวท์เปเปอร์