Mastering Bitcoin by A. Antonopoulous is a great resource for getting into the nitty-gritty bowels of the blockchain and most cryptos implement a variation of BTC protocol of some kind.
For Ethereum in particular, the same author was writing a book with Gavin Wood. THere is also a good explanations of various ETH and Solidity pitfalls on https://solidity.readthedocs.io/en/v0.4.21/solidity-in-depth.... Cryptozombies.io is a funny place to start ;)