Specify coding style, other guidelines in README #157
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
Epic
good first issue
hacktoberfest
hard fork
help wanted
icebox
Invalid
level: 0
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
soft fork
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
work in progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbrycrd#157
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We should probably adopt the same coding style as adopted in Bitcoin Core
https://github.com/bitcoin/bitcoin/blob/master/doc/developer-notes.md
Additional notes:
Avoid changing components in Bitcoin Core unless it is absolutely necessary (basically if the codes does not have anything to do with the claimtrie, it is part of Bitcoin Core although there are exceptions such as the POW algorithm, reward schedule, various chain params, etc..). This is to make merges from Bitcoin Core as easy as possible.
Useful script:
run this in the base lbrycrd folder for the clang format diff:
git diff -U0 HEAD~1.. | ./contrib/devtools/clang-format-diff.py -p1 -i -v
implemented in https://github.com/lbryio/lbrycrd/pull/163 and https://github.com/lbryio/lbrycrd/pull/155