Both the developer guide and developer reference under <a href="https:&#x2F;&#x2F;bitcoin.org&#x2F;en&#x2F;developer-documentation" rel="nofollow">https:&#x2F;&#x2F;bitcoin.org&#x2F;en&#x2F;developer-documentation</a>. Deep reading but you will really understand the subject afterwards.