Solidity Terms

From rbachwiki
Revision as of 15:54, 21 March 2018 by Bacchas (talk | contribs)
Jump to navigation Jump to search

Mappings

  1. One way hash function.
  2. Cannot loop through a mapping
  3. On Demand Data Structure
  4. Hash key then get results
  5. A hash function is any function that can me bused to map data of arbitrary size to data of fixed size
contract MappingDemo {
struct Person {
 uint id;
 bytes32 name;
 bool isPerson;
}
mapping(address => Person) p;


}