How does the blockchain network complete a transaction?