2022-02-08 16:20:28 -05:00
2022-01-17 12:17:28 +00:00
2022-01-03 12:14:33 +00:00
2021-12-07 15:25:24 +00:00
2022-01-18 14:43:55 +00:00
2021-12-07 15:25:24 +00:00
2022-02-03 15:05:06 +00:00
2022-02-03 15:05:06 +00:00
2022-01-19 11:55:37 +00:00

Upgrading Ethereum

Intro

This is my book about Ethereum 2.0: Ethereum on proof of stake and beyond.

You can read it at upgrading-ethereum.info or at eth2book.info.

It is a work in progress. Currently, the only reasonably complete section is the annotated specification (Part 3). But I thought you might like a glimpse at where it's going. I say more about the plan in the preface.

I am not looking for contributions at this time. That may change in future, but for now I will not be accepting any PRs to src/book.md. Please feel free, however, to raise issues for typos, inaccuracies, omissions, and suggestions. And I'll happily consider PRs for improvements to the CSS or JavaScript.

Licence

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International licence.

Installing

Pre-requisites

Install node, npm, and gatsby-cli. These are my versions:

> node --version
v16.13.2
> npm --version
8.3.1
> gatsby --version
Gatsby CLI version: 4.5.1

gatsby-cli can be installed with,

npm install -g gatsby-cli

You'll also need a working gawk (GNU awk) installed at /usr/bin/gawk so that the build can preprocess the book document.

Building

Clone this repo. cd into it, then:

npm install
gatsby build

Viewing

After building as above, do

gatsby serve

and visit http://localhost:9000 in a web browser.

Instead of building and serving, you can run gatsby develop and point your browser at port 8000. This will not pick up real-time changes to src/book.md and will need to be restarted to pick up changes. It is useful, though, for checking CSS and React changes interactively.

Editing

The entire text for the book is in the src/book.md file. Everything under src/md/pages is auto-generated and any changes there will be lost.

How to

Create a new page

New pages are created by appending HTML comments to headings (first three levels only):

## Heading <!-- /new/page/path -->

Take care to get the white space correct.

Make a page unlinkable

Do this if a page has no content yet. It will appear in the index, but not linkable.

Append a * to the path:

## Heading <!-- /unlinked/page/path* -->
Description
No description provided
Readme 2.1 MiB
Languages
JavaScript 30.3%
HTML 27%
Awk 20.5%
CSS 15%
Python 6.6%
Other 0.6%