Moving averages allow you to visualise the price action for a financial instrument over a period of time. It’s widely used in technical analysis. We’ll use PHP and the Trader extension to leverage Exponential Moving Averages (EMAs) to detect cryptocurrency market trends.
- Home
- Crypto
A 51% attack occurs when an attacker (or group) controls more than half of the network. 51% attacks are also referred to as majority attacks. With Bitcoin and other proof-of-work currencies, controlling the network means controlling the hash rate or computing power.
Consensus algorithms are paramount to the blockchain: cryptocurrency transactions need to be verified by a decentralised, trustless network of nodes. Consensus means that the nodes on the network agree on the same state of the blockchain.