Skip to content

Transactions

c-darwin edited this page Dec 13, 2015 · 2 revisions

Example of the structure the transaction new_promised_amount

Field Description size
TYPE Transaction 1 byte
TIME transaction time 4 bytes
USER_ID ID of the user who created the transaction 5 bytes
CURRENCY_ID ID currencies 1-3 bytes
AMOUNT Size promised amount 1-12 bytes
VIDEO_TYPE youtube, vimeo, youku, null 4-7 bytes
VIDEO_URL_ID ID with video hosting 5-32 bytes
PAYMENT_SYSTEMS_IDS ID payment systems 1-24 bytes
SIGN 1 to 3 signatures (TYPE, TIME, USER_ID, CURRENCY_ID, AMOUNT, VIDEO_TYPE, VIDEO_URL_ID, PAYMENT_SYSTEMS_IDS) from the user USER_ID from 128 to 4096 bytes

Next dismantled transactions by type. Each transaction has a header (TYPE, TIME, USER_ID) and signature - SIGN

Table of Contents

votes_promised_amount

Miner’s vote. For or against the miner to add promised amount.

  • promised_amount_id
  • result
  • comment

votes_node_new_miner

Node’s vote for miner. A node downloads miner’s photo. If hashes are equal the node puts 1. If the file is too large or the hashes are not equal the node puts 0.

  • vote_id
  • result

votes_miner

The miner votes for candidate to become miner or not.

  • vote_id
  • result
  • comment

new_user

Miner makes new account.

  • public_key

new_miner

The user sends information about him/herself.

  • race
  • country
  • latitude
  • longitude
  • host
  • face_coords
  • profile_coords
  • face_hash
  • profile_hash
  • video_type
  • video_url_id
  • node_public_key

new_promised_amount

New promised amount

  • currency_id
  • amount
  • video_type
  • video_url_id
  • payment_systems_ids

change_promised_amount

Changing the promised amount

  • promised_amount_id
  • amount

new_forex_order

New order for intrasystem currency exchange (DUSD, DRUB etc.). It must not be confounded with the cash request out.

  • sell_currency_id
  • sell_rate
  • amount
  • buy_currency_id
  • commission

del_forex_order

Order disposal. Commission, which was charged during the order creation, goes to the node (block generator) . There is no commission repayment.

  • order_id

new_max_other_currencies

This one is generated by the node, which generates a block. The amount of currencies which can be mined with this currencies.

  • new_max_other_currencies

change_geolocation

Change the location of the miners,

  • latitude
  • longitude
  • country

del_promised_amount

Removing the promised amount

  • promised_amount_id

Send_dc

Sending coins to another user or Miner

  • to_user_id
  • currency_id
  • amount
  • commission
  • comment

cash_request_out

Send a request for exchange of DC for cash

  • to_user_id
  • amount
  • comment
  • currency_id
  • hash_code

cash_request_in

Response to a request cash_request_out

  • cash_request_id
  • code

votes_complex

Vote in the parameters of each currency and for the size of referral%

  • json_data

change_primary_key

Change praymari key

  • bin_public_keys

change_node_key

Shift key node. May be signed as maynerskim praymari key and nodovskim key.

  • new_node_public_key

for_repaid_fix

If the user has a status for_repaid, and at this time will be reduced max_promised_amount to less than the sum of the statuses promised_amount mining and repaid this user, it will be impossible to send a request to this user to cash_request_out in this currency, and it means - the status of the account will not be removed for_repaid .

admin_1block

The first block

  • data

admin_ban_miners

Admin takes miners in users. Available only when the data were maynernov complaint. Limit - no more than 1,000 people per day.

  • users_ids

admin_variables

variables

  • variables

admin_spots

Data that is used to search for clones

  • example_spots
  • segments
  • tolerances
  • compatibility

admin_unban_miners

Translates demoted back to the miners miners

  • users_ids

admin_message

Short message that is displayed in the interface

  • message
  • currency_list

abuses

Complaints about the miners

  • abuses

new_holidays

Miner decided to go on vacation. At this time, he can not come to his requests promised amount, but do not grow and DC.

  • start_time
  • end_time

actualization_promised_amounts

Actualization of the promised amount. Need for a miner who did not satisfy the incoming request, could actualize the promised amount, so that they become integrated into a system-wide statistics

mining

Translation namaynennyh DC on the wallet

  • promised_amount_id
  • amount

new_miner_update

Update the block number and photo_block_id count miners photo_max_miner_id, to get a new set of miners, who must save the photo at

new_max_promised_amounts

The new maximum value for the promised amounts

  • new_max_promised_amounts

new_pct

New interest for miners and users

  • new_pct

admin_add_currency

The new currency

  • currency_name
  • currency_full_name
  • max_promised_amount
  • max_other_currencies

admin_new_version

Fill the new software version

  • soft_type
  • version
  • file
  • format

admin_new_version_alert

Notification that a new version of software is flooded and you need to upgrade

  • soft_type
  • version

message_to_admin

Message from the admin user

  • encrypted_message

admin_answer

Posted by admin user

  • to_user_id
  • encrypted_message

admin_blog

Big in terms of a message from admin

  • lng
  • title
  • message

change_host

Changing host miner

  • host

change_commission

The Commission, which takes a miner with translations and with the creation of forex orders

  • commission

new_reduction

Reduction in number of DC this currency

  • currency_id
  • pct
  • reduction_type

new_cf_project

New kraudfading project

  • currency_id
  • amount
  • end_time
  • latitude
  • longitude
  • category_id
  • project_currency_name

cf_project_data

Changing or adding a description for the project

  • project_id
  • lang_id
  • blurb_img
  • head_img
  • description_img
  • picture
  • video_type
  • video_url_id
  • news_img
  • links
  • hide '

del_cf_funding

Cancel the project financing

  • funding_id

del_cf_project

Deleting a Project

  • project_id

cf_comment

Comments on the draft. Baker can write only or by the project

  • project_id
  • lang_id
  • comment

cf_send_dc

Sending coins in kraudfanding project

  • project_id
  • amount
  • commission
  • comment

cf_project_change_category

Changing the category for a project

  • project_id
  • category_id

user_avatar

Changing nickname and avatar of the user. Basically I need to Crowdfunding

  • name
  • avatar

new_credit

The borrower makes a loan in favor of to_user_id, under which the creditor will be deducted pct percent of total revenues in currency_id at the expense of the user

  • to_user_id
  • amount
  • currency_id
  • pct

change_creditor

The lender transfers the loan to another user

  • to_user_id
  • credit_id

del_credit

The lender removes loan

  • credit_id

repayment_credit

Hand mortgage payments

  • credit_id
  • amount

change_credit_part

Change in% of incoming funds, which will not be used for repayment of loans. If you already have credit, you can only reduce

  • pct

new_admin

Over 50% of miners have chosen a new administrator

  • admin_user_id

admin_change_primary_key

At the end of 30 days after the request for the restoration of lost key, the administrator can change the key of the user

  • for_user_id
  • public_key

change_key_active

The user enables or cancels the authorization to change its key admin

  • secret

change_key_close

The user cancels the request to replace the key

change_key_request

The user sends a request to another account to gain access to your account, the key to which he lost

  • to_user_id

change_arbitrator_conditions

The user decided to become a referee or acting referee changes Commission

  • conditions
  • url

change_seller_hold_back

Seller change% and the number of days for new deals

  • arbitration_days_refund
  • hold_back_pct

change_arbitrator_list

Buyer or seller have a list of arbitrators, trusts

  • arbitration_trust_list

money_back_request

The buyer wants Money-back

  • order_id
  • arbitrator0_enc_text
  • arbitrator1_enc_text
  • arbitrator2_enc_text
  • arbitrator3_enc_text
  • arbitrator4_enc_text
  • seller_enc_text

money_back

Shop voluntarily makes Money-back or the referee makes manibek

  • order_id
  • amount

change_money_back_time

Arbitrator increases the Money-back in time to understand the situation

  • order_id
  • add_time

change_ca

The user changes the url CAs, which stores its private keys

  • ca1
  • ca2
  • ca3

See. Also

Clone this wiki locally