## 交易的数据结构
交易的数据结构定义在core.types.transaction.go中,结构如下:
```
type Transaction struct {
data txdata
// caches
hash atomic.Value
size atomic.Value
from atomic.Value
}
```
交易的结构体中只有一个data字段,是txdata类型的。其他的hash,size,from都是缓存。
txdata结构体定义如下:
```
type txdata struct {
AccountNonce uint64 `json:"nonce" gencodec:"required"`
Price *big.Int `json:"