electrum-personal-server

Maximally lightweight electrum server for a single user
git clone https://git.parazyd.org/electrum-personal-server
Log | Files | Refs | README

commit 9d47f1d2a8726353c86960066d34e34a4d61e505
parent 1ae6ba9f60fdbe19af779ec419def2f01d2b5618
Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date:   Mon,  2 Dec 2019 21:50:24 +0000

Add text/links to dev notes for maintainablility

Diffstat:
Mdocs/developer-notes.md | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/docs/developer-notes.md b/docs/developer-notes.md @@ -22,6 +22,22 @@ source directory, just use `.`. This installs the scripts in the usual places, but imports the package from the source directory. This way, any changes you make are immediately visible. +## Maintainable code + +Read the article [How To Write Unmaintainable Code](https://github.com/Droogans/unmaintainable-code/blob/master/README.md) and do the opposite of what it says. + +## Commits + +Commits should be [atomic](https://en.wikipedia.org/wiki/Atomic_commit#Atomic_commit_convention) and diffs should be easy to read. + +Commit messages should be verbose by default consisting of a short subject line +(50 chars max), a blank line and detailed explanatory text as separate +paragraph(s), unless the title alone is self-explanatory (like "Corrected typo +in server.py") in which case a single title line is sufficient. Commit messages +should be helpful to people reading your code in the future, so explain the +reasoning for your decisions. Further explanation +[here](https://chris.beams.io/posts/git-commit/). + ## Testing Electrum Personal Server also works on [testnet](https://en.bitcoin.it/wiki/Testnet)