1) Does hash power refers to mining nodes only?
Exactly. Other nodes just make sure everything's OK, or they don't relay it.
2) We don't know how many nodes there are on the bitcoin network, correct? How do we count them?
We can only count public nodes, but still, there are nonlistening nodes, nodes on the same IP, etc. So it not 100% accurate.
3) Would we need to know [2] in order to figure out what the actual hashing power of the network is?
Nope. We can calculate the total hashpower in two ways:
1) Visit each pool's website and add the hashing power. This method requires trust. On the contrary, it's accurate in practice.
2) Make an estimation using the network difficulty and the time between blocks. It's not very accurate.
4) What are the units of hashing power?
- 1: Hash/second: H/s <---Hand-scale
- 1000000: Megahash/second: MH/s
- 1000000000: Gigahash/second: GH/s
- 1000000000000: Terahash/second: TH/s <---ASIC-scale
- 1000000000000000: Petahash/second: PH/s
- 1000000000000000000: Exahash/second: EH/s <---World-scale
how do we count the listening nodes practically ? What if we have nodes that are asleep and suddenly wake up for a massive attack ? – peter – 2018-07-13T14:53:19.160
By sending them requests. They can't do anything bad, they are not miners and have limited capabilities. – MCCCS – 2018-07-13T17:05:57.690
Shouldn't Megahash/second be 1000000? – Bolton Bailey – 2019-02-23T04:37:03.997
1@BoltonBailey Sorry, updated it. – MCCCS – 2019-02-23T05:54:54.263