What are the connected peers on Bitcoin?
Bitcoin works on a P2P network. These are the network nodes on which your transaction will be propagated, but not necessarily the nodes that will confirm your transactions. With your own full node even if a transaction or a block violates consensus rules, it will be absolutely rejected, even if all other nodes you are connected to think that it is valid. The mining node is a node that seals the transaction blocks and confirms them. This block will be broadcast to the connected full nodes that will download each blocks and transactions and check them against the Bitcoin consensus rules. Your full node in-turn validates this information, verifies its veracity, and forwards it to other nodes, thereby allowing the transfer of the monetary value from location A to location B.