Alice is a Bitcoinj variant that provides additional functionality:
- support for arbitrary HD paths (BIP44 etc)
The intention is after proving the viability of the code that the changes will be pushed upstream to the main Bitcoinj so that the code can be used by others.
Alice tracks the upstream Bitcoinj as closely as possible so the patching process is as follows:
- Clone Alice locally
git clone https://github.com/bitcoin-solutions/bitcoinj-alice
- Add a remote repo
upstream
to link it to Bitcoinj
git remote add upstream https://github.com/bitcoinj/bitcoinj.git
- Fetch all the branches of that remote into remote-tracking branches, such as upstream/master:
git fetch upstream
- Switch to the
master
branch (Bitcoinj uses it as the equivalent ofdevelop
in Git Flow process)
git checkout master
- Rewrite
master
so that any commits of yours that aren't already inupstream/master
are replayed over the upstream changes:
git rebase upstream/master
- Force push your local changes up to
origin/master
git push -f origin master