Most Popular

1500 questions
14
votes
8 answers

Would it be profitable enough to do a Master's degree in blockchain technologies (focused on ethereum above all)?

The end of my university studies is getting closer and closer. I'm sure I want to do a Masters degree, but I have some doubts. About a month ago my university released a Masters degree completely on blockchain (especially Ethereum, although it also…
CPereez19
  • 2,835
  • 13
  • 41
14
votes
2 answers

Why isn't there more concern of Ethereum reaching 1TB? Should we be worried?

I've read previous answers such as that posted by user: eth that highlights some of the EIPs such as 103: Serenity and 105: Sharding. These are more long term solutions but this is an emergent problem as of RIGHT NOW What I'm unaware of is a…
Vignesh Karthikeyan
  • 1,950
  • 1
  • 12
  • 40
14
votes
3 answers

Show gas used in solidity

I want to return the gas used to the user when he uses a payable function. I used tx.gasprice but it always returns 1. How can I get the actual gas used value (not the maximum or user set values, but really the gas used value for the transaction, in…
dkb
  • 723
  • 1
  • 5
  • 20
14
votes
1 answer

Error: web3.toWei is not a function

Using Web3 version 1.0 and getting the following error: web3.toWei is not a function
Muhammad Altabba
  • 2,157
  • 1
  • 15
  • 31
14
votes
3 answers

Is a fully private blockchain network immutable?

I always hear that immutability is one of the great assets of using blockchains in banks. An auditor can come and look at the list of transactions and it will trust them because blockchains are immutable. But consider the scenario where a bank has…
dragosb
  • 2,370
  • 13
  • 23
14
votes
3 answers

how do you know your db is synced in geth?

In order to answer this question there is a need to get the timestamp of when the database is synced with geth. I can think of two ways of doing that : find the 1st occurrence of 1 block in the geth client, usually when syncing it retrieves more…
euri10
  • 4,640
  • 5
  • 24
  • 55
14
votes
2 answers

Why are contracts limited to only the previous 256 block hashes?

Why are contracts limited to only the previous 256 block hashes using the BLOCKHASH opcode (and corresponding functions in Solidity and Serpent)? Why does another contract, such as this, need to be used to get block hashes more than 256 blocks ago? …
eth
  • 85,679
  • 53
  • 285
  • 406
14
votes
1 answer

What are the initial/zero values for different data types in Solidity?

Zero values, as in what would placehold the value when a key in a mapping is not yet assigned.
Kuelf Deez
  • 576
  • 2
  • 7
  • 15
14
votes
1 answer

What Ethereum blockchain explorers exist?

What blockchain explorers exist and What special features do they have? Are they open-source? How reliable are they (approximate uptime in %)? Is there a testnet version?
Tjaden Hess
  • 37,046
  • 10
  • 91
  • 118
14
votes
2 answers

How can I sign a transaction using c#?

I want to create a signed transaction using C#, which will later be used by Nethereum via JSON-RPC to call eth_sendRawTransaction. I have the raw transaction and the private key, now how do I sign the data with the key?
Ori Marron
  • 143
  • 1
  • 5
14
votes
1 answer

arguments of the sha256 function in Solidity

In Solidity, I find that the sha256 function can be used like this a = sha256(uint b, string c, bool d, ......) (the arguments can be a combination of different types, and the other types can also be included.) What does sha256 do with the arguments…
Wang
  • 2,416
  • 4
  • 19
  • 28
14
votes
2 answers

error: Storage location can only be given for array or struct types

Getting the error "Storage location can only be given for array or struct types" in a setup function. The exact line is uint memory _total = 0; I'm confused by the error, because I'm not trying to use storage, I'm trying to use memory.
Akhil F
  • 1,928
  • 3
  • 19
  • 29
14
votes
6 answers

Web3.js : eth.sign() vs eth.accounts.sign() -- producing different signatures?

I'm getting to grips with web3.js and have noticed an unusual issue with signing data. When I sign a string with the web3.eth.sign() method, I am getting a different signature than if I use web3.eth.account.sign(). Note this latter method takes the…
nervous-energy
  • 243
  • 1
  • 2
  • 5
14
votes
8 answers

How to export transactions into a CSV file

Is there a simple way to export all transactions related to a specific account/smartcontract to a CSV or some other plain text format?
Alex
  • 175
  • 1
  • 1
  • 7
14
votes
4 answers

What are the experimental smart contract languages?

Besides Solidity and Serpent, what are the other (experimental) contract programming languages?
J-B
  • 8,941
  • 16
  • 46
  • 77