Questions tagged [parity]

Parity is an Ethereum client, written from the ground-up for correctness-verifiability, modularization, low-footprint, and high-performance. To this end, it utilizes the Rust language, a hybrid imperative/object-orientated/functional language with an emphasis on efficiency.

Filter by
Sorted by
Tagged with
1
vote
0answers
307 views

How to get transaction hash at time of invoking function?

I have a function as follows: function setEnergy(address dev, uint256 energy) public returns (bool) { require(dev != address(0)); amount[dev].energyValue = amount[dev].energyValue + energy; ...
1
vote
1answer
50 views

I just want to query Parity what setup should I use?

I want to run javascript on node locally against Web3. I require a minimal amount of information security and I just want it to work. I tried snap run parity --light and it is slow because it still ...
0
votes
1answer
519 views

Parity Syncing Forever? 1 block per second ???? is this the future of Blockchain?

trying to sync parity wallet from last 30 days its taking forever to sync to the current Block Upto 4.4 Million blocks it took like 2-3 days but from then to 4.5 Million its taking like 1 Block/Sec ...
1
vote
1answer
803 views

Parity sync time April 2018 - many days normal?

I am trying to set up an Ethereum node. I have tried with both geth and Parity and they both seem to be taking several days. I am on a high-end system with fiber internet, so I am wondering if this is ...
4
votes
2answers
4k views

How to install Parity on Ubuntu?

I am new in Linux Ubuntu and I want to install Parity UI to add an enode. For this, I need to install Parity on Ubuntu. Is there any commands for this? And where can I download its executable file?
0
votes
1answer
213 views

How to add an enode with Ubuntu and Parity UI?

I have a problem of parity syncing and some one suggest me to use an enode as follows : enode://...
0
votes
1answer
113 views

Invalid type: sequence, expected a string for key 'rpc.cors'

Trying to run parity using the configuration file node.toml file $ parity --config /data/parity/node.toml Loading config file from /data/parity/node.toml You might have supplied invalid parameters in ...
3
votes
2answers
58 views

Why wouldn't EIP 999 require altering every subsequent block hash?

EIP 999 proposed to update parity's walletLibrary contract. Doesn't altering the bytecode also mean altering the blockhash, in which case, due to merkel chaining, don't all subsequent block-hashes ...
4
votes
3answers
618 views

How to sign a transaction in Rust

Given a private key, I would like to sign a transaction offline, so it can be sent to a node or Infura without unlocking an account first. I can find many examples in javascript using ethereumjs-tx ...
7
votes
2answers
263 views

How does reputation work in the Ethereum P2P network?

Nodes in the Ethereum P2P network assign their peers reputation in order to keep track of how well they behaved in the past and evaluate whether it would be preferable to disconnect from them. What ...
0
votes
1answer
109 views

.toml stream did not contain valid UTF-8

While trying to configure parity using the toml file (Tom's Obvious, Minimal Language), I stumbled on this error - $ parity --config /data/parity/node.toml Loading config file from /data/parity/node....
1
vote
0answers
298 views

How to generate a empty block in dev chain on parity? like dev.period in geth?

I use config like this: [parity] mode="active" chain = "dev" base_path = "./data" db_path = "./data/chains" keys_path = "./data/keys" identity = "" light = false [rpc] disable = false port = 8545 ...
3
votes
2answers
545 views

What does chain foundation means in parity? What's the difference between mainnet and foundation?

the parity --help has description below: --chain=[CHAIN] Specify the blockchain type. CHAIN may be either a JSON chain specification file or olympic, frontier, homestead, mainnet, ...
2
votes
3answers
429 views

Want to run a local fork of Ropsten

I would like to run a local fork of Ropsten to interact with some of the smart contracts without having to fill up from the tap. My plan was to start a light parity node as follows: parity --chain ...
5
votes
1answer
3k views

How many nodes use Parity vs Geth?

I saw a lot of code examples use geth but someone said to me parity is now even more popular than geth. Are there any statistics about how the nodes for Ethereum are generated - either using geth or ...
0
votes
1answer
65 views

Does getPastLogs require arvhived parity node?

Talking about parity here: --pruning=[METHOD] Configure pruning of the state/storage trie. METHOD may be one of auto, archive, fast: archive - keep all state trie data. No pruning. fast - ...
0
votes
1answer
40 views

Has someone an example string to connect using parity?

I have a geth connection as follows - geth --datadir ~/blockchain/mybc1 --rpc --rpcaddr "localhost" --rpcport 8545 --unlock "0x0c12901e1ec7f80763cd433e8eca0c837d11a0c1" --rpc --networkid 1234 --...
2
votes
0answers
138 views

How can I connect to the local Rocksdb instance used by my parity node?

I want to see everyones balances, and eventually try to create a realtime visualisation of the state. If I have a node with 10 GB of disk space used by the db, I understand this is Rocksdb taking up ...
0
votes
1answer
37 views

What are the pointers for moving Ethereum into production for a private blockchain?

I am moving an Ethereum blockchain into production and I know many cloud services exist, including BaaS from Microsoft, AWS, Digital Ocean, and Google cloud services. Is there any criteria from ...
0
votes
1answer
63 views

Fast access of any given transaction in the blockchain

That is a conceptual question that I am asking here. We are trying to developp an application to securely store the hashes of some files in the blockchain. Everything is automated (taking a file as ...
1
vote
1answer
512 views

Request has been rejected because of queue limit

I'm trying to deploy a simple smart contract to my playground on parity/Etherium. I finally managed to run authority and member nodes and I have written code that calls smart contract method. However, ...
2
votes
0answers
45 views

Parity node0: generate_seal: FAIL: Accounts secret key unavailable

I've followed the PoA tutorial and the two nodes seem to be communicating but node0 keeps on logging this error message: 2018-04-06 17:22:10 generate_seal: FAIL: Accounts secret key unavailable. ...
3
votes
1answer
373 views

geth/parity PoA consensus algorithms - did someone try to measure the performance?

PoA consensus algorithms are an acceptable choice in public/private permissioned networks. [Q]: Did someone try to setup a benchmark for measuring the performance of existing PoA implementations in ...
0
votes
1answer
70 views

How to get overall transaction count of the entire network

I'm running small etherium network on two parity clusters which have no internet connection so etherscan is a no-way. I wonder if it's possible to get overall transaction count via JSON RPC or ...
5
votes
0answers
188 views

Geth vs Parity Transaction propagation (1 / sqrt(n))

Is there a reason that geth propagates new txs to all peers but parity only propagates txs to 1/sqrt(n) (on average) peers? I see a comment in geth to the effect of //FIXME include this again: peers = ...
1
vote
1answer
76 views

Which node can provide transactions in block 0?

We are building a data-analytics platform for ethereum transactions. I am using both a local Parity node and an Infura Geth node but cannot find the transactions that occurred at block 0. Etherscan ...
1
vote
1answer
435 views

Unlocking Parity Account with web3 fails

I posted a question yesterday but deleted it, since I did things differently. However, the problem remains the same and I really need to get through this: GOAL Automatically connect to Parity ...
1
vote
1answer
1k views

Private Ethereum Blockchain and Parity w/ Proof-of-Authority

Can someone point me in the right direction. I want to set up a private Ethereum network using Parity w/ Proof-of-Authority to avoid mining. I've found an example with Geth, but can't find a good ...
4
votes
2answers
135 views

Calculate how much space can be saved after self-destructing a contract

I want to do some brief analysis to quantify how much one could free when self-destructing a contract. How could I calculate how much space can nodes save when selfdestructing a given contract? I ...
1
vote
0answers
48 views

Parity SMS Verification failed

I have tried to verify my account by SMS method so I can request Kovan ethers. I have followed this video https://youtu.be/99UucFzYCRc. Unfortunately someting have messed up (I have changed ...
4
votes
1answer
291 views

Truffle hangs forever with parity with PoA

I'm trying to create a private chain using parity (PoA) and truffle but when I do truffle migrate it hangs forever with the following output: > [ > { > "jsonrpc": "2.0", &...
1
vote
1answer
73 views

Parity Ethereum Public Node Operation not working

Can't get parity --public-node to operate properly over LAN. I am able to connect to the UI from another browser except it endlessly asks for a new signer token and does not let me get past. Is this ...
2
votes
0answers
121 views

(1) Parity: why does syncing fall behind, (2) Why are events missing events because of (1)

Background: I have multiple parity nodes setup on Digital Ocean and AWS and event watchers attached to these nodes. I also have a service to query block numbers and compare versus etherscan's current ...
1
vote
2answers
38 views

Is it really not possible to write a js function that takes address and returns public key?

I find it hard to believe that something like this is not possible, as the use of public/private keys is a major bonus of digital identities. I need to write a Javascript function to take in an ...
3
votes
0answers
176 views

Geth - Events not working/firing

I have an API (expressjs - nodejs) listening for different events from my contract. var web3 = new Web3(new Web3.providers.WebsocketProvider("ws://localhost:8546")); var tokenContract = new web3.eth....
1
vote
1answer
494 views

Parity dev chain automine

How can I enable automine feature of parity? Do I NEED to attach an extra miner? I want to deploy/test my contracts with truffle (ganache is creating problems :/)
0
votes
1answer
72 views

Using SmartContract send ether to multiAddress with single Transaction But it is not getting ether in multiAccount

I have used already generated Contract Address: https://etherscan.io/address/0xb59fdff77a6175dfa4fe7af4281a52f61611eaa2#code And using this I have created below Code: // Include the packages const ...
0
votes
1answer
58 views

Is it possible send from multiaddress using single transaction without contract?

Is it possible send from multiaddress using single transaction without Smart contract? I have read somewhere, using https://wiki.parity.io/JSONRPC-eth-module#eth_signtransaction (signTransaction) you ...
2
votes
0answers
127 views

Can I use eth.subscribe for incoming transactions tracking?

In Parity docs I see the following description of eth_subscribe: Starts a subscription (on WebSockets / IPC / TCP transports) to a particular event. For every event that matches the subscription a ...
1
vote
1answer
820 views

Understanding “eth_estimateGas” results estimating gas

I have been playing around with parity's "eth_estimateGas" call to determine different tokens gas requirements. Generally using this code: let transfer_data = contract.transfer.getData("<...
2
votes
1answer
395 views

Using Smart contract with web3- Not able to send transaction sucessfully

I tried to send ether from multiaddress, for that I have created one contract. Contract is deployed successfully in ropsten testnet. I have started service in background using this command. parity --...
2
votes
1answer
573 views

Load balanced Ethereum nodes

I'm writing an application that will talk to the Ethereum network, I have decided to host my own Parity nodes in the cloud using GCP Kubernetes Engine. I set up 3 node replicas for increased ...
-2
votes
1answer
705 views

How to sent ETH from Parity command line

I was wondering if it is possible to send ETH using the parity command line, without opening the browser and going to the address 127.0.0.1:8080. I want to host my Parity instance on a headless ...
1
vote
1answer
308 views

Contract deploy timeout - web3py & Parity

I'm trying to deploy a contract but it seems like I'm going through a minefield... When I try to deploy the contract I always get timeout error. I wrote the contract on remix, and tried both remix ...
0
votes
1answer
77 views

Parity Kovan shows TX id but 0 balance in Smart Contract

I make this tx: 0x6d5c2CC2e1454B493E4090fA3995226245c8b744 which shows raw tx: { "blockHash": "0xc101da80e396878a572dc3024c5423479e5e45a9c622af5621ad521fe86cd8af", "blockNumber": "6007464", "...
1
vote
0answers
118 views

How force parity on AWS use public IP?

I have few mining parity on docker container in AWS instances. Each AWS instance have private and public IP. When I ask "parity_enode" it return enode address with private IP. I want it use public IP. ...
1
vote
1answer
95 views

How did MyEtherApi manage to disallow some methods (Parity)

I want to launch a public node with RPC enabled, open to others and for me. However, I want to disable the RPC methods that are unsafe to expose to the outside. Looking at MyEtherApi, they have ...
2
votes
2answers
250 views

Is there a way to cap CPU usage in Parity?

I have a non-useless Macbook Air running High Sierra. I've tried using both Mist & Parity, but alarmingly, I've found that both Ethereum clients have no respect for my CPU load when syncing. ...
1
vote
0answers
112 views

Querying transactions per account in Parity

I know geth doesn't provide the functionality of querying transactions of a particular account. But, does Parity provide it? Kind of a javascript function like this: getAllAccountTransactions(...
2
votes
1answer
251 views

Can i delete some old files inside chaindata folder?

I am running geth with fast sync, Can i delete some old files inside chaindata folder so that my ssd will have some empty space or it will create some problems ?

1
4 5
6
7 8
16