or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
Tangle-Accelerator Development
tags:
tangle-accelerator
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →HTTP Server
JSON parser
解析 request,並以 JSON 格式 response,使用 cJSON 實做
下列 function 需要 serialization:
Function Overview
core function 皆會使用到
entangled/cclient
,參考到 IOTA cclient 使用指南Core
Should be deprecated
TangleID
send_transfer
dcurl
為了使用 dcurl 進行 PoW 加速,我們需要
實做 attachToTangle 流程
send_transfer
Flowfinalize
transaction_sesrialize_to_flex_trits
IOTA transaction tryte offset
TRINARY_OFFSET
LOWER_BOUND_TRINARY_OFFSET
UPPER_BOUND_TRINARY_OFFSET
Transaction raw trytes
transaction_sesrialize_to_flex_trits
common/model: Transfer
Transfer
3 types of transfer, each one has its own meta data structure:
DATA
VALUE_OUT
VALUE_IN
Transfer Iterator
transfer_iterator_new
transfer_iterator_next
unkown nouns
remainder
in prepare_transfersSend_transfer
Prepare_transfer
bundle
,address
,tag
,obsolete_tag
,timestamp
,current_index
,last_index
message
value
,signature
value
,signature
transfer_iterator_new
, why do we still needbundle_finalize
?Send_trytes
cache server 不能獨立於 tangle-accelerator 的原因