-
Notifications
You must be signed in to change notification settings - Fork 0
Once you have cloned the source directory and installed Rust, just use cargo and copy the resulting binary:
cargo build --release
- On Windows:
copy target/release/parity C:/Windows
- On Mac/Linux:
cp -f target/release/parity /usr/local/bin
Simply follow the instructions above to build & install. The new version will replace the old. Nothing additional is needed.
See the documentation for docker build for ARM.
Make sure you have set up your 64-bit variables in the build shell before issuing cargo build
:
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat"
First make sure you have the cross-client consensus tests installed:
git submodule init
git submodule update
Then you just run ./test.sh
. You can run individual tests with cargo test -p <package-name>
.
Since Parity 1.2 state-trie pruning is enabled by default.
Transaction tracing, available in Parity 1.1 and above, enables all CALL
/CREATE
information (i.e. "internal transactions") to be efficiently searched and filtered. More information can be found on the dedicated Wiki page.
In Windows, the $HOME
parameter is equivalent to C:\Users\{CurrentUser}
. Parity's local files live in $HOME/.parity
making it C:\Users\{CurrentUser}\.parity
.
You can just export it to a file:
parity export $HOME/ethereum-chain-backup.rlp
Just use import
:
parity import $HOME/ethereum-chain-backup.rlp
It's only available on version 1.2 and above. Check parity --version
to make sure you're not on an older version.
See Importing a Chain from Geth.
They get imported automatically.
Simply copy it into your $HOME/.ethereum/keystore
directory. Parity will import all keys found there.
As a safeguard against a certain type of attack, Parity requires you to use a special content type. Just add -H "Content-Type: application/json"
to your curl
command.
When I start Parity with the homestead_test.json
I get a 0 block chain, but loading ethminer
never mines a block.
homestead_test.json
is a file meant for testing on a chain very similar to the Homestead chain. As such it is of equivalent (substantial) difficulty to mine on it. Rather what you need is something of minimal mining difficulty, like Morden. See more instructions here.
Your gas price is probably too low. Try increasing the gas price to 20Gwei by appending , gasPrice: 20000000000
into your transaction spec or sendTransaction
options.
You're probably trying to send from a locked account. Ensure you use the --unlock
(to specify which account(s) to unlock) and --password
(to pass in the file contain any passwords needed to unlock those acocunts) so that the account(s) from which you're sending the transaction are unlocked.
Parity does not (yet) bother distinguishing keystores between the different networks. To avoid potential cross-network transaction-replay attacks, ensure all private networks have a reasonably high number for the accountStartNonce
parameter. Morden has the value of "0x0100000"
, which is considered safe.
Note, the security of --unlock
for an active mainnet account is unchanged, regardless of which network you are on. You are heavily discouraged from ever using --unlock
and instead use the Secure Transaction Signer.
- [With Mist](Using parity with mist)
- For Mining
- [For Private Chains](Private Chains)
- [For PoA Chains](Proof of Authority Chains)
- [Coming from Geth](Importing a chain from Geth)
- Backing-up & Restoring
- Ethereum Classic