What is the primary function of a 'relay chain' in the Polkadot network architecture?
-
A
To store all transaction history
-
B
To provide shared security and interoperability between parachains
-
C
To manage user wallets and identities
-
D
To execute smart contracts for all connected chains